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. Multiple Qt versions installation issue
Forum Updated to NodeBB v4.3 + New Features

Multiple Qt versions installation issue

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 9.3k Views 1 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.
  • H Offline
    H Offline
    hpng
    wrote on last edited by
    #1

    I already have qt version 4.6x on Ubuntu.
    If I install the latest, v4.7, would there be conflict?
    How do I avoid such conflict?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Just make sure you do not install the new Qt into the same place as the old one and make sure to use the qmake from the Qt version you want to actually use when running the qmake step (by setting the path or providing the full path to qmake).

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

        Also, you can make sure you use the right qmake by setting it in Qt Creator.
        menu tools > options > TAB Qt4 > add button and point it to your new location....
        Then you can set it as default.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hpng
          wrote on last edited by
          #4

          Will Qt 4.7 libraries be installed n the same place at Qt 4.6's location in Ubuntu?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #5

            If you use the package manager, it's very likely that you just replace the version. A distribution of a particular version usually has only one Qt4 version. A newer version would be only available on some manually to configure repositories.

            You can avoid the hassles by manually compiling Qt. It installs itself in /usr/local/Trolltech/Qt-x.y.z by default and does not interfere with the distribution's version.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hpng
              wrote on last edited by
              #6

              Volker:

              Thanks.
              I tried doing update (using the update button click) via package manager, but when I looked
              at Qt version in Creator, it is still 4.6.
              How do you update to a new version via update manager?

              For Qt version 4.7, the dialog window came up with a default suggestion install folder: \home\myaccountname\qtsdk.
              I tried to install it into \usr, but it kept telling about erasing entire directory or something like that

              So I ended up installing it in its suggested directory.

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #7

                I never used the package manager to switch to a non-default Qt version And I do not recommend this, it may break some other applications depending on that version of Qt.

                I also never used the SDK for pulling new Qt version. Actually, I'm not using the SDK at all - I just startet Qt development long before that saw the light and I'm too lazy to switch settings and all that.

                Usually, the default paths are quite sane. I generally tend to use those (not only for Qt).

                http://www.catb.org/~esr/faqs/smart-questions.html

                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