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. How to upgrade Qt from 5.14.2 to 5.15.1 ?

How to upgrade Qt from 5.14.2 to 5.15.1 ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 6.0k Views 2 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.
  • M Offline
    M Offline
    mariozio
    wrote on last edited by mariozio
    #1

    Hello to everyone.

    I'm on ubuntu 20.10 and I've installed KDE Plasma. Below you can see the Qt version that has been also installed :

    root@ziomario-z390aoruspro:/opt# qmake --version

    QMake version 3.1

    Using Qt version 5.14.2 in /usr/lib/x86_64-linux-gnu

    but this Qt version is not enough high for me. Infact it should be upgraded to 5.15.1,according with this tutorial :

    https://community.kde.org/Plasma/Wayland/Nvidia

    where it says :

    You need a very up-to-date Qt. Make sure you have >= Qt5.15.1 or 4bd13402f0293e85b8dfdf92254e250ac28094c7 cherry-picked. This Qt version is necessary to enable Wayland on top of Kde Plasma.

    I've upgraded it using this file : qt-unified-linux-x64-3.2.3-online

    that I've got from here : https://download.qt.io/archive/online_installers/3.2/

    the problem is that it didn't work. It has installed all the libraries into /opt/Qt/5.15.1 folder,but when I check which version of Qt I'm running,I see that it hasn't changed :

    Using Qt version 5.14.2 in /usr/lib/x86_64-linux-gnu

    what's missing ?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can install Qt to system folders, or add symlinks in /usr/lib pointing to your newer version.

      But I don't recommend it at all. Qt shipped with given distribution has been compiled and tested to work with other apps shipped by the distro. If you swap Qt version you may run into a myriad of problems, crashes etc. in many random apps.

      Best approach: find a PPA which ships updated KDE & Qt (KDE Neon comes to mind here) or switch to a different distribution which ships with modern enough Qt.

      (Z(:^

      M 1 Reply Last reply
      1
      • sierdzioS sierdzio

        You can install Qt to system folders, or add symlinks in /usr/lib pointing to your newer version.

        But I don't recommend it at all. Qt shipped with given distribution has been compiled and tested to work with other apps shipped by the distro. If you swap Qt version you may run into a myriad of problems, crashes etc. in many random apps.

        Best approach: find a PPA which ships updated KDE & Qt (KDE Neon comes to mind here) or switch to a different distribution which ships with modern enough Qt.

        M Offline
        M Offline
        mariozio
        wrote on last edited by
        #3

        @sierdzio said in How to upgrade Qt from 5.14.2 to 5.15.1 ?:

        PPA which ships updated KDE & Qt (KDE Neon

        what about to compile them from scratch like this ?

        http://www.linuxfromscratch.org/blfs/view/svn/x/qt5.html

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Even there, they recommend installing to /opt ;-)

          But look further down, they provide installations on how to tell the system where to look for Qt instead of scanning /usr.

          Feel free to try it, sure. Or custom compilation - that's surely possible. My warning still stands - you are likely to break your system. It's a good training and adventure, though :-) Please report back if you make any progress.

          (Z(:^

          1 Reply Last reply
          1
          • M Offline
            M Offline
            mariozio
            wrote on last edited by
            #5

            yes. I understand. I don't have the competence to solve the problems that will come.

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

              Hi,

              What distribution are you currently using on your machine ?

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

              sierdzioS 1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                What distribution are you currently using on your machine ?

                sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                @SGaist said in How to upgrade Qt from 5.14.2 to 5.15.1 ?:

                Hi,

                What distribution are you currently using on your machine ?

                See first post: I'm on ubuntu 20.10

                (Z(:^

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

                  @sierdzio thanks, I completely missed it.

                  If you want to go with the latest and greatest of Plasma, then you should consider using KDE Neon. It's an Ubuntu based distribution which provides Plasma up to date. You have the choice between the standard, developer and unstable variants. It will likely cover your needs.

                  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

                  • Login

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