Solved Can't find valid kit on Ubuntu 16.04
-
@jsulm yes installed latest g++ compiler and usually after building the qt application will just running it...
and normal gui application will running correctly ....when it comes to interfacing with MS Sql server i am getting the error of intermixing of qt versions.... -
-
An educated guess: the installed version of the MySQL librairies doesn't match the one used to build Qt 5.8 so the plugin fails to load and it tries to load the one from your distribution installed Qt.
Therefore you will need to re-build the MySql plugin for your Qt 5.8 (only the plugin, there's no need to re-build all of Qt). There are already numerous threads about that specific topic. It boils down to:
- install the development package for MySQL from your distribution
- grab Qt's sources from the Maintenance Tool
- build the plugin following Qt's documentation
-
@SGaist He is actually talking about "MS Sql server"
-
@jsulm
you are correct when i ll run qmake --version it is showing that qt version is 5.5.1
but when i see the QT installed directory there are lot of versions 5.5,5.6.5.7,5.8 versions are there .....now what to do shall i remove qt versions except 5.5.1 -
@veera Just use qmake from the Qt version you want to use. It is perfectly valid to have more than one Qt version.
-
-
Using terminal or through qt creator need to run qmake command and please post me the complete command of ldd to my project....
-
@veera Then run qmake, what is the problem? Use a complete path to qmake from Qt version you want to use:
PATH_TO_QT/bin/qmake
What complete command for ldd do you need?
It is justldd PATH_TO_YOUR_EXECUTABLE
-
Okay thanks to all finally problem has solved after running qmake command ......
-
Great !
Then please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)