Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6.0, 6.6.1
-
-
5b5fa7b75 (dev), e07404343 (6.7), 683dca194 (6.6), 82ff75fed (tqtc/lts-6.5), 49902cc6c (dev), 22ffc088e (6.7), 4afb6fbd6 (6.6), 1ba8b8d39 (tqtc/lts-6.5)
Description
it seems Sqldrivers are always getting build in release mode even though -DCMAKE_BUILD_TYPE=Debug is passed.
To reproduce try to build mysql driver plugin
build-sqldrivers>cmake -G Ninja C:\dev\qt-everywhere-src-6.6.1\qtbase\src\plugins\sqldrivers -DCMAKE_INSTALL_PREFIX=C:\dev\install\6.6.1 -DMySQL_INCLUDE_DIR="C:\Program Files\MySQL\MySQL Server 8.0\include" -DMySQL_LIBRARY="C:\Program Files\MySQL\MySQL Server 8.0\lib" -DCMAKE_BUILD_TYPE=Debug
If you open generated CMakeCache.txt you can see CMAKE_BUILD_TYPE is Release.
//Choose the type of build.
CMAKE_BUILD_TYPE:STRING=Release
Attachments
Issue Links
- is duplicated by
-
QTBUG-121379 [QMYSQL] Can't build/install debug configuration
- Closed
- relates to
-
QTBUG-121926 rerun of cmake loses build type
- Closed