![]() ![]() ![]() ![]() If set, send found rows instead of affected rows If set, switches to compressed protocol after successful authentication Build files have been written to: C: /build -qt6 -sqldrivers For example, you can do this as follows, to locate MySQL:Ĭ:\ Qt\ 6.0.0\mingw81_64\bin\qt -cmake -G Ninja C:\ Qt\ 6.0.0\Src\qtbase\src\plugins\sqldrivers -DMySQL_INCLUDE_DIR = "C:\mysql-8.0.22-win圆4\include" -DMySQL_LIBRARY = "C:\mysql-8.0.22-win圆4\lib\libmysql.lib" -DCMAKE_INSTALL_PREFIX = "C:\Qt\6.0.0\mingw81_64" this is required for PostgreSQL and SQLite). You should prefer this method if module needs to set properties for the provided target libraries (e.g. In some cases it's more convenient to use CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH variables to locate required libraries. This is especially useful if the package provides its own set of system libraries that should not be recognized by the build routine. When you configure drivers in the manner described above, CMake skips any dependency checks and uses the provided paths as is. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |