Update Qt from 5.5.1 to 5.6.0
-
look for the file named "MaintenanceTool" in the folder where you installed Qt and run it.
You can select from the dialog which version and options you want. If you uncheck the 5.5 version, it will be deleted.
BTW there is some confusion here : you are using the online installer and not the sources.
I've downloaded 653 MB file of Qt 5.6.2 for Linux 64 bit (offline installer) and then followed these steps: https://wiki.qt.io/Install_Qt_5_on_Ubuntu
Qt creator 5.6.2 is now running fine on system. But i've an issue. The application that requires Qt is still detecting 5.5.1 version. Could you please tell me how to fix that? (It looks for Qt version in usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake )
-
I've downloaded 653 MB file of Qt 5.6.2 for Linux 64 bit (offline installer) and then followed these steps: https://wiki.qt.io/Install_Qt_5_on_Ubuntu
Qt creator 5.6.2 is now running fine on system. But i've an issue. The application that requires Qt is still detecting 5.5.1 version. Could you please tell me how to fix that? (It looks for Qt version in usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake )
-
@Swati You just need to configure your kit in QtCreator properly.
Go to "Tools/Options.../Build & Run" and add your Qt 5.6 version there under "Qt Versions" and then configure a Kit with this Qt version. Then use this Kit. -
This is already added under auto-detected - Qt 5.6.2 GCC 64bit /home/swati/Qt5.6.2/5.6/gcc_64/bin/qmake Do I need to add anything else?
Under Kits, i says Desktop Qt 5.6.2 GCC 64bit (default) under auto-detected.
@Swati said in Update Qt from 5.5.1 to 5.6.0:
Desktop Qt 5.6.2 GCC 64bit (default)
is the correct Qt version selected in this kit?
Try to delete the build folder, execute qmake and build again. -
I've downloaded 653 MB file of Qt 5.6.2 for Linux 64 bit (offline installer) and then followed these steps: https://wiki.qt.io/Install_Qt_5_on_Ubuntu
Qt creator 5.6.2 is now running fine on system. But i've an issue. The application that requires Qt is still detecting 5.5.1 version. Could you please tell me how to fix that? (It looks for Qt version in usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake )
-
Hi and welcome to devnet,
Because you have to tell cmake where to find your other version of Qt. use
cmake -DCMAKE_PREFIX_PATH=/path/to/your/Qt/lib/cmake
so it can find it. -
Thank you.I got it
-
You're welcome !
Since that fixes your problem, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)
-
I'm really sorry. I didn't open this thread and I'm not able to see that option also here on my screen!!. :/
-
I'm really sorry. I didn't open this thread and I'm not able to see that option also here on my screen!!. :/
@Veluri-Mithun
Fair enough :)
The original poster was not online for long time so i marked it solved.