Unsolved Can't use QT 5.12
-
I have a project that requires QT 5.12 or above to run, but despite installing the 5.12.9 version, it only recognizes the 5.9.5. My PC broke and I had to use an old one for this project, and maybe that's the reason why it's not working, but i think it's unlikely. The message that appears is "Executing: /lib/systemd/systemd-sysv-install enable omniorb4-nameserver
./WRBackbone: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by ./WRBackbone)". -
Hi and welcome to devnet,
How did you build your application ?
If on the command line, did you use the full path to your 5.12 qmake ? -
I didn't build this application myself, so I wouldn't know, but there's lots of people who use it, and I even used it myself before, and no one never had this problem. But I also noticed thet the path where he's looking has no "libQtCore" anywhere. So maybe it was a installing problem? I don't know what i did wrong if that's the case
-
In that case, it seems that your application installation. Is broken. Since it can't find the Qt version it's likely provided with, it tries to load the first it finds on the system which does not match what it wants.
-
That makes sense. Could you please send me a valid installation link? I have to use the open source version since it's for school work.
-
-
@SGaist After some time without my pc, i finally got back, and I reinstalled ubuntu fresh, and the only thing i did was download QT from this link, and the same error still happens. If i try to do qmake --version, it says it's version 5.9.5, even tho QTcreator doesn't even have this option, since I only installed versions 5.12.9 and 5.15.0. So now i'm stuck again
-
@Lucas-Figueiras How did you install the application?
-
@Lucas-Figueiras said in Can't use QT 5.12:
version, it says it's version 5.9.5, even tho QTcreator doesn't even have this option, since I only installed versions 5.12.9
That's why @SGaist suggested to use absolute path to qmake from Qt 5.12.9, to make sure you use the correct qmake...
-
@Lucas-Figueiras said in Can't use QT 5.12:
@SGaist After some time without my pc, i finally got back, and I reinstalled ubuntu fresh, and the only thing i did was download QT from this link, and the same error still happens. If i try to do qmake --version, it says it's version 5.9.5, even tho QTcreator doesn't even have this option, since I only installed versions 5.12.9 and 5.15.0. So now i'm stuck again
You are invoking the qmake matching the Qt version installed by your distribution which is the correct behaviour.