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. Static configuration failing on ubuntu

Static configuration failing on ubuntu

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 1.4k Views
  • 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.
  • N Offline
    N Offline
    nxshar2
    wrote on last edited by
    #1

    I first did a standard installation using 64 bit .run file on my ubuntu.
    Then since I wanted to deploy on server environments without qt, I wanted to build a static framework too.
    I downloaded the tar.gz file but on tar -xvf it fails with errors.
    Has anyone previously noticed this? It takes about 6 hours to download in the first place hence my question before I restart a download.

    Is there a faster way out there for qt downloads?

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

      Hi,

      You can try e.g. clone Qt from git

      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
      • N Offline
        N Offline
        nxshar2
        wrote on last edited by
        #3

        Yes, Download from mirror sites is both faster and the new file didn't give any errors. Download time reduced from 6 hours -> 45 mins when I downloaded from a mirror in asia.

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

          Nice, so your problem is solved ?

          If so please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          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
          • N Offline
            N Offline
            nxshar2
            wrote on last edited by
            #5

            Not solved completely.
            I did static configure, make and make install.
            Afterwards I opened the example clocks project.
            Added Confi += static and tried to deploy it to linux box. It still gave me the error QtWidgets.so not found.

            How can I check that static install worked?
            Should i launch the static configure qt seperately? IF so how?
            ANything else I am missing?

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

              Indeed you need to build Qt statically and it's best to store it in a different folder that the dynamic version. If the build's successful then you should not have any so files.

              You must also add that version of Qt to Qt Creator and create a kit using it.

              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