Compiling Based on Modified QT Source

• Nov 17, 2019 - 22:16

Hi Everyone,

I'm trying to compile MuseScore based on modified QT source on Mac, but make complains that it can't find qt5.
If I type qmake, it works, and I can compile my own qt projects.
Probably I need to set environment so MuseScore can find it during make, but I'm not sure what it is other than setting the path to qtbase/bin.
Thanks for your help,

Chi


Comments

Hello!

If I understand you correctly, setting PATH to qtbase/bin in Qt source tree is not something that you need. The final goal is to set PATH so that qmake -query command yields values that correspond to Qt installation which you want to build MuseScore against, so first of all you need to build and install the modified Qt itself. After doing that prepend bin folder of your modified Qt installation to PATH (so the correct qmake binary gets invoked if you type qmake -query), and the compilation should go fine. Qt documentation should contain instructions (probably this page) on how to build Qt from source, so you should follow that instruction.

Hope this helps!

Do you still have an unanswered question? Please log in first to post your question.