After upgrading Qt, Ubuntu still uses the old versiong++ cannot find include files (qt3)Qt5-default package not foundUbuntu IDE tries to run CMake-based ARM projects on desktop instead of device: bug or what?Can't figure out CmakeHow to choose between different versions of Qt 5?Updating QT to 5.9 on Ubuntu 14.04Packages still at 14.04 version after upgrade to 16.04“git --version” still showing the older version of gitPackages broken & apt does not work after aborted Ubuntu upgrade to 16.04 LTS (from 14)Anki does not run on Ubuntu Budgie 18.10

Should we avoid writing fiction about historical events without extensive research?

Can I negotiate a patent idea for a raise, under French law?

Rationale to prefer local variables over instance variables?

Was this cameo in Captain Marvel computer generated?

Does an unused member variable take up memory?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

An Undercover Army

School performs periodic password audits. Is my password compromised?

Why would /etc/passwd be used every time someone executes `ls -l` command?

Is "cogitate" used appropriately in "I cogitate that success relies on hard work"?

How to distinguish easily different soldier of ww2?

Did Amazon pay $0 in taxes last year?

How do you make a gun that shoots melee weapons and/or swords?

After Brexit, will the EU recognize British passports that are valid for more than ten years?

What exactly is the meaning of "fine wine"?

How does a sound wave propagate?

Why does a car's steering wheel get lighter with increasing speed

Paper published similar to PhD thesis

Should I file my taxes? No income, unemployed, but paid 2k in student loan interest

Was it really inappropriate to write a pull request for the company I interviewed with?

Mixed Feelings - What am I

Ultrafilters as a double dual

How to make sure I'm assertive enough in contact with subordinates?



After upgrading Qt, Ubuntu still uses the old version


g++ cannot find include files (qt3)Qt5-default package not foundUbuntu IDE tries to run CMake-based ARM projects on desktop instead of device: bug or what?Can't figure out CmakeHow to choose between different versions of Qt 5?Updating QT to 5.9 on Ubuntu 14.04Packages still at 14.04 version after upgrade to 16.04“git --version” still showing the older version of gitPackages broken & apt does not work after aborted Ubuntu upgrade to 16.04 LTS (from 14)Anki does not run on Ubuntu Budgie 18.10













0















On my Ubuntu machine, I have a version of Qt installed. This was installed a while ago, and I cannot remember how I installed it. But if I run apt list --installed from the command line, there are several packages listed related to qt, such as qtcreator/xenial,now 3.5.1+dfsg-2ubuntu2 amd64, qtcreator-data/xenial,xenial,now 3.5.1+dfsg-2ubuntu2 all, qttools5-dev-tools/xenial-updates,now 5.5.1-3ubuntu0.1 amd64, etc.



I now want to update my version of Qt. So, I visited the Qt website and downloaded the latest version, which cam as a .run file. Running this file installed the new version of Qt into a directory of my choice. This directory is /home/John/Libraries/Qt-5.9. I didn't do anything after running the .run file, but I was able to load the new version of Qt Creator by executing one of the binary files.



However, if I run qmake --version from the command line, it prints out Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu. Therefore, it seems that my system is still using the old version of Qt by default.



How can I ensure that my system uses the new version when linking with other projets?










share|improve this question


























    0















    On my Ubuntu machine, I have a version of Qt installed. This was installed a while ago, and I cannot remember how I installed it. But if I run apt list --installed from the command line, there are several packages listed related to qt, such as qtcreator/xenial,now 3.5.1+dfsg-2ubuntu2 amd64, qtcreator-data/xenial,xenial,now 3.5.1+dfsg-2ubuntu2 all, qttools5-dev-tools/xenial-updates,now 5.5.1-3ubuntu0.1 amd64, etc.



    I now want to update my version of Qt. So, I visited the Qt website and downloaded the latest version, which cam as a .run file. Running this file installed the new version of Qt into a directory of my choice. This directory is /home/John/Libraries/Qt-5.9. I didn't do anything after running the .run file, but I was able to load the new version of Qt Creator by executing one of the binary files.



    However, if I run qmake --version from the command line, it prints out Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu. Therefore, it seems that my system is still using the old version of Qt by default.



    How can I ensure that my system uses the new version when linking with other projets?










    share|improve this question
























      0












      0








      0








      On my Ubuntu machine, I have a version of Qt installed. This was installed a while ago, and I cannot remember how I installed it. But if I run apt list --installed from the command line, there are several packages listed related to qt, such as qtcreator/xenial,now 3.5.1+dfsg-2ubuntu2 amd64, qtcreator-data/xenial,xenial,now 3.5.1+dfsg-2ubuntu2 all, qttools5-dev-tools/xenial-updates,now 5.5.1-3ubuntu0.1 amd64, etc.



      I now want to update my version of Qt. So, I visited the Qt website and downloaded the latest version, which cam as a .run file. Running this file installed the new version of Qt into a directory of my choice. This directory is /home/John/Libraries/Qt-5.9. I didn't do anything after running the .run file, but I was able to load the new version of Qt Creator by executing one of the binary files.



      However, if I run qmake --version from the command line, it prints out Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu. Therefore, it seems that my system is still using the old version of Qt by default.



      How can I ensure that my system uses the new version when linking with other projets?










      share|improve this question














      On my Ubuntu machine, I have a version of Qt installed. This was installed a while ago, and I cannot remember how I installed it. But if I run apt list --installed from the command line, there are several packages listed related to qt, such as qtcreator/xenial,now 3.5.1+dfsg-2ubuntu2 amd64, qtcreator-data/xenial,xenial,now 3.5.1+dfsg-2ubuntu2 all, qttools5-dev-tools/xenial-updates,now 5.5.1-3ubuntu0.1 amd64, etc.



      I now want to update my version of Qt. So, I visited the Qt website and downloaded the latest version, which cam as a .run file. Running this file installed the new version of Qt into a directory of my choice. This directory is /home/John/Libraries/Qt-5.9. I didn't do anything after running the .run file, but I was able to load the new version of Qt Creator by executing one of the binary files.



      However, if I run qmake --version from the command line, it prints out Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu. Therefore, it seems that my system is still using the old version of Qt by default.



      How can I ensure that my system uses the new version when linking with other projets?







      apt software-installation qt qt-creator






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 hours ago









      KarnivaurusKarnivaurus

      4742725




      4742725




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Test if :



          sh -c "$(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) -v" 


          gives you the updated version, if so update the link in qmake command with



          ln -sf $(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) $(which qmake)





          share|improve this answer






















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124128%2fafter-upgrading-qt-ubuntu-still-uses-the-old-version%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Test if :



            sh -c "$(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) -v" 


            gives you the updated version, if so update the link in qmake command with



            ln -sf $(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) $(which qmake)





            share|improve this answer



























              0














              Test if :



              sh -c "$(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) -v" 


              gives you the updated version, if so update the link in qmake command with



              ln -sf $(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) $(which qmake)





              share|improve this answer

























                0












                0








                0







                Test if :



                sh -c "$(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) -v" 


                gives you the updated version, if so update the link in qmake command with



                ln -sf $(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) $(which qmake)





                share|improve this answer













                Test if :



                sh -c "$(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) -v" 


                gives you the updated version, if so update the link in qmake command with



                ln -sf $(find /home/John/Libraries/Qt-5.9 -iname 'qmake' | grep gcc) $(which qmake)






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 5 hours ago









                BarBar1234BarBar1234

                42826




                42826



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124128%2fafter-upgrading-qt-ubuntu-still-uses-the-old-version%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

                    What to do with chalk when deepwater soloing? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Photo Competition: April - At Home in The Great OutdoorsIs it ok for my climbing shoes/chalk bag to get wet?What hand and finger exercises help with climbing?Chalk: pure, plus drying agent, liquid?What can I do with a retired rope and harness?What to do with the lap coiled rope if the belayer wishes to lead consecutive pitches?How do to a safety knot when abseiling with 2 ropes?What are the advantages of being short when climbing?When should you start to train with Campus Boards, Hang Boards and Peg Boards?Climbing: fear/panic on boulder wallWith what specific techniques are various bouldering grades associated?What are the most important numerical features to look for when comparing climbing ropes?

                    How to start Thunderbird minimized on start-up?How to run Thunderbird on startup, minimised?How to make Thunderbird Mail runs at startup?How do I start applications automatically on login?How can I delay a specific program on startup?How do I hide Thunderbird from the launcher while running?How to keep Thunderbird and Pidgin running on background?How to open Thunderbird minimised at startup in Ubuntu 16.04How to start Thunderbird minimized to Unity system tray on start-up?Minimize Thunderbird to Traythunderbird script to disable option: “delete message on server”Why is Thunderbird pegging a core at 100%?Thunderbird resets profile after second start upClearing out Thunderbird on UbuntuThunderbird and a shared “home” partitionBidirectionally synchronize Thunderbird profiles (POP3 mail accounts) between two computersWhy doesn't Ubuntu/Thunderbird save my PGP key?How to start Thunderbird minimized to Unity system tray on start-up?Recovering thunderbird files from quick formatted drive?