I want to build Qt 6
with prebuilt MySQL/OpenSSL
libs to try out new features, but I have some issues with configure parameters.
For example, I have such configure parameters:
configure.bat -debug -static -static-runtime -confirm-license -opensource -nomake examples -no-ltcg -sql-mysql -openssl-linked -prefix "C:Test6.0.0msvc2019_64"
When I add the -sql-mysql
or -openssl-linked
parameters I got the following issue:
CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:788 (message):
CMake exited with code 1.
Also, I have tried to use -skip qtwebengine
, but cmake
returns BUILD_qtwebengine not used by the project
. Some of the parameters does not translate into cmake
properly. Where I can get full list of cmake
parameters to build the Qt 6
?
[Updated]
I have translated a few parameters to cmake
:
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DQT_BUILD_EXAMPLES=OFF -DINPUT_static_runtime=ON -DFEATURE_ltcg=OFF -DCMAKE_INSTALL_PREFIX="C:Test6.0.0msvc2019_64" -G Ninja C:QtBuildqt-everywhere-src-6.0.0
But still can not find any docs how to translate those: -confirm-license -opensource -skip qtwebengine -openssl_linked -sql-mysql
I have previously built MySQL
libs by using CMake Option Reference: https://dev.mysql.com/doc/mysql-sourcebuild-excerpt/8.0/en/source-configuration-options.html#cmake-option-reference
Is there any similar reference available for Qt 6
? Thank you.
question from:
https://stackoverflow.com/questions/65641919/qt-6-configure-options-failed 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…