Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Update Qt from 5.5.1 to 5.6.0
Forum Updated to NodeBB v4.3 + New Features

Update Qt from 5.5.1 to 5.6.0

Scheduled Pinned Locked Moved Solved General and Desktop
18 Posts 6 Posters 9.7k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • EddyE Offline
    EddyE Offline
    Eddy
    wrote on last edited by
    #2

    Hi,

    Depends, how did you install Qt in the first place?

    Did you use the packages from your repo?

    Or did you download the sources and compiled Qt yourself?

    Qt Certified Specialist
    www.edalsolutions.be

    SwatiS 1 Reply Last reply
    1
    • SwatiS Swati

      Hi

      I need to update Qt Version from 5.5.1 to 5.6.0 on my system. I currently use KUbuntu 16.04.
      Could you please tell me how to update?

      Do I need to completely remove 5.5.1 and install 5.6.0 from scratch?

      Thank you in advance!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #3

      @Swati Or did you use offline or online Qt installer?
      If you used the packages from Kubuntu and want to continue to use their Qt packages then you will need to upgrade Kubuntu.
      But actually you can just use Qt online installer and install latest Qt and QtCreator version. That is what I'm always doing.
      You do not need to remove old Qt version.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      SwatiS 1 Reply Last reply
      3
      • EddyE Eddy

        Hi,

        Depends, how did you install Qt in the first place?

        Did you use the packages from your repo?

        Or did you download the sources and compiled Qt yourself?

        SwatiS Offline
        SwatiS Offline
        Swati
        wrote on last edited by
        #4

        @Eddy

        Hi. I downloaded the source and compiled it myself.

        1 Reply Last reply
        1
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #5
          Hi. I downloaded the source and compiled it myself.
          

          Hi Swati,
          In that case the choice is up to you. Do you need the older build for your applications or not? You can have both builds next to each other if you want.
          Personally I like to clean up older builds completely and have a fresh start. The online installer might be a good choice as @jsulm suggested.

          Today Qt 5.9 was released and it LTS, unless you are forced to use Qt 5.6 I would recommend this latest version.

          Qt Certified Specialist
          www.edalsolutions.be

          SwatiS 1 Reply Last reply
          2
          • jsulmJ jsulm

            @Swati Or did you use offline or online Qt installer?
            If you used the packages from Kubuntu and want to continue to use their Qt packages then you will need to upgrade Kubuntu.
            But actually you can just use Qt online installer and install latest Qt and QtCreator version. That is what I'm always doing.
            You do not need to remove old Qt version.

            SwatiS Offline
            SwatiS Offline
            Swati
            wrote on last edited by
            #6

            @jsulm

            I'm pretty sure I didn't use packages from KUbuntu.

            I used Qt Online Installer for Linux. And as far as I remember, I followed something similar to this:
            https://wiki.qt.io/Install_Qt_5_on_Ubuntu

            1 Reply Last reply
            0
            • EddyE Eddy
              Hi. I downloaded the source and compiled it myself.
              

              Hi Swati,
              In that case the choice is up to you. Do you need the older build for your applications or not? You can have both builds next to each other if you want.
              Personally I like to clean up older builds completely and have a fresh start. The online installer might be a good choice as @jsulm suggested.

              Today Qt 5.9 was released and it LTS, unless you are forced to use Qt 5.6 I would recommend this latest version.

              SwatiS Offline
              SwatiS Offline
              Swati
              wrote on last edited by
              #7

              @Eddy

              No. I don't need the older version for my application. I have to use 5.6.0 (recommended).

              How to completely remove the older version from system and just keep the updated one?

              1 Reply Last reply
              1
              • EddyE Offline
                EddyE Offline
                Eddy
                wrote on last edited by
                #8

                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.

                Qt Certified Specialist
                www.edalsolutions.be

                SwatiS 1 Reply Last reply
                2
                • EddyE Eddy

                  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.

                  SwatiS Offline
                  SwatiS Offline
                  Swati
                  wrote on last edited by
                  #9

                  @Eddy

                  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 )

                  jsulmJ V 2 Replies Last reply
                  0
                  • SwatiS Swati

                    @Eddy

                    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 )

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @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.

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    SwatiS 1 Reply Last reply
                    3
                    • jsulmJ jsulm

                      @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.

                      SwatiS Offline
                      SwatiS Offline
                      Swati
                      wrote on last edited by
                      #11

                      @jsulm

                      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.

                      jsulmJ 1 Reply Last reply
                      0
                      • SwatiS Swati

                        @jsulm

                        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.

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        @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.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply
                        1
                        • SwatiS Swati

                          @Eddy

                          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 )

                          V Offline
                          V Offline
                          Veluri Mithun
                          wrote on last edited by Veluri Mithun
                          #13

                          @Swati @Eddy @jsulm I too have similar issue here, my new software require Qt5.7 but, though I have it in my home directory This cmake is not detecting!!

                          here I attach the screenshot of error and qt install directory

                          0_1512113578162_qtError.png

                          Any help would be much appreciated!!.

                          Thank you.

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on last edited by
                            #14

                            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.

                            Interested in AI ? www.idiap.ch
                            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            1
                            • V Offline
                              V Offline
                              Veluri Mithun
                              wrote on last edited by
                              #15

                              Thank you.I got it

                              1 Reply Last reply
                              0
                              • SGaistS Offline
                                SGaistS Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on last edited by
                                #16

                                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 :)

                                Interested in AI ? www.idiap.ch
                                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • V Offline
                                  V Offline
                                  Veluri Mithun
                                  wrote on last edited by
                                  #17

                                  I'm really sorry. I didn't open this thread and I'm not able to see that option also here on my screen!!. :/

                                  mrjjM 1 Reply Last reply
                                  1
                                  • V Veluri Mithun

                                    I'm really sorry. I didn't open this thread and I'm not able to see that option also here on my screen!!. :/

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #18

                                    @Veluri-Mithun
                                    Fair enough :)
                                    The original poster was not online for long time so i marked it solved.

                                    1 Reply Last reply
                                    0

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved