Do you have a different Qt version installed with brew? On my system, to be able to compile MuseScore, I have to do this:
brew unlink qt Otherwise I get the exact same error message for qaccessibleobject.h After compiling MuseScore you can undo this with: brew link qt Am Freitag, 24. April 2015, 16:59:02 schrieb jshou: > I'm trying to compile the 2.0 branch of musescore but having trouble. I'm > following the compilation steps in the development manual. "make -f > Makefile.osx xcode" works fine but when I get to "make -f Makefile.osx > release", I get a lot of errors which seem to be all related to Qt, such as: > > /Users/joshua/Qt/5.4/clang_64/lib/QtGui.framework/Headers/qaccessibleobject. > h:86:37: error: expected > ';' at end of declaration list > QAccessible::State state() const Q_DECL_OVERRIDE; > ^ > ; > > > > In file included from > /Users/joshua/Qt/5.4/clang_64/lib/QtGui.framework/Headers/QtGui:10: > /Users/joshua/Qt/5.4/clang_64/lib/QtGui.framework/Headers/qiconengine.h:77:2 > 4: error: token is not a > valid binary operator in a preprocessor subexpression > #if QT_DEPRECATED_SINCE(5, 0) > ~~~~~~~~~~~~~~~~~~~^ > > "qmake --version" returns: > > QMake version 3.0 > Using Qt version 5.4.1 in /Users/joshua/Qt/5.4/clang_64/lib > > so I think I'm using the correct version of Qt. "gcc --version" returns: > > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) > Target: x86_64-apple-darwin13.4.0 > Thread model: posix > > Am I missing something here? > > Thanks! > > > > -- > View this message in context: > http://dev-list.musescore.org/Errors-compiling-on-OSX-10-9-5-tp7579208.html > Sent from the MuseScore Developer mailing list archive at Nabble.com. > > ---------------------------------------------------------------------------- > -- One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Mscore-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mscore-developer ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Mscore-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mscore-developer
