Cannot mix incompatible Qt library
-
Hi,
I had compile a sqlcipher library & created a libqsqlcipher.so library file. When I use this file in my project it gives me following error
Cannot mix incompatible Qt library (version 0x50201) with this library (version 0x50501).
I am using QT5.5.1 on Ubuntu 14.04. My qmake version is
$qmake version
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnuHow can i change the above link of Qt version 5.2.1 to 5.5.1
Any help will be appreciated.
-
Hi,
The solution is to rebuild the SQLCipher plugin with Qt 5.5.1
-
Hi,
Thanks for your reply. I rebuild the library from cmd line & created the libqsqlcipher.so file. Link it my project but it gives the following errorCannot mix incompatible Qt library (version 0x50201) with this library (version 0x50501)
pramodj@pramodj-msd:~$ qmake -version
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnuHow can i change the above Qt version from 5.2.1 to 5.5.1
Thanks,
Pramod Jadhav. -
Use the complete path to your Qt 5.5.1 qmake
-
Hi,
Thanks for your reply. Finally the problem is solved.