Compilation failed
Building CXX object mscore/CMakeFiles/mscore.dir/propertymenu.cpp.o
/home/kai/MuseScore/mscore/file.cpp: In member function ‘bool Ms::MuseScore::savePng(Ms::Score*, const QString&, bool, bool, double, int, QImage::Format)’:
/home/kai/MuseScore/mscore/file.cpp:2279:19: error: ‘QMarginsF’ was not declared in this scope
QMarginsF margins(trimMargin, trimMargin, trimMargin, trimMargin);
^
/home/kai/MuseScore/mscore/file.cpp:2279:29: error: expected ‘;’ before ‘margins’
QMarginsF margins(trimMargin, trimMargin, trimMargin, trimMargin);
^
/home/kai/MuseScore/mscore/file.cpp:2280:39: error: ‘margins’ was not declared in this scope
r = page->tbbox() + margins;
^
/home/kai/MuseScore/mscore/file.cpp: In member function ‘bool Ms::MuseScore::saveSvg(Ms::Score*, const QString&)’:
/home/kai/MuseScore/mscore/file.cpp:2468:13: error: ‘QMarginsF’ was not declared in this scope
QMarginsF margins(trimMargin, trimMargin, trimMargin, trimMargin);
^
/home/kai/MuseScore/mscore/file.cpp:2468:23: error: expected ‘;’ before ‘margins’
QMarginsF margins(trimMargin, trimMargin, trimMargin, trimMargin);
^
/home/kai/MuseScore/mscore/file.cpp:2469:51: error: ‘margins’ was not declared in this scope
r = score->pages().first()->tbbox() + margins;
^
[ 49%] Building CXX object mscore/CMakeFiles/mscore.dir/bb.cpp.o
make[3]: *** [mscore/CMakeFiles/mscore.dir/file.cpp.o] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Verlasse Verzeichnis '/home/kai/MuseScore/build.release'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Fehler 2
make[2]: Verlasse Verzeichnis '/home/kai/MuseScore/build.release'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/kai/MuseScore/build.release'
make: *** [release] Fehler 2
Version: MuseScore 2.0.0
Revision: 654009a
OS: Linux Mint 17.1 Rebecca
Kernel: 3.13.0
Qt: 5.2.1
Comments
critical is reserved for crashes.
You will need to upgrade to Qt 5.3 or even 5.4
Check http://musescore.org/en/developers-handbook/compilation/compile-instruc…
I just compiled
654009a
with Qt 5.3.1
under Mint17.1 Qiana
BTW how did you installed Rebecca instead of Qiana ? I'm a bit lost in Mint policy for last and next versions....
I think:
17 = Qiana
17.1 = Rebecca
On Rebecca Qt is version 5.2.1
Right?
I compiled revision e690982 succesfully, after this no other revisions will compile.
As mentioned above, you need at least Qt 5.3
So it is by design...
Done! Works with Qt 5.4.0, thanks guys!