Compiling Based on Modified QT Source
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 prependbin
folder of your modified Qt installation to PATH (so the correctqmake
binary gets invoked if you typeqmake -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!