Unsolved Qt5.12.0 QMYSQL plugin
-
Using MYSQL_PREFIX=/usr/include/mysql
and target is sub-mysql -
This post is deleted! -
This is meant to rebuild only the mysql plugin but ends up re-building all of Qt (with open source option)
-
I meant: what folder did you configure to have Qt installed to.
-
The default directory which I believe is ~/Qt5.12.0
-
Can you check that ?
Looking at the output of
make install
should show you exactly what is copied where. -
My Qt is installed in ~/Qt5.12.0. This has qt creator, qmake, gcc and android versions including the compiled libraries.
-
That I understood. Nevertheless, could you check as suggested the output of
make install
? -
The installation directory is /usr/local/Qt-5.12.0
-
Then that's where you custom built MySQL plugin can be found.
You likely have built it from a default configured Qt build hence that location.
-
@SGaist I tried doing a clean build today in ~/Qt5.12.0/5.12.0/Src with the following commands,
make clean
./configure -sql-mysql
make installI still ended up with the original errors regarding qt version and some functions not found.
Surprisingly, when I did
ldd /usr/local/Qt-5.12.0/plugins/sqldrivers/libqsqlmysql.soThere are no errors and it is linking to libmysqlclient.so.20 and using the qt that is in this location works flawlessly.
-
I recommend using out of source builds, so if something goes awry, you can nuke the build folder without having to look out for leftovers of previous builds.
-
@SGaist said in Qt5.12.0 QMYSQL plugin:
source
Thanks for the help. The current out of source build is missing the following modules/plugins
webenginewidgets positioning webviewCan you please point me to a linux version with sql, webenginewidgets, positioning and webview plugins that I can re-install?