It used to be an extra step to add this, in QtCreator, and there is the place 
to remove it. 

---- Sideways Skullfinger schrieb ----

>Where do I do that?  I don't find it in CMakesLists.txt, or anywhere 
>else in the project.
>Qt isn't displaying a list of things in the Build pane because it fails 
>to configure.  I don't see it in the Build list for my Release config.
>
>On 5/10/2018 8:48 PM, Joachim Schmitz wrote:
>>
>> I don't think this relates to the cmake version.
>> You need to remove the CMAKE_TOOLCHAIN_FILE from your configuration
>>
>>
>>
>> ---- Sideways Skullfinger schrieb ----
>>
>> CMakeDetermineSystem.cmake <http://CMakeDetermineSystem.cmake:100> is 
>> a CMake shared file, and there must be a difference here with my 
>> installed CMake 3.11 versus 3.10.  Another version I jumped.
>>
>> I'll comment out this if block in that file and see if everything else 
>> works.  Otherwise I'll regress to CMake 3.10.
>>
>> On 5/10/2018 8:37 PM, Joachim Schmitz wrote:
>>>
>>> This file does not exist anymore in the master branch.
>>>
>>>
>>>
>>> ---- Sideways Skullfinger schrieb ----
>>>
>>> Qt 5.9.5 <tel:5.9.5> is installed.  I have edited my Qt.bat 
>>> <http://Qt.bat> file.  I can configure a
>>> Release build, but Debug still gives me this error:
>>>
>>> C:\Program
>>> Files\CMake\share\cmake-3.11\Modules\CMakeDetermineSystem.cmake:100 
>>> <http://CMakeDetermineSystem.cmake:100>:
>>> error: Could not find toolchain file: build/mingw32.mingw.cmake 
>>> <http://mingw32.mingw.cmake>
>>> CMakeLists.txt:20 <http://CMakeLists.txt:20> (project)
>>>
>>> This is the relevant if() block in CMakeDetermineSystem.cmake 
>>> <http://CMakeDetermineSystem.cmake>, lines 97-102:
>>>
>>> # if a toolchain file is used, the user wants to cross compile.
>>> # in this case read the toolchain file and keep the CMAKE_HOST_SYSTEM_*
>>> # variables around so they can be used in CMakeLists.txt 
>>> <http://CMakeLists.txt>.
>>> # In all other cases, the host and target platform are the same.
>>> if(CMAKE_TOOLCHAIN_FILE)
>>>   # at first try to load it as path relative to the directory from
>>> which cmake has been run
>>>   include("${CMAKE_BINARY_DIR}/${CMAKE_TOOLCHAIN_FILE}" OPTIONAL
>>> RESULT_VARIABLE _INCLUDED_TOOLCHAIN_FILE)
>>>   if(NOT _INCLUDED_TOOLCHAIN_FILE)
>>>      # if the file isn't found there, check the default locations
>>>      include("${CMAKE_TOOLCHAIN_FILE}" OPTIONAL RESULT_VARIABLE
>>> _INCLUDED_TOOLCHAIN_FILE)
>>>   endif()
>>>
>>>   if(_INCLUDED_TOOLCHAIN_FILE)
>>>     set(CMAKE_TOOLCHAIN_FILE "${_INCLUDED_TOOLCHAIN_FILE}" CACHE
>>> FILEPATH "The CMake toolchain file" FORCE)
>>>   else()
>>>     message(FATAL_ERROR "Could not find toolchain file:
>>> ${CMAKE_TOOLCHAIN_FILE}")
>>>     set(CMAKE_TOOLCHAIN_FILE "NOTFOUND" CACHE FILEPATH "The CMake
>>> toolchain file" FORCE)
>>>   endif()
>>> endif()
>>>
>>> I am not proficient in CMake, and have not been able to see why this is
>>> happening in Debug and not Release.  AFAIK the only difference between
>>> Release and Debug is the build vs. build.qtc <http://build.qtc> 
>>> directories.
>>>
>>> The missing filename is suspicious too:mingw32.mingw.cmake 
>>> <http://mingw32.mingw.cmake>
>>>
>>> Thanks in advance for any insights.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org <http://Slashdot.org>! 
>>> http://sdm.link/slashdot
>>> _______________________________________________
>>> Mscore-developer mailing list
>>> Mscore-developer@lists.sourceforge.net 
>>> <mailto: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