Compilation failed

• Dec 16, 2014 - 09:38
Type
Functional
Severity
S4 - Minor
Status
by design
Project


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

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.