How the heck can I install Qt5 on Ubuntu 16.04 LTS?












0















I have loads of programs that require Qt4 and I need to install programs that require Qt5. When I try to install Qt5 things start off dodgy and then proceed to insanity. I request friendly guidance. It's probably easiest for you to look at the terminal output directly:



$ sudo apt update
Ign:1 http://linux.dropbox.com/ubuntu wily InRelease
Ign:2 http://repo.ubports.com xenial InRelease
Hit:3 http://linux.dropbox.com/ubuntu wily Release
Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Ign:5 http://repo.ubports.com xenial_-_mir26 InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
Hit:8 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://repo.ubports.com xenial Release
Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:11 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:12 http://repo.ubports.com xenial_-_mir26 Release
Hit:13 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease
Hit:14 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
Hit:15 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
Hit:19 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Hit:20 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
Hit:21 https://updates.signal.org/desktop/apt xenial InRelease
Hit:22 https://riot.im/packages/debian xenial InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
23 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ sudo apt install qt5-default
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
protonmail-bridge : Depends: libqt5designer5 but it is not going to be installed
Depends: libqt5multimediawidgets5 but it is not going to be installed
qt5-default : Depends: qtbase5-dev
Depends: qtchooser (>= 55-gc9562a1-1~)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt install qtbase5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
protonmail-bridge : Depends: qt5-default but it is not going to be installed
Depends: libqt5designer5 but it is not going to be installed
Depends: libqt5multimediawidgets5 but it is not going to be installed
qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or
libgles2-dev but it is not installable
Depends: libqt5concurrent5 (= 5.9.5+dfsg-0ubports2) but it is not going to be installed
Depends: qt5-qmake (= 5.9.5+dfsg-0ubports2)
Depends: qtbase5-dev-tools (= 5.9.5+dfsg-0ubports2)
Depends: qtchooser
Recommends: libqt5opengl5-dev (= 5.9.5+dfsg-0ubports2)
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
audacity-data libflac++6v5 liblilv-0-0 libportsmf0v5 libqscintilla2-l10n libqt4-declarative libqt4-network
libqt4-script libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-xml libqt4-xmlpatterns libqtcore4
libqtdbus4 libqtgui4 libsbsms10 libserd-0-0 libsord-0-0 libsratom-0-0 libunibreak1 libvamp-hostsdk3v5
libzlcore-data libzlcore0.13 libzltext-data libzltext0.13 linux-headers-4.15.0-42
linux-headers-4.15.0-42-generic linux-image-4.15.0-42-generic linux-modules-4.15.0-42-generic
linux-modules-extra-4.15.0-42-generic simplescreenrecorder-lib sqliteman-doc
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
audacity fbreader libqscintilla2-12v5 libqt4-designer libqt4-opengl libqt4-svg libsuil-0-0 libzlui-qt4
protonmail-bridge simplescreenrecorder sqliteman vidyodesktop
0 to upgrade, 0 to newly install, 12 to remove and 23 not to upgrade.
1 not fully installed or removed.
After this operation, 45.6 MB disk space will be freed.
Do you want to continue? [Y/n] n


The final suggestion of my attempt would remove some core things I need, so this is not an option. How might I proceed, kindly stranger?










share|improve this question



























    0















    I have loads of programs that require Qt4 and I need to install programs that require Qt5. When I try to install Qt5 things start off dodgy and then proceed to insanity. I request friendly guidance. It's probably easiest for you to look at the terminal output directly:



    $ sudo apt update
    Ign:1 http://linux.dropbox.com/ubuntu wily InRelease
    Ign:2 http://repo.ubports.com xenial InRelease
    Hit:3 http://linux.dropbox.com/ubuntu wily Release
    Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
    Ign:5 http://repo.ubports.com xenial_-_mir26 InRelease
    Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
    Hit:8 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:9 http://repo.ubports.com xenial Release
    Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
    Hit:11 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Hit:12 http://repo.ubports.com xenial_-_mir26 Release
    Hit:13 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease
    Hit:14 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
    Hit:15 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu xenial InRelease
    Hit:17 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
    Hit:19 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
    Hit:20 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
    Hit:21 https://updates.signal.org/desktop/apt xenial InRelease
    Hit:22 https://riot.im/packages/debian xenial InRelease
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    23 packages can be upgraded. Run 'apt list --upgradable' to see them.

    $ sudo apt install qt5-default
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies.
    protonmail-bridge : Depends: libqt5designer5 but it is not going to be installed
    Depends: libqt5multimediawidgets5 but it is not going to be installed
    qt5-default : Depends: qtbase5-dev
    Depends: qtchooser (>= 55-gc9562a1-1~)
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    $ sudo apt install qtbase5-dev
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies.
    protonmail-bridge : Depends: qt5-default but it is not going to be installed
    Depends: libqt5designer5 but it is not going to be installed
    Depends: libqt5multimediawidgets5 but it is not going to be installed
    qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or
    libgles2-dev but it is not installable
    Depends: libqt5concurrent5 (= 5.9.5+dfsg-0ubports2) but it is not going to be installed
    Depends: qt5-qmake (= 5.9.5+dfsg-0ubports2)
    Depends: qtbase5-dev-tools (= 5.9.5+dfsg-0ubports2)
    Depends: qtchooser
    Recommends: libqt5opengl5-dev (= 5.9.5+dfsg-0ubports2)
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    $ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    audacity-data libflac++6v5 liblilv-0-0 libportsmf0v5 libqscintilla2-l10n libqt4-declarative libqt4-network
    libqt4-script libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-xml libqt4-xmlpatterns libqtcore4
    libqtdbus4 libqtgui4 libsbsms10 libserd-0-0 libsord-0-0 libsratom-0-0 libunibreak1 libvamp-hostsdk3v5
    libzlcore-data libzlcore0.13 libzltext-data libzltext0.13 linux-headers-4.15.0-42
    linux-headers-4.15.0-42-generic linux-image-4.15.0-42-generic linux-modules-4.15.0-42-generic
    linux-modules-extra-4.15.0-42-generic simplescreenrecorder-lib sqliteman-doc
    Use 'sudo apt autoremove' to remove them.
    The following packages will be REMOVED
    audacity fbreader libqscintilla2-12v5 libqt4-designer libqt4-opengl libqt4-svg libsuil-0-0 libzlui-qt4
    protonmail-bridge simplescreenrecorder sqliteman vidyodesktop
    0 to upgrade, 0 to newly install, 12 to remove and 23 not to upgrade.
    1 not fully installed or removed.
    After this operation, 45.6 MB disk space will be freed.
    Do you want to continue? [Y/n] n


    The final suggestion of my attempt would remove some core things I need, so this is not an option. How might I proceed, kindly stranger?










    share|improve this question

























      0












      0








      0








      I have loads of programs that require Qt4 and I need to install programs that require Qt5. When I try to install Qt5 things start off dodgy and then proceed to insanity. I request friendly guidance. It's probably easiest for you to look at the terminal output directly:



      $ sudo apt update
      Ign:1 http://linux.dropbox.com/ubuntu wily InRelease
      Ign:2 http://repo.ubports.com xenial InRelease
      Hit:3 http://linux.dropbox.com/ubuntu wily Release
      Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
      Ign:5 http://repo.ubports.com xenial_-_mir26 InRelease
      Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
      Hit:8 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
      Hit:9 http://repo.ubports.com xenial Release
      Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
      Hit:11 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
      Hit:12 http://repo.ubports.com xenial_-_mir26 Release
      Hit:13 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease
      Hit:14 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
      Hit:15 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu xenial InRelease
      Hit:17 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
      Hit:19 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
      Hit:20 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
      Hit:21 https://updates.signal.org/desktop/apt xenial InRelease
      Hit:22 https://riot.im/packages/debian xenial InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      23 packages can be upgraded. Run 'apt list --upgradable' to see them.

      $ sudo apt install qt5-default
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies.
      protonmail-bridge : Depends: libqt5designer5 but it is not going to be installed
      Depends: libqt5multimediawidgets5 but it is not going to be installed
      qt5-default : Depends: qtbase5-dev
      Depends: qtchooser (>= 55-gc9562a1-1~)
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

      $ sudo apt install qtbase5-dev
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies.
      protonmail-bridge : Depends: qt5-default but it is not going to be installed
      Depends: libqt5designer5 but it is not going to be installed
      Depends: libqt5multimediawidgets5 but it is not going to be installed
      qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or
      libgles2-dev but it is not installable
      Depends: libqt5concurrent5 (= 5.9.5+dfsg-0ubports2) but it is not going to be installed
      Depends: qt5-qmake (= 5.9.5+dfsg-0ubports2)
      Depends: qtbase5-dev-tools (= 5.9.5+dfsg-0ubports2)
      Depends: qtchooser
      Recommends: libqt5opengl5-dev (= 5.9.5+dfsg-0ubports2)
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

      $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages were automatically installed and are no longer required:
      audacity-data libflac++6v5 liblilv-0-0 libportsmf0v5 libqscintilla2-l10n libqt4-declarative libqt4-network
      libqt4-script libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-xml libqt4-xmlpatterns libqtcore4
      libqtdbus4 libqtgui4 libsbsms10 libserd-0-0 libsord-0-0 libsratom-0-0 libunibreak1 libvamp-hostsdk3v5
      libzlcore-data libzlcore0.13 libzltext-data libzltext0.13 linux-headers-4.15.0-42
      linux-headers-4.15.0-42-generic linux-image-4.15.0-42-generic linux-modules-4.15.0-42-generic
      linux-modules-extra-4.15.0-42-generic simplescreenrecorder-lib sqliteman-doc
      Use 'sudo apt autoremove' to remove them.
      The following packages will be REMOVED
      audacity fbreader libqscintilla2-12v5 libqt4-designer libqt4-opengl libqt4-svg libsuil-0-0 libzlui-qt4
      protonmail-bridge simplescreenrecorder sqliteman vidyodesktop
      0 to upgrade, 0 to newly install, 12 to remove and 23 not to upgrade.
      1 not fully installed or removed.
      After this operation, 45.6 MB disk space will be freed.
      Do you want to continue? [Y/n] n


      The final suggestion of my attempt would remove some core things I need, so this is not an option. How might I proceed, kindly stranger?










      share|improve this question














      I have loads of programs that require Qt4 and I need to install programs that require Qt5. When I try to install Qt5 things start off dodgy and then proceed to insanity. I request friendly guidance. It's probably easiest for you to look at the terminal output directly:



      $ sudo apt update
      Ign:1 http://linux.dropbox.com/ubuntu wily InRelease
      Ign:2 http://repo.ubports.com xenial InRelease
      Hit:3 http://linux.dropbox.com/ubuntu wily Release
      Hit:4 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
      Ign:5 http://repo.ubports.com xenial_-_mir26 InRelease
      Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease
      Hit:8 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease
      Hit:9 http://repo.ubports.com xenial Release
      Hit:10 http://security.ubuntu.com/ubuntu xenial-security InRelease
      Hit:11 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease
      Hit:12 http://repo.ubports.com xenial_-_mir26 Release
      Hit:13 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease
      Hit:14 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease
      Hit:15 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu xenial InRelease
      Hit:17 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease
      Hit:19 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
      Hit:20 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
      Hit:21 https://updates.signal.org/desktop/apt xenial InRelease
      Hit:22 https://riot.im/packages/debian xenial InRelease
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      23 packages can be upgraded. Run 'apt list --upgradable' to see them.

      $ sudo apt install qt5-default
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies.
      protonmail-bridge : Depends: libqt5designer5 but it is not going to be installed
      Depends: libqt5multimediawidgets5 but it is not going to be installed
      qt5-default : Depends: qtbase5-dev
      Depends: qtchooser (>= 55-gc9562a1-1~)
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

      $ sudo apt install qtbase5-dev
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt-get -f install' to correct these:
      The following packages have unmet dependencies.
      protonmail-bridge : Depends: qt5-default but it is not going to be installed
      Depends: libqt5designer5 but it is not going to be installed
      Depends: libqt5multimediawidgets5 but it is not going to be installed
      qtbase5-dev : Depends: libgles2-mesa-dev but it is not going to be installed or
      libgles2-dev but it is not installable
      Depends: libqt5concurrent5 (= 5.9.5+dfsg-0ubports2) but it is not going to be installed
      Depends: qt5-qmake (= 5.9.5+dfsg-0ubports2)
      Depends: qtbase5-dev-tools (= 5.9.5+dfsg-0ubports2)
      Depends: qtchooser
      Recommends: libqt5opengl5-dev (= 5.9.5+dfsg-0ubports2)
      E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

      $ sudo apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following packages were automatically installed and are no longer required:
      audacity-data libflac++6v5 liblilv-0-0 libportsmf0v5 libqscintilla2-l10n libqt4-declarative libqt4-network
      libqt4-script libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-xml libqt4-xmlpatterns libqtcore4
      libqtdbus4 libqtgui4 libsbsms10 libserd-0-0 libsord-0-0 libsratom-0-0 libunibreak1 libvamp-hostsdk3v5
      libzlcore-data libzlcore0.13 libzltext-data libzltext0.13 linux-headers-4.15.0-42
      linux-headers-4.15.0-42-generic linux-image-4.15.0-42-generic linux-modules-4.15.0-42-generic
      linux-modules-extra-4.15.0-42-generic simplescreenrecorder-lib sqliteman-doc
      Use 'sudo apt autoremove' to remove them.
      The following packages will be REMOVED
      audacity fbreader libqscintilla2-12v5 libqt4-designer libqt4-opengl libqt4-svg libsuil-0-0 libzlui-qt4
      protonmail-bridge simplescreenrecorder sqliteman vidyodesktop
      0 to upgrade, 0 to newly install, 12 to remove and 23 not to upgrade.
      1 not fully installed or removed.
      After this operation, 45.6 MB disk space will be freed.
      Do you want to continue? [Y/n] n


      The final suggestion of my attempt would remove some core things I need, so this is not an option. How might I proceed, kindly stranger?







      16.04 qt5 pyqt5






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 12 at 2:04









      BlandCorporationBlandCorporation

      2851414




      2851414






















          1 Answer
          1






          active

          oldest

          votes


















          1














          clean up and update:



          sudo apt-get autoremove && sudo apt update && sudo apt upgrade


          Download Qt5:



          wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run


          Install:



          chmod +x qt-opensource-linux-x64-5.7.0.run 
          ./qt-opensource-linux-x64-5.7.0.run


          Install g++:



          sudo apt-get install build-essential


          Install generic font configuration library - runtime:



          sudo apt-get install libfontconfig1


          Configure a compiler:



          Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.



          Install OpenGL libraries:



          sudo apt-get install mesa-common-dev


          Source:



          https://wiki.qt.io/Install_Qt_5_on_Ubuntu






          share|improve this answer
























          • Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

            – BlandCorporation
            Feb 12 at 4:14






          • 1





            The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

            – BlandCorporation
            Feb 12 at 18:04











          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%2f1117530%2fhow-the-heck-can-i-install-qt5-on-ubuntu-16-04-lts%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









          1














          clean up and update:



          sudo apt-get autoremove && sudo apt update && sudo apt upgrade


          Download Qt5:



          wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run


          Install:



          chmod +x qt-opensource-linux-x64-5.7.0.run 
          ./qt-opensource-linux-x64-5.7.0.run


          Install g++:



          sudo apt-get install build-essential


          Install generic font configuration library - runtime:



          sudo apt-get install libfontconfig1


          Configure a compiler:



          Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.



          Install OpenGL libraries:



          sudo apt-get install mesa-common-dev


          Source:



          https://wiki.qt.io/Install_Qt_5_on_Ubuntu






          share|improve this answer
























          • Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

            – BlandCorporation
            Feb 12 at 4:14






          • 1





            The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

            – BlandCorporation
            Feb 12 at 18:04
















          1














          clean up and update:



          sudo apt-get autoremove && sudo apt update && sudo apt upgrade


          Download Qt5:



          wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run


          Install:



          chmod +x qt-opensource-linux-x64-5.7.0.run 
          ./qt-opensource-linux-x64-5.7.0.run


          Install g++:



          sudo apt-get install build-essential


          Install generic font configuration library - runtime:



          sudo apt-get install libfontconfig1


          Configure a compiler:



          Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.



          Install OpenGL libraries:



          sudo apt-get install mesa-common-dev


          Source:



          https://wiki.qt.io/Install_Qt_5_on_Ubuntu






          share|improve this answer
























          • Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

            – BlandCorporation
            Feb 12 at 4:14






          • 1





            The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

            – BlandCorporation
            Feb 12 at 18:04














          1












          1








          1







          clean up and update:



          sudo apt-get autoremove && sudo apt update && sudo apt upgrade


          Download Qt5:



          wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run


          Install:



          chmod +x qt-opensource-linux-x64-5.7.0.run 
          ./qt-opensource-linux-x64-5.7.0.run


          Install g++:



          sudo apt-get install build-essential


          Install generic font configuration library - runtime:



          sudo apt-get install libfontconfig1


          Configure a compiler:



          Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.



          Install OpenGL libraries:



          sudo apt-get install mesa-common-dev


          Source:



          https://wiki.qt.io/Install_Qt_5_on_Ubuntu






          share|improve this answer













          clean up and update:



          sudo apt-get autoremove && sudo apt update && sudo apt upgrade


          Download Qt5:



          wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run


          Install:



          chmod +x qt-opensource-linux-x64-5.7.0.run 
          ./qt-opensource-linux-x64-5.7.0.run


          Install g++:



          sudo apt-get install build-essential


          Install generic font configuration library - runtime:



          sudo apt-get install libfontconfig1


          Configure a compiler:



          Launch Qt Creator. Go to Tools > Options. Click Build & Run and select tab Kit. Configure a compiler if it is not automatically detected.



          Install OpenGL libraries:



          sudo apt-get install mesa-common-dev


          Source:



          https://wiki.qt.io/Install_Qt_5_on_Ubuntu







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 12 at 2:34









          VanishingTacosVanishingTacos

          584




          584













          • Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

            – BlandCorporation
            Feb 12 at 4:14






          • 1





            The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

            – BlandCorporation
            Feb 12 at 18:04



















          • Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

            – BlandCorporation
            Feb 12 at 4:14






          • 1





            The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

            – BlandCorporation
            Feb 12 at 18:04

















          Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

          – BlandCorporation
          Feb 12 at 4:14





          Thanks for this assistance. When I run the executable qt-opensource-linux-x64-5.12.1.run, I get "Warning: No QtAccount credentials found. Please login via the maintenance tool of the SDK." How can this security/privacy risk be bypassed?

          – BlandCorporation
          Feb 12 at 4:14




          1




          1





          The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

          – BlandCorporation
          Feb 12 at 18:04





          The tab wasn't there, but the rest of the steps seemed to make things work for the program I was trying to get working. Thanks!

          – BlandCorporation
          Feb 12 at 18:04


















          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%2f1117530%2fhow-the-heck-can-i-install-qt5-on-ubuntu-16-04-lts%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

          How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

          is 'sed' thread safe

          How to make a Squid Proxy server?