lupdate problems
When running 'make lupdate', besides taking ages on Windows, the following errors/warnings get printed:
- .../MuseScore/libmscore/durationtype.cpp:787: Qualifying with unknown namespace/class ::TDuration
- .../MuseScore/libmscore/mscore.cpp:467: Class 'Ms::MScore' lacks Q_OBJECT macro
- .../MuseScore/mscore/editdrumset.cpp:95: Class 'Ms' lacks Q_OBJECT macro
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:27: Cannot invoke tr() like this
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:27: Class 'Ms' lacks Q_OBJECT macro
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:28: Cannot invoke tr() like this
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:29: Cannot invoke tr() like this
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:39: Cannot invoke tr() like this
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:40: Cannot invoke tr() like this
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:41: Cannot invoke tr() like this
- .../MuseScore/mscore/inspector/inspectorTextLine.cpp:42: Cannot invoke tr() like this
Any idea anyone why that is and how to fix it?
Comments
Hmm, I may have found it out myself: adding a
QObject::
in front of thetr(...)
seems to fix these, all, but the firstSee https://github.com/musescore/MuseScore/pull/3273
Fixed in branch master, commit 264b0386d4
Fix #243656: Warnings/Errors from lupdate
All but one...
Fixed in branch master, commit 09eb2a0f85
Merge pull request #3273 from Jojo-Schmitz/lupdate
Fix #243656: Warnings/Errors from lupdate
Automatically closed -- issue fixed for 2 weeks with no activity.