Page 1 of 1
compile error
Posted: Sat Apr 20, 2019 11:29 am
by tolmino
during compilation of fixturemanager.cpp
i have that error:
app.cpp: In member function ‘void App::setLanguage(QString)’:
app.cpp:213:15: error: ‘class QQmlEngine’ has no member named ‘retranslate’
engine()->retranslate();
^~~~~~~~~~~
i'm using opensuse leap 15.0 with qt 5.9.4 and gcc version 7.3.1
Re: compile error
Posted: Sun Apr 21, 2019 2:13 pm
by edogawa
That's a too old Qt5 version, from the Qt5 documentation:
This function was introduced in Qt 5.10.
https://doc.qt.io/qt-5/qqmlengine.html#retranslate
You can try and update your Plasma and Qt5 from the Repositories under
https://download.opensuse.org/repositories/KDE:/
But given that Leap 15.1 is supposed to be released in one month you rather may want to wait or upgrade (or install side by side for dual boot) your OS to current 15.1 beta testing snapshots...
https://download.opensuse.org/distribut ... /15.1/iso/
QA Test results for this build are here:
https://openqa.opensuse.org/tests/overv ... groupid=50
I don't know how your openSUSE and general linux skills are (in case of problems during update/upgrade), so no recommendation from me whether to take the risk or wait for the release.
Re: compile error
Posted: Wed Apr 24, 2019 8:11 am
by tolmino
ok thanks...
i'll compile QT 5.10