Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Issues Installing QT5 Dependencies in Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Issues Installing QT5 Dependencies in Ubuntu

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 4 Posters 2.2k 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.
  • B Offline
    B Offline
    BzowK
    wrote on last edited by
    #1

    Hey Guys -

    I was planning to update my installation of Synergy in Ubunutu this morning to 1.10.x when I found that there were some dependencies not met. This isn't the first app that I've had issues with QT5 dependencies being the right version so decided to post using it as an example.

    My primary question is: is there a repo I can add, package to install, or whatever in order to install all libraries for a a version like 5.7.1? I see the full download for QT5 (which I'm not that familiar with) is 1.2gb - surely that whole thing isn't needed for a few grouped dependencies. Below is what I encountered this morning...

    Example
    One of the two needed dependencies for the DEB I was installing was libqt5core5a 5.7.1 and the OS's repo didn't have that version so found it's DEB, downloaded, and installed it. However, I found that with it, other dependencies were required which were libqt5gui5 (>= 5.0.2), libqt5network5 (>= 5.0.2), & libqt5widgets5 (>= 5.2.0~alpha1). These versions also weren't in my repos, so again had to download their debs and install. When installing them, I was prompted for more dependencies (yes, dependency of a dependency, or a dependency) which is when I decided to post. To note, Synergy doesn't have a repo that I am aware of and the version in my repos is extremely old so as far as I know, I must use DEB.

    Any suggestions? Thanks!

    aha_1980A JonBJ 2 Replies Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      What version of Ubuntu are you using ?

      How are you trying to install that Synergy package ?

      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
      • B BzowK

        Hey Guys -

        I was planning to update my installation of Synergy in Ubunutu this morning to 1.10.x when I found that there were some dependencies not met. This isn't the first app that I've had issues with QT5 dependencies being the right version so decided to post using it as an example.

        My primary question is: is there a repo I can add, package to install, or whatever in order to install all libraries for a a version like 5.7.1? I see the full download for QT5 (which I'm not that familiar with) is 1.2gb - surely that whole thing isn't needed for a few grouped dependencies. Below is what I encountered this morning...

        Example
        One of the two needed dependencies for the DEB I was installing was libqt5core5a 5.7.1 and the OS's repo didn't have that version so found it's DEB, downloaded, and installed it. However, I found that with it, other dependencies were required which were libqt5gui5 (>= 5.0.2), libqt5network5 (>= 5.0.2), & libqt5widgets5 (>= 5.2.0~alpha1). These versions also weren't in my repos, so again had to download their debs and install. When installing them, I was prompted for more dependencies (yes, dependency of a dependency, or a dependency) which is when I decided to post. To note, Synergy doesn't have a repo that I am aware of and the version in my repos is extremely old so as far as I know, I must use DEB.

        Any suggestions? Thanks!

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        hi @BzowK,

        you have two options:

        1. build synergy from source code against Qt on your system. if the Qt from your package manager is too old, you can install the download from Qt website you already found
        2. use the deb package. as it seems to be built for another system, that may work or not. you can also try with a newer Qt than 5.7, as they are backward compatible.

        regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        1
        • B BzowK

          Hey Guys -

          I was planning to update my installation of Synergy in Ubunutu this morning to 1.10.x when I found that there were some dependencies not met. This isn't the first app that I've had issues with QT5 dependencies being the right version so decided to post using it as an example.

          My primary question is: is there a repo I can add, package to install, or whatever in order to install all libraries for a a version like 5.7.1? I see the full download for QT5 (which I'm not that familiar with) is 1.2gb - surely that whole thing isn't needed for a few grouped dependencies. Below is what I encountered this morning...

          Example
          One of the two needed dependencies for the DEB I was installing was libqt5core5a 5.7.1 and the OS's repo didn't have that version so found it's DEB, downloaded, and installed it. However, I found that with it, other dependencies were required which were libqt5gui5 (>= 5.0.2), libqt5network5 (>= 5.0.2), & libqt5widgets5 (>= 5.2.0~alpha1). These versions also weren't in my repos, so again had to download their debs and install. When installing them, I was prompted for more dependencies (yes, dependency of a dependency, or a dependency) which is when I decided to post. To note, Synergy doesn't have a repo that I am aware of and the version in my repos is extremely old so as far as I know, I must use DEB.

          Any suggestions? Thanks!

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @BzowK
          I don't know if this helps/can be applied to your situation, but FWIW I stuck to the Qt distributed with my distro (Ubuntu 17.10). That is 5.7, and I think not 5.7.1. I fetch all packages (compiled) from repos, have never compiled anything Qt, and have not experienced any version incompatibilities anywhere. When I migrate to Ubuntu 18.04 I will do the same, with whatever Qt version it supplies.

          So far as I can see, I got everything (non-Python) Qt via sudo apt-get install qt5-default​. Then all I had to add was sudo ​apt-get install libqt5sql5-mysql​ for the MySQL support I wanted.

          Of course, I don't know about your Synergy, you may be saying it requires a later version....

          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