QT Creator not launching in Ubuntu 18.04 Bionic
My environment initially has QT4 and QT creator seemed to work fine back then. I have installed QT5 and after that QT creator is not launching anymore.
I tried to run it in terminal but I got this "Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)". I did search for its cause and posssible fix but nothing seems to work for me.
Your help is greatly appreciated. Thanks!
It seems you have multiple versions of Qt libraries on your system and Creator picks up different versions.
So, please tell us: how did you install the Qt versions (Qt4 and 5) and QtCreator?
@aha_1980 Thanks for the response.
I installed all of them through terminal apt install ubuntu repository.
Qt Creator 4.5.2
suggests you have some Qt libraries 5.10.1 on your system. please make sure these are not in the library search path.
I haven't found 5.10.1 libraries in my system but I have 5.9 and 5.9.5. Does it matter?
The error message:
"Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)"
Clearly states, that some library or plugin depends on or is part of Qt 5.10.1.
0x50905 = 5.9.5; 0x50a01 = 5.10.1
Sorry, that's all I can tell for now.
I guess I found the reason now.
I have a QT5 5.9.5 version in my system but my QT creator is based on QT 5.10.1.
@LostDeveloper but then you surely didn't install Creator with apt-get (at least not from official sources).
Where is QtCreator installed? You can try to launch it with the
@aha_1980 I did install Qt creator with apt-get as what I have mentioned before.
@LostDeveloper in that case, it's an Ubuntu problem and we cannot help you :(
@aha_1980 additional information.. I installed the QT in chroot environment. could it be QT path issues?
I installed the QT in chroot environment
Qt or QtCreator?
@LostDeveloper Qt in chroot should not bother QtCreator. QtCreator is installed together with needed Qt libraries. Do you have any other Qt libraries in PATH/LD_LIBRARY_PATH?
I checked the chroot and found out different version of QT installed.
QMake version 3.0
Using Qt version 5.2.1
QMake version 3.1
Using Qt version 5.9.5
qtcreator is only installed in top-level.
@LostDeveloper "Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)".
You have Qt 5.10.1 somewhere - this is the one causing the problem not Qt 5.2.1