I have made some significant progress, but I am only able to configure and build Release, not Debug. The CMAKE_GENERATOR problem was because the default CMake Generator for all my kits was nmake, not mingw.  (Manage Kits...) CMakeLists.txt has several places where the %{sourcedir}/build/ is used.  The online documentation says clearly to use build.qtc, which I was using previously.  CMake is failing in one of these places for Debug.  I have set Release to use build, not build.qtc, and things are working.

On 5/10/2018 6:59 AM, Sideways Skullfinger wrote:
In order to sync with the latest master branch, I've upgraded from Qt5.6 to 5.10.1 and from CMake 3.2.2 to 3.11.1.  After various tweaks, including creating a "Manual" CMake instance in the Qt Build & Run options CMake tab, I am now getting this message when attempting to configure the Debug build:

:-1: error: Failed to activate protocol version: "CMAKE_GENERATOR" is set but incompatible with configured generator value.

I cannot find CMAKE_GENERATOR anywhere in CMakeLists.txt.  The red item in the Issues pane does not have a link to a line in any file, so I have no way to know where to fix it.  Is this a problem with using CMake 3.11?  Should I be using 3.10?

I have been able to get CMake to parse the project without errors, but only for Release builds and with other odd circumstances that were not correct.  Qt keeps creating "Imported Kits" and selecting them every time I open it.  I am using Qt Creator 4.6, and I am trying to follow the instructions at musescore.org for configuring it.  I posted an initial message on the Support forum yesterday, but got no response.

Thanks!


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to