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

Update Qt from 5.5.1 to 5.6.0

Scheduled Pinned Locked Moved Solved General and Desktop
18 Posts 6 Posters 9.6k Views
  • 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.
  • E Eddy
    31 May 2017, 12:16

    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?

    S Offline
    S Offline
    Swati
    wrote on 31 May 2017, 12:52 last edited by
    #4

    @Eddy

    Hi. I downloaded the source and compiled it myself.

    1 Reply Last reply
    1
    • E Offline
      E Offline
      Eddy
      wrote on 31 May 2017, 13:08 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

      S 1 Reply Last reply 31 May 2017, 13:24
      2
      • J jsulm
        31 May 2017, 12:27

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

        S Offline
        S Offline
        Swati
        wrote on 31 May 2017, 13:11 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
        • E Eddy
          31 May 2017, 13:08
          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.

          S Offline
          S Offline
          Swati
          wrote on 31 May 2017, 13:24 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
          • E Offline
            E Offline
            Eddy
            wrote on 31 May 2017, 13:48 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

            S 1 Reply Last reply 31 May 2017, 20:38
            2
            • E Eddy
              31 May 2017, 13:48

              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.

              S Offline
              S Offline
              Swati
              wrote on 31 May 2017, 20:38 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 )

              J V 2 Replies Last reply 1 Jun 2017, 04:16
              0
              • S Swati
                31 May 2017, 20:38

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

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 1 Jun 2017, 04:16 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

                S 1 Reply Last reply 1 Jun 2017, 05:34
                3
                • J jsulm
                  1 Jun 2017, 04:16

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

                  S Offline
                  S Offline
                  Swati
                  wrote on 1 Jun 2017, 05:34 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.

                  J 1 Reply Last reply 1 Jun 2017, 05:36
                  0
                  • S Swati
                    1 Jun 2017, 05:34

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

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 1 Jun 2017, 05:36 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
                    • S Swati
                      31 May 2017, 20:38

                      @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 1 Dec 2017, 07:33 last edited by Veluri Mithun 12 Jan 2017, 09:49
                      #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 1 Dec 2017, 22:50 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 5 Dec 2017, 17:02 last edited by
                          #15

                          Thank you.I got it

                          1 Reply Last reply
                          0
                          • SGaistS Offline
                            SGaistS Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 5 Dec 2017, 20:38 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 7 Dec 2017, 05:44 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 7 Dec 2017, 08:10
                              1
                              • V Veluri Mithun
                                7 Dec 2017, 05:44

                                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 7 Dec 2017, 08:10 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