Musescore compile on MacOS 10.14 (Qt version 5.12.2)

• Sep 28, 2019 - 07:50

I am trying to compile musescore on MacOS but it is throwing me an error:

CMake Warning at build/FindQt5.cmake:32 (find_package):
By not providing "FindQt5QuickTemplates2.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5QuickTemplates2", but CMake did not find one.

Could not find a package configuration file provided by
"Qt5QuickTemplates2" with any of the following names:

Qt5QuickTemplates2Config.cmake
qt5quicktemplates2-config.cmake

Add the installation prefix of "Qt5QuickTemplates2" to CMAKE_PREFIX_PATH or
set "Qt5QuickTemplates2_DIR" to a directory containing one of the above
files. If "Qt5QuickTemplates2" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:87 (include)

Qmake -v gives me:

QMake version 3.1
Using Qt version 5.12.2 in /Users//Qt/5.12.2/clang_64/lib

The final error is: xcodebuild: error: 'mscore.xcodeproj' does not exist.

Any ideas?


Comments

I'd like to add that the Mac version must be built and tested against Qt 5.9; the product will be built with 5.9, because 5.12 doesn't support MacOS 10.10 and 10.11, which is a business requirement.

Maybe the issue is not in that templates package at all. First, this is a CMake warning and it does not lead the whole build process to be unsuccessful. With Qt 5.9 MuseScore builds successfully with this warning as there is no such package in that version of Qt. Second, Qt 5.12 still should have this package so no such warnings should be printed. Are there perhaps any other possible hints (some other error or warning messages) in CMake or other build scripts output?

In reply to by dmitrio95

It isn't I think I just found the issue:
CMake Error at CMakeLists.txt:489 (MESSAGE):
Error: JACK support requested (BUILD_JACK=ON), but JACK was not found

I have jack installed.... and jackd -V gives me:

jackd version 0.125.0 tmpdir /tmp protocol 25

So it all seems good... any ideas?

By the way, MacOS 10.15 (Catalina) was released yesterday (I'm running in it). I have not tried building MuseScore, but the MS ReleaseCandidate seems to run without problems (so far).

In reply to by Borziborz

So far (less than a day), seems expectably stable and performant. The installation took about an hour, the usual stage-show of auto-reboots and silences. Significantly, the first 15 minutes of it took place "online" (i.e., before the first reboot). The system has to be told to permit MuseScore, or Terminal, for that matter, to be allowed to access user parts of the file system, which is surprising at first. The only real problem i've had so far is the System Preferences applet insisting I "sign up" with iCloud, and the red "notification" tag isn't going away until I do, but I refuse to (I tried going there many years ago and it started removing files from my machine and see no evidence it won't do that again). So the red tag persists.

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