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. Qt Linux deployment
Forum Update on Monday, May 27th 2025

Qt Linux deployment

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 2 Posters 3.8k 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.
  • P Offline
    P Offline
    PouryaTorabi
    wrote on 5 Mar 2019, 10:48 last edited by
    #1

    Hi every one,

    This is my first time using Linux so I'm having a lot of problems. I have written a qml program and wanted to compile it for linux as some one requested it from me. So as I read in the forum, the best way is to compile in a linux environment, so I installed Qt on an Ubuntu OS and compile my project there, it ran without any problem, I even ran the binary from terminal and it ran perfect, So i tried to move it to another PC to test it, it complained about missing some libraries, I tried to copy the
    libraries to /usr/lib, but again it gave an error:

    could not find the Qt platform plugin "xcb in "".
    

    So what should I do now, is there better way for deploying qt apps for linux, I read about linuxdeployqt and tried it, it gave me the error:

    ERROR: The host system is too new.
    

    Can anyone guide me through this?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 5 Mar 2019, 11:15 last edited by
      #2

      Hi,

      What version of Qt are you using ?
      How did you install Qt ?
      On what version of Ubuntu ?
      How did you install linuxdeployqt ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      P 1 Reply Last reply 5 Mar 2019, 13:00
      1
      • S SGaist
        5 Mar 2019, 11:15

        Hi,

        What version of Qt are you using ?
        How did you install Qt ?
        On what version of Ubuntu ?
        How did you install linuxdeployqt ?

        P Offline
        P Offline
        PouryaTorabi
        wrote on 5 Mar 2019, 13:00 last edited by PouryaTorabi 3 May 2019, 13:04
        #3

        @SGaist Qt 5.12.1, Ubuntu 18.04.
        I installed the Qt with the installer version for linux and for linuxdeployqt I downloaded the linuxdeployqt-6-x86_64.AppImage and tried to run it from terminal.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 5 Mar 2019, 22:22 last edited by
          #4

          What is your target distribution ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          P 1 Reply Last reply 7 Mar 2019, 06:37
          0
          • S SGaist
            5 Mar 2019, 22:22

            What is your target distribution ?

            P Offline
            P Offline
            PouryaTorabi
            wrote on 7 Mar 2019, 06:37 last edited by
            #5

            @SGaist I just want to run my app in anohter ubuntu 18.04.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 7 Mar 2019, 22:18 last edited by
              #6

              Then why not use your distribution provided Qt ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              P 1 Reply Last reply 9 Mar 2019, 12:20
              0
              • S SGaist
                7 Mar 2019, 22:18

                Then why not use your distribution provided Qt ?

                P Offline
                P Offline
                PouryaTorabi
                wrote on 9 Mar 2019, 12:20 last edited by
                #7

                @SGaist In windows I would copy the .exe compiled file from debug or release folder and would also copy the required DLLs to the executable folder, so I could easily copy the file and its DLLS to any windows and it would run, In linux I just want to do the same thing, I want to be able to copy my compiled file and its required libraries to another linux and rub it, Just don't know how to do it.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 9 Mar 2019, 22:56 last edited by
                  #8

                  The error message comes with a link to https://github.com/probonopd/linuxdeployqt/issues/340 where you get the full explanation about the message.

                  It also talks about the -unsupported-allow-new-glibc option.

                  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
                  2

                  4/8

                  5 Mar 2019, 22:22

                  • Login

                  • Login or register to search.
                  4 out of 8
                  • First post
                    4/8
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved