problem compiling MuseScore
I'm trying to compile MuseScore for the first time on my mac.
I've installed Qt version 5.4, but when I try to compile it claims I need Qt 4.
Is this correct? Do I need to install exactly this version of Qt? Or do I simply need to install Qt 4 along with the newer version 5.4 to satisfy the make file.
Here is the compilation log.
I'd appreciation any clues someone might give me.
Jim
sh-3.2$ make -f Makefile.osx release
make -f Makefile.osx release
mkdir build.release; \
cd build.release; \
cmake -DCMAKE_INSTALL_PREFIX="../applebuild" -DCMAKE_BUILD_TYPE=RELEASE \
.. -G Xcode; \
xcodebuild -project mscore.xcodeproj -target lrelease; \
xcodebuild -project mscore.xcodeproj -configuration Release -target ALL_BUILD; \
mkdir: build.release: File exists
-- The C compiler identification is AppleClang 6.0.0.6000056
-- The CXX compiler identification is AppleClang 6.0.0.6000056
-- Check for working C compiler using: Xcode
-- Check for working C compiler using: Xcode -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Xcode
-- Check for working CXX compiler using: Xcode -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /opt/local/share/cmake-3.0/Modules/FindQt4.cmake:1314 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
build/FindQt5Transitional.cmake:90 (find_package)
CMakeLists.txt:36 (include)
-- Configuring incomplete, errors occurred!
See also "/Users/jimka/MuseScore/build.release/CMakeFiles/CMakeOutput.log".
xcodebuild: error: 'mscore.xcodeproj' does not exist.
xcodebuild: error: 'mscore.xcodeproj' does not exist.
make: *** [release] Error 66
Comments
Found the problem. I had /Users/jimka/Qt/5.3/clang_64/bin in my path, but the installed Qt version was 5.4, not 5.3.
In reply to Found the problem. I had by jim.newton.562
Qt-5.4 got released just today, MuseScore is not yet adapted to it...
In reply to Qt-5.4 got released just by Jojo-Schmitz
Thanks Jojo, is it better if I go back and install Qt 5.3 and use that instead?
In reply to Thanks Jojo, is it better if by jim.newton.562
I've been building MuseScore against Qt 5.4 RC for a few weeks now on Linux, I assume it should be just fine on Mac too. There's a nasty bug regarding PDF export that only affects Windows, but PDF export was already partially broken on Windows in Qt 5.3 anyhow (one bug fixed, another introduced).
In reply to Thanks Jojo, is it better if by jim.newton.562
Probably not need to fall back to 5.3, I just wanted to point out that there may be issues and that the current build process may need some tweaks.