Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
6.6.1
-
None
Description
This problem started I thing from 6.6.0? I'm not sure, if I define the
CMAKE_BUILD_TYPE:STRING=Debug it builds and installs the Release configuration, I must define it lowercase like CMAKE_BUILD_TYPE:STRING=debug then it works file.
A few weeks ago I exactly knew where the problem was but I forgot to save the location. Currently, only the debug and DEBUG words work, the Debug doesn't.
I'm using this command to build the QMYSQL driver:
qt-cmake `
-S "C:/Qt/$QtVersion/Src/qtbase/src/plugins/sqldrivers" `
-B . `
-G Ninja `
-D CMAKE_BUILD_TYPE:STRING=Debug `
-D CMAKE_INSTALL_PREFIX:PATH="C:/Qt/$QtVersion/msvc2019_64" `
-D MySQL_INCLUDE_DIR:PATH="${Script:MySqlServerPath}/include" `
-D MySQL_LIBRARY:FILEPATH="${Script:MySqlServerPath}/lib/libmysql.lib" `
-D FEATURE_sql_psql:BOOL=OFF `
-D FEATURE_sql_odbc:BOOL=OFF `
-D FEATURE_sql_sqlite:BOOL=OFF
Attachments
Issue Links
- duplicates
-
QTBUG-120436 sqldrivers always build in release
- Closed