trying to build release build of Qt from repository
Unsolved
Qt Contribution
-
I get:
1> [CMake] -- Configuring submodule 'qtbase' 1> [CMake] -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' 1> [CMake] CMake Error at qtbase/cmake/QtBuildInformation.cmake:554 (message): 1> [CMake] Feature "debug": Forcing to "ON" breaks its condition: 1> [CMake] 1> [CMake] CMAKE_BUILD_TYPE STREQUAL Debug OR Debug IN_LIST CMAKE_CONFIGURATION_TYPES 1> [CMake] 1> [CMake] Condition values dump: 1> [CMake] 1> [CMake] CMAKE_BUILD_TYPE = "Release" 1> [CMake] Debug = "" 1> [CMake] CMAKE_CONFIGURATION_TYPES = ""
What am I doing wrong?
-
Which configure arguments are you using? And which Qt version.
...qt5/configure -release
works for me with Qt 6.8.1
-
Have you followed the steps described here?
At the end of the day it doesn't matter how the project is configured, as long as you pass the right arguments and the build path is clean.
I don't know which version of Qt you are building on which operating system, but it looks like the build tree has been configured before with some flags that force it into a debug build.