Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01)
-
I have just installed QtCreator on my system. While running first project its giving error Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01).
How to resolve this?
Platform: Ubuntu 16.04 LTS
Version: QT 5.11.1 -
Hi and welcome to devnet,
What version of Qt Creator ?
How did you install it ?
What modules does your application use ?
Do you mean when running through Qt Creator or from the command line ? -
Hi,
Version
QT Creator: 4.6.2How did I installed it?
I downloaded installer from official website!Modules
I am just learning it. Was trying this example: https://wiki.qt.io/Qt_for_BeginnersRunning through?
QT CreatorThanks in adv! :)
-
And just to be sure, are you using the Kit matching Qt 5.11 to build your application ?
-
@SGaist said in Cannot mix incompatible Qt library (version 0x50a01) with this library (version 0x50b01):
u using the Kit matching Qt 5
Yes, its using 5.11 in KIT
-
Are you using a dependency built with another version of Qt ?
-
@SGaist nope! as i said I am just learning now.. so all Qt libraries I am using right now is that came with package.
-
Do you have
LD_LIBRARY_PATH
defined in your environment variables ? -
@SGaist Its not set. But this time I abandoned that app and created a new project. Its working. I don't know what went wrong there. :(
Well thanks!
-
@SGaist Its not set. But this time I abandoned that app and created a new project. Its working. I don't know what went wrong there. :(
Well thanks!
Glad you got it working. So please close this topic as SOLVED. Thanks