Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0 Beta2
-
-
0c7042defaf3a2a97aebc6f652b4d34229093a5a (qt/qtbase/dev) 9e287b50ee77d7a9a52483e86954d0eb2f5760df (qt/qtbase/6.0)
Description
I have tried with this configure step (powershell):
& "$qt_src_base_folder\configure.bat" -cmake -debug-and-release -opensource -confirm-license -platform win32-msvc -opengl desktop -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtlocation -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwebview -skip qtscript -mp -optimize-size -shared -prefix $prefix_folder -openssl-linked -DOPENSSL_ROOT_DIR="$openssl_base_folder" -DMYSQL_PATH="c:\Programy\MariaDB" -DMySQL_LIBRARIES="$mysql_lib_folder" -DMySQL_INCLUDE_DIRS="$mysql_include_folder"
So I tried "-DMYSQL_PATH", "DMySQL_LIBRARIES" and "-DMySQL_INCLUDE_DIRS" and those variables point to valid mariaDB installation but no. No success.
I get "-- Could NOT find MySQL (missing: MySQL_LIBRARIES MySQL_INCLUDE_DIRS)" as output of configure.
How to tell configure where to look for my mariaDB files. And additionally, how to tell configure to link my resulting qmysql.dll plugin against some libs? In Qt5 build I used
MYSQL_LIBS="-llibmariadb"
environment variable to do that.
Thank you.
Attachments
Issue Links
- relates to
-
QTBUG-86283 CMake Build: Do not rely on only pkg-config for FindXYZ CMake modules
- Open
- resulted in
-
QTBUG-88959 Update how to build "SQL Database Drivers"
- Closed