Build mysql driver on linux (Debian)
-
Thanks for your answer.
I get this error when I try these commands
Error :
CMake Error: Error: generator : Ninja
Does not match the generator used previously: Unix Makefiles
Either remove the CMakeCache.txt file and CMakeFiles directory or choose a different binary directory. -
You show the installation instructions for windows...
Please start over with a clean build directory, follow the documentation and post the output in case of an error. -
So actually your plugin was built (otherwise it would not show up in available drivers) but it is not loaded due to missing dependencies -> Start you app with env var QT_DEBUG_PLUGINS is set ( https://doc.qt.io/qt-6/debug.html#environment-variables-recognized-by-qt ) and see why the Qt mysql plugin is no loaded.
-
When you use Kali Linux why do you compile Qt by yourself instead using the provided packages?
-
When you need QtCreator why do you compile Qt then? Simply install it via the Qt online installer.