QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success
-
@JonB that's right, so I tried to put this line:-DQT_NO_PACKAGE_VERSION_CHECK=TRUE (not cheking the version of the package)
resulting in this: C:\Qt\6.5.1\build-sqldrivers>qt-cmake -G Ninja C:\Qt\6.5.1\qtbase-dev\src\plugins\sqldrivers -DCMAKE_INSTALL_PREFIX=C:\Qt\win64 -DMySQL_INCLUDE_DIR="C:\Program Files\MySQL\MySQL Connector C 6.1\include" -DMySQL_LIBRARY="C:\Program Files\MySQL\MySQL Connector C 6.1\lib\libmysql.lib" -DQT_NO_PACKAGE_VERSION_CHECK=TRUEthis are my paths.
then I get this output:
-- The CXX compiler identification is GNU 8.1.0
-- The C compiler identification is GNU 8.1.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Program Files/CodeBlocks/MinGW/bin/gcc.exe
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/CodeBlocks/MinGW/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/CodeBlocks/MinGW/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning at C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6/Qt6ConfigVersion.cmake:33 (message):
Package Qt6 with version 6.5.1 was accepted as compatible because
QT_NO_PACKAGE_VERSION_CHECK was set to TRUE. There is no guarantee the
build will succeed. You can silence this warning by passing
-DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
CMakeLists.txt:13 (find_package)-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
CMake Warning at C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfigVersion.cmake:33 (message):
Package Qt6BuildInternals with version 6.5.1 was accepted as compatible
because QT_NO_PACKAGE_VERSION_CHECK was set to TRUE. There is no guarantee
the build will succeed. You can silence this warning by passing
-DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
CMakeLists.txt:13 (find_package)CMake Warning at C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6Core/Qt6CoreConfigVersion.cmake:33 (message):
Package Qt6Core with version 6.5.1 was accepted as compatible because
QT_NO_PACKAGE_VERSION_CHECK was set to TRUE. There is no guarantee the
build will succeed. You can silence this warning by passing
-DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
CMakeLists.txt:13 (find_package)-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
CMake Warning at C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6Sql/Qt6SqlConfigVersion.cmake:33 (message):
Package Qt6Sql with version 6.5.1 was accepted as compatible because
QT_NO_PACKAGE_VERSION_CHECK was set to TRUE. There is no guarantee the
build will succeed. You can silence this warning by passing
-DQT_NO_PACKAGE_VERSION_INCOMPATIBLE_WARNING=TRUE
Call Stack (most recent call first):
C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6/Qt6Config.cmake:157 (find_package)
CMakeLists.txt:13 (find_package)CMake Warning at C:/Qt/6.5.1/msvc2019_64/lib/cmake/Qt6/QtFindPackageHelpers.cmake:144 (find_package):
By not providing "FindMimer.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Mimer", but
CMake did not find one.Could not find a package configuration file provided by "Mimer" with any of
the following names:MimerConfig.cmake mimer-config.cmake
Add the installation prefix of "Mimer" to CMAKE_PREFIX_PATH or set
"Mimer_DIR" to a directory containing one of the above files. If "Mimer"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
configure.cmake:23 (qt_find_package)
CMakeLists.txt:35 (include)-- Configuration summary shown below. It has also been written to C:/Qt/6.5.1/build-sqldrivers/config.summary
-- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.-- Configure summary:
Qt Sql Drivers:
DB2 (IBM) .............................. no
InterBase .............................. no
MySql .................................. yes
OCI (Oracle) ........................... no
ODBC ................................... yes
PostgreSQL ............................. no
SQLite ................................. yes
Using system provided SQLite ......... no
Mimer .................................. no-- Configuring done (4.1s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Qt/6.5.1/build-sqldriversthen I run "cmake --build ." to build everything into the same folder but the main file I need (qsqlmysql.dll) is not generated.
in fact when I run build this is the output: [3/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\smain.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -c C:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite/smain.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[4/22] Building C object sqlite/CMakeFiles/QSQLiteDriverPl...r/C_/Qt/6.5.1/qtbase-dev/src/3rdparty/sqlite/sqlite3.c.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/qtbase-dev/src/3rdparty/sqlite/sqlite3.c.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\gcc.exe -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c11 -w -fno-exceptions -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/qtbase-dev/src/3rdparty/sqlite/sqlite3.c.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\C_\Qt\6.5.1\qtbase-dev\src\3rdparty\sqlite\sqlite3.c.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/qtbase-dev/src/3rdparty/sqlite/sqlite3.c.obj -c C:/Qt/6.5.1/qtbase-dev/src/3rdparty/sqlite/sqlite3.c
gcc.exe: error: unrecognized debug output level 'uard:cf'
gcc.exe: error: unrecognized command line option '-Zc:rvalueCast'
gcc.exe: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
gcc.exe: error: unrecognized command line option '-Zc:strictStrings'
gcc.exe: error: unrecognized command line option '-Zc:throwingNew'
gcc.exe: error: unrecognized command line option '-Zc:referenceBinding'
gcc.exe: error: unrecognized command line option '-Zc:ternary'
gcc.exe: error: unrecognized command line option '-Zc:externConstexpr'
gcc.exe: error: unrecognized command line option '-Zc:wchar_t'
gcc.exe: error: unrecognized command line option '-bigobj'
gcc.exe: error: unrecognized command line option '-Gw'; did you mean '-w'?
[5/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\qsql_sqlite.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -c C:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[6/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriver...n.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/sqlite -IC:/Qt/6.5.1/build-sqldrivers/include -IC:/Qt/6.5.1/qtbase-dev/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\QSQLiteDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[9/22] Automatic MOC for target QMYSQLDriverPlugin
ninja: build stopped: subcommand failed.obviously when I run "cmake --install ." it says:
-- Install configuration: "Release"
-- Installing: C:/Qt/win64/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfig.cmake
-- Installing: C:/Qt/win64/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersion.cmake
-- Installing: C:/Qt/win64/lib/cmake/Qt6Sql/Qt6QMYSQLDriverPluginConfigVersionImpl.cmake
CMake Error at mysql/cmake_install.cmake:49 (file):
file INSTALL cannot find
"C:/Qt/6.5.1/build-sqldrivers/plugins/sqldrivers/qsqlmysql.dll": No error.
Call Stack (most recent call first):
cmake_install.cmake:42 (include)I feel so stressed :(, I followed all the steps correctly, setted all the enviroment variables in order to run cmake, ninja, and the c and c++ compiler (gcc compiler) but the qsqlmysql.dll is not generated...
I also asked chatgpt, it says that maybe I didn't configure corectly the qt package to support the mysql driver, should I delete my current package and install it again?
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
MimerConfig.cmake
mimer-config.cmakeYou mix Qt6.5.1 and Qt6 from current git - this can not work...
-
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
MimerConfig.cmake
mimer-config.cmakeYou mix Qt6.5.1 and Qt6 from current git - this can not work...
@Christian-Ehrlicher could you tell more about it? I didn't understand, by the way I am installing it again, the open source Version of qt
-
@Christian-Ehrlicher could you tell more about it? I didn't understand, by the way I am installing it again, the open source Version of qt
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
could you tell more about it?
What should I say more ? You've two Qt versions on your system. The binary one is 6.5.1 and the source version 6.x from git obvoiusly. This can not work.
-
@Christian-Ehrlicher could you tell more about it? I didn't understand, by the way I am installing it again, the open source Version of qt
@cpplegend somewhere along the line, you got multiple versions of Qt installed. You're doing the right thing by reinstalling. Other right things would be:
- use the Qt online installer instead of just cloning the repo
- use the Qt maintenance tool to add whatever components you need
- use Qt Creator for your build
- ditch all the MSVC stuff altogether.
-
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
could you tell more about it?
What should I say more ? You've two Qt versions on your system. The binary one is 6.5.1 and the source version 6.x from git obvoiusly. This can not work.
@Christian-Ehrlicher ok so basicsally if I try when the new installation is done it will work? right?
-
@cpplegend somewhere along the line, you got multiple versions of Qt installed. You're doing the right thing by reinstalling. Other right things would be:
- use the Qt online installer instead of just cloning the repo
- use the Qt maintenance tool to add whatever components you need
- use Qt Creator for your build
- ditch all the MSVC stuff altogether.
@mzimmers okok I am doing everything right for the moment, now I am not at home but when I return I will make you know how it is doing.
@Christian-Ehrlicher @JonB @mzimmers @SGaist
thanks to everyone, I am new in this ambient (I made only one Application to practice), so every response has been helpful -
@cpplegend somewhere along the line, you got multiple versions of Qt installed. You're doing the right thing by reinstalling. Other right things would be:
- use the Qt online installer instead of just cloning the repo
- use the Qt maintenance tool to add whatever components you need
- use Qt Creator for your build
- ditch all the MSVC stuff altogether.
@mzimmers ok so now I reran all the commands when I run "cmake --build ." I get these errors: [3/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\smain.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/smain.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[4/22] Building C object sqlite/CMakeFiles/QSQLiteDriverPl...r/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\gcc.exe -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c11 -w -fno-exceptions -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\C_\Qt\6.5.1\Src\qtbase\src\3rdparty\sqlite\sqlite3.c.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -c C:/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c
gcc.exe: error: unrecognized debug output level 'uard:cf'
gcc.exe: error: unrecognized command line option '-Zc:rvalueCast'
gcc.exe: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
gcc.exe: error: unrecognized command line option '-Zc:strictStrings'
gcc.exe: error: unrecognized command line option '-Zc:throwingNew'
gcc.exe: error: unrecognized command line option '-Zc:referenceBinding'
gcc.exe: error: unrecognized command line option '-Zc:ternary'
gcc.exe: error: unrecognized command line option '-Zc:externConstexpr'
gcc.exe: error: unrecognized command line option '-Zc:wchar_t'
gcc.exe: error: unrecognized command line option '-bigobj'
gcc.exe: error: unrecognized command line option '-Gw'; did you mean '-w'?
[5/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\qsql_sqlite.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[6/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriver...n.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\QSQLiteDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[9/22] Automatic MOC for target QODBCDriverPlugin
ninja: build stopped: subcommand failed.@Christian-Ehrlicher @JonB @mzimmers @SGaist
maybe it's because I need the msvc compiler instead of mingw?
-
@mzimmers ok so now I reran all the commands when I run "cmake --build ." I get these errors: [3/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\smain.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/smain.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[4/22] Building C object sqlite/CMakeFiles/QSQLiteDriverPl...r/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\gcc.exe -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c11 -w -fno-exceptions -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\C_\Qt\6.5.1\Src\qtbase\src\3rdparty\sqlite\sqlite3.c.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -c C:/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c
gcc.exe: error: unrecognized debug output level 'uard:cf'
gcc.exe: error: unrecognized command line option '-Zc:rvalueCast'
gcc.exe: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
gcc.exe: error: unrecognized command line option '-Zc:strictStrings'
gcc.exe: error: unrecognized command line option '-Zc:throwingNew'
gcc.exe: error: unrecognized command line option '-Zc:referenceBinding'
gcc.exe: error: unrecognized command line option '-Zc:ternary'
gcc.exe: error: unrecognized command line option '-Zc:externConstexpr'
gcc.exe: error: unrecognized command line option '-Zc:wchar_t'
gcc.exe: error: unrecognized command line option '-bigobj'
gcc.exe: error: unrecognized command line option '-Gw'; did you mean '-w'?
[5/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\qsql_sqlite.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[6/22] Building CXX object sqlite/CMakeFiles/QSQLiteDriver...n.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\QSQLiteDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[9/22] Automatic MOC for target QODBCDriverPlugin
ninja: build stopped: subcommand failed.@Christian-Ehrlicher @JonB @mzimmers @SGaist
maybe it's because I need the msvc compiler instead of mingw?
You must not mix MSVC and MinGW compiler.
-
You must not mix MSVC and MinGW compiler.
@Christian-Ehrlicher so what should I do? remove the MinGW and install the MSVC?
-
@Christian-Ehrlicher so what should I do? remove the MinGW and install the MSVC?
@cpplegend
I don't know about any need to remove MinGW. But if you can install MSVC and get that working I think you will progress further. -
@cpplegend
I don't know about any need to remove MinGW. But if you can install MSVC and get that working I think you will progress further. -
@Christian-Ehrlicher so what should I do? remove the MinGW and install the MSVC?
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
so what should I do?
Install and use Qt for MinGW...
-
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
so what should I do?
Install and use Qt for MinGW...
@jsulm said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
Install and use Qt for MinGW...
Before you advise this to the OP, are you sure about it? Have you read through the exchanges above? The OP is trying to build QMYSQL driver for Windows. They have
C:\mysql-8.0.22-winx64\lib\libmysql.lib
. My reading is that this is designed for MSVC, I believe the OP will have to take quite some other steps if they want to build with MinGW? -
@jsulm said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
Install and use Qt for MinGW...
Before you advise this to the OP, are you sure about it? Have you read through the exchanges above? The OP is trying to build QMYSQL driver for Windows. They have
C:\mysql-8.0.22-winx64\lib\libmysql.lib
. My reading is that this is designed for MSVC, I believe the OP will have to take quite some other steps if they want to build with MinGW?@JonB According to official documentation MinGW should also work (https://doc.qt.io/qt-6/sql-driver.html). I guess the MySQL client library is a C library, not C++.
-
@JonB According to official documentation MinGW should also work (https://doc.qt.io/qt-6/sql-driver.html). I guess the MySQL client library is a C library, not C++.
@jsulm I installed the mingw C compiler, not the c++, and got this errors when I run "cmake --build .": [1/15] Building RC object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_resource.rc.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_resource.rc.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe -O coff -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I C:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -I C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -I C:/Qt/6.5.1/Src/build-sqldrivers/mysql -I C:/Qt/6.5.1/Src/build-sqldrivers/include -I "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -I C:/Qt/6.5.1/msvc2019_64/include/QtCore -I C:/Qt/6.5.1/msvc2019_64/include -I C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -I C:/Qt/6.5.1/msvc2019_64/include/QtSql C:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_resource.rc mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_resource.rc.obj
gcc: error: Files/MySQL/MySQL: No such file or directory
gcc: error: Connector: No such file or directory
gcc: error: C: No such file or directory
gcc: error: 6.1/include: No such file or directory
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
[2/15] Building CXX object odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj -MF odbc\CMakeFiles\QODBCDriverPlugin.dir\QODBCDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[3/15] Building CXX object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj -MF mysql\CMakeFiles\QMYSQLDriverPlugin.dir\main.cpp.obj.d -o mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql/main.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[4/15] Building C object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\gcc.exe -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c11 -w -fno-exceptions -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\C_\Qt\6.5.1\Src\qtbase\src\3rdparty\sqlite\sqlite3.c.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -c C:/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c
gcc.exe: error: unrecognized debug output level 'uard:cf'
gcc.exe: error: unrecognized command line option '-Zc:rvalueCast'
gcc.exe: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
gcc.exe: error: unrecognized command line option '-Zc:strictStrings'
gcc.exe: error: unrecognized command line option '-Zc:throwingNew'
gcc.exe: error: unrecognized command line option '-Zc:referenceBinding'
gcc.exe: error: unrecognized command line option '-Zc:ternary'
gcc.exe: error: unrecognized command line option '-Zc:externConstexpr'
gcc.exe: error: unrecognized command line option '-Zc:wchar_t'
gcc.exe: error: unrecognized command line option '-bigobj'
gcc.exe: error: unrecognized command line option '-Gw'; did you mean '-w'?
[5/15] Building CXX object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj -MF mysql\CMakeFiles\QMYSQLDriverPlugin.dir\qsql_mysql.cpp.obj.d -o mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[6/15] Building CXX object odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj -MF odbc\CMakeFiles\QODBCDriverPlugin.dir\main.cpp.obj.d -o odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc/main.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[7/15] Building RC object odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_resource.rc.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_resource.rc.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe -O coff -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I C:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -I C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -I C:/Qt/6.5.1/Src/build-sqldrivers/odbc -I C:/Qt/6.5.1/Src/build-sqldrivers/include -I C:/Qt/6.5.1/msvc2019_64/include/QtCore -I C:/Qt/6.5.1/msvc2019_64/include -I C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -I C:/Qt/6.5.1/msvc2019_64/include/QtSql C:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_resource.rc odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_resource.rc.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
[8/15] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\QSQLiteDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[9/15] Building CXX object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj -MF mysql\CMakeFiles\QMYSQLDriverPlugin.dir\QMYSQLDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[10/15] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\smain.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/smain.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[11/15] Building CXX object odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj -MF odbc\CMakeFiles\QODBCDriverPlugin.dir\qsql_odbc.cpp.obj.d -o odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc/qsql_odbc.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[12/15] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\qsql_sqlite.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
ninja: build stopped: subcommand failed. -
@jsulm I installed the mingw C compiler, not the c++, and got this errors when I run "cmake --build .": [1/15] Building RC object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_resource.rc.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_resource.rc.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe -O coff -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I C:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -I C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -I C:/Qt/6.5.1/Src/build-sqldrivers/mysql -I C:/Qt/6.5.1/Src/build-sqldrivers/include -I "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -I C:/Qt/6.5.1/msvc2019_64/include/QtCore -I C:/Qt/6.5.1/msvc2019_64/include -I C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -I C:/Qt/6.5.1/msvc2019_64/include/QtSql C:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_resource.rc mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_resource.rc.obj
gcc: error: Files/MySQL/MySQL: No such file or directory
gcc: error: Connector: No such file or directory
gcc: error: C: No such file or directory
gcc: error: 6.1/include: No such file or directory
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
[2/15] Building CXX object odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj -MF odbc\CMakeFiles\QODBCDriverPlugin.dir\QODBCDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[3/15] Building CXX object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj -MF mysql\CMakeFiles\QMYSQLDriverPlugin.dir\main.cpp.obj.d -o mysql/CMakeFiles/QMYSQLDriverPlugin.dir/main.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql/main.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[4/15] Building C object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\gcc.exe -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c11 -w -fno-exceptions -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\C_\Qt\6.5.1\Src\qtbase\src\3rdparty\sqlite\sqlite3.c.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/C_/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c.obj -c C:/Qt/6.5.1/Src/qtbase/src/3rdparty/sqlite/sqlite3.c
gcc.exe: error: unrecognized debug output level 'uard:cf'
gcc.exe: error: unrecognized command line option '-Zc:rvalueCast'
gcc.exe: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
gcc.exe: error: unrecognized command line option '-Zc:strictStrings'
gcc.exe: error: unrecognized command line option '-Zc:throwingNew'
gcc.exe: error: unrecognized command line option '-Zc:referenceBinding'
gcc.exe: error: unrecognized command line option '-Zc:ternary'
gcc.exe: error: unrecognized command line option '-Zc:externConstexpr'
gcc.exe: error: unrecognized command line option '-Zc:wchar_t'
gcc.exe: error: unrecognized command line option '-bigobj'
gcc.exe: error: unrecognized command line option '-Gw'; did you mean '-w'?
[5/15] Building CXX object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj -MF mysql\CMakeFiles\QMYSQLDriverPlugin.dir\qsql_mysql.cpp.obj.d -o mysql/CMakeFiles/QMYSQLDriverPlugin.dir/qsql_mysql.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql/qsql_mysql.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[6/15] Building CXX object odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj -MF odbc\CMakeFiles\QODBCDriverPlugin.dir\main.cpp.obj.d -o odbc/CMakeFiles/QODBCDriverPlugin.dir/main.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc/main.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[7/15] Building RC object odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_resource.rc.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_resource.rc.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe -O coff -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I C:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -I C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -I C:/Qt/6.5.1/Src/build-sqldrivers/odbc -I C:/Qt/6.5.1/Src/build-sqldrivers/include -I C:/Qt/6.5.1/msvc2019_64/include/QtCore -I C:/Qt/6.5.1/msvc2019_64/include -I C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -I C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -I C:/Qt/6.5.1/msvc2019_64/include/QtSql C:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_resource.rc odbc/CMakeFiles/QODBCDriverPlugin.dir/QODBCDriverPlugin_resource.rc.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
[8/15] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\QSQLiteDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[9/15] Building CXX object mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj
FAILED: mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQMYSQLDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/mysql -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem "C:/Program Files/MySQL/MySQL Connector C 6.1/include" -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj -MF mysql\CMakeFiles\QMYSQLDriverPlugin.dir\QMYSQLDriverPlugin_autogen\mocs_compilation.cpp.obj.d -o mysql/CMakeFiles/QMYSQLDriverPlugin.dir/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp.obj -c C:/Qt/6.5.1/Src/build-sqldrivers/mysql/QMYSQLDriverPlugin_autogen/mocs_compilation.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[10/15] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\smain.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/smain.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/smain.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[11/15] Building CXX object odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj
FAILED: odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DQODBCDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc/QODBCDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/odbc -IC:/Qt/6.5.1/Src/build-sqldrivers/include -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -Wall -Wextra -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj -MF odbc\CMakeFiles\QODBCDriverPlugin.dir\qsql_odbc.cpp.obj.d -o odbc/CMakeFiles/QODBCDriverPlugin.dir/qsql_odbc.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/odbc/qsql_odbc.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
[12/15] Building CXX object sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
FAILED: sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE -DNDEBUG -DQSQLiteDriverPlugin_EXPORTS -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x040800 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_PLUGIN -DQT_SQL_LIB -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_ENABLE_RTREE -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_LOAD_EXTENSION -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite/QSQLiteDriverPlugin_autogen/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/sqlite -IC:/Qt/6.5.1/Src/build-sqldrivers/include -IC:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/../../../3rdparty/sqlite -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include -isystem C:/Qt/6.5.1/msvc2019_64/mkspecs/win32-msvc -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtCore/6.5.1/QtCore -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1 -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql/6.5.1/QtSql -isystem C:/Qt/6.5.1/msvc2019_64/include/QtSql -DNDEBUG -O2 -std=c++17 -w -fno-exceptions -Zc:cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:ternary -Zc:externConstexpr -Zc:wchar_t -bigobj -guard:cf -Gw -MD -MT sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -MF sqlite\CMakeFiles\QSQLiteDriverPlugin.dir\qsql_sqlite.cpp.obj.d -o sqlite/CMakeFiles/QSQLiteDriverPlugin.dir/qsql_sqlite.cpp.obj -c C:/Qt/6.5.1/Src/qtbase/src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp
C~1.EXE: error: unrecognized debug output level 'uard:cf'
C__~1.EXE: error: unrecognized command line option '-Zc:cplusplus'
C~1.EXE: error: unrecognized command line option '-permissive-'; did you mean '-fpermissive'?
C__~1.EXE: error: unrecognized command line option '-Zc:rvalueCast'
C__~1.EXE: error: unrecognized command line option '-Zc:inline'; did you mean '-Winline'?
C__~1.EXE: error: unrecognized command line option '-Zc:strictStrings'
C__~1.EXE: error: unrecognized command line option '-Zc:throwingNew'
C__~1.EXE: error: unrecognized command line option '-Zc:referenceBinding'
C__~1.EXE: error: unrecognized command line option '-Zc:ternary'
C__~1.EXE: error: unrecognized command line option '-Zc:externConstexpr'
C__~1.EXE: error: unrecognized command line option '-Zc:wchar_t'
C__~1.EXE: error: unrecognized command line option '-bigobj'
C__~1.EXE: error: unrecognized command line option '-Gw'; did you mean '-w'?
ninja: build stopped: subcommand failed.@cpplegend
You are reposting and repeating over & over the same voluminous output. We know you have this. And I have told you that this is because you are using a MinGW/gcc compiler with arguments passed for an MSVC compiler. You also said you would change to MSVC compiler to resolve this, but you have not, so you get the same errors. Doesn't matter how many times you post the same stuff, the answer will be the same..... -
@cpplegend
You are reposting and repeating over & over the same voluminous output. We know you have this. And I have told you that this is because you are using a MinGW/gcc compiler with arguments passed for an MSVC compiler. You also said you would change to MSVC compiler to resolve this, but you have not, so you get the same errors. Doesn't matter how many times you post the same stuff, the answer will be the same.....@JonB the problem is that I have the same output, but I have switched to a msvc compiler, I followed this link: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads which has been published by qt in the official documentation I said I was following, I installed the latest version but it does not work
-
@JonB the problem is that I have the same output, but I have switched to a msvc compiler, I followed this link: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads which has been published by qt in the official documentation I said I was following, I installed the latest version but it does not work
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
but I have switched to a msvc compiler,
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE
gcc.exe: error:
As you can clearly see you are using MinGW compiler. Hence the behaviour/output is the same as it was before you say you have "switched to a msvc compiler". Quoting "published by qt in the official documentation" does not alter the fact that you can look at the output and see for yourself.
FWIW I don't think the MinGW you are using is even the one supplied with Qt. It's in a
Program Files\CodeBlocks
directory, I would think that means it's some MinGW you have previously installed yourself.I don't know how any of this works, having not done it myself and I don't use Windows for Qt, but I assume that somewhere it asks you or you have to tell it which compiler toolchain you want it to use. Just because you download something does not automatically mean it will be used.
-
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
but I have switched to a msvc compiler,
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE
gcc.exe: error:
As you can clearly see you are using MinGW compiler. Hence the behaviour/output is the same as it was before you say you have "switched to a msvc compiler". Quoting "published by qt in the official documentation" does not alter the fact that you can look at the output and see for yourself.
FWIW I don't think the MinGW you are using is even the one supplied with Qt. It's in a
Program Files\CodeBlocks
directory, I would think that means it's some MinGW you have previously installed yourself.I don't know how any of this works, having not done it myself and I don't use Windows for Qt, but I assume that somewhere it asks you or you have to tell it which compiler toolchain you want it to use. Just because you download something does not automatically mean it will be used.
@JonB man.... I just found out I was including the incorrect path in the PATH environment variable...
Then I included this path: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x64
it is the msvc compiler, I'm sure it is it works, but it still doesn't work
by the way, qt didn't say anything about the mingw compiler on the documentation so installed one by myself, the msvc compiler instead was a redirect to the microsoft page, I installed the packages of visual studio and there is even the msvc compiler
-
@cpplegend said in QMYSQL driver not found Qt 6.5.1, I've tried all I found online, without success:
but I have switched to a msvc compiler,
C:\PROGRA~1\CODEBL~1\MinGW\bin\windres.exe: preprocessing failed.
C:\PROGRA~1\CODEBL~1\MinGW\bin\C__~1.EXE
gcc.exe: error:
As you can clearly see you are using MinGW compiler. Hence the behaviour/output is the same as it was before you say you have "switched to a msvc compiler". Quoting "published by qt in the official documentation" does not alter the fact that you can look at the output and see for yourself.
FWIW I don't think the MinGW you are using is even the one supplied with Qt. It's in a
Program Files\CodeBlocks
directory, I would think that means it's some MinGW you have previously installed yourself.I don't know how any of this works, having not done it myself and I don't use Windows for Qt, but I assume that somewhere it asks you or you have to tell it which compiler toolchain you want it to use. Just because you download something does not automatically mean it will be used.