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. Linuxdeployqt issues
QtWS25 Last Chance

Linuxdeployqt issues

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
13 Posts 4 Posters 3.1k 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.
  • A Ahsan Niaz

    I created a QT app, released it, there was a new folder of release, I opened the release folder and copied Process_Orders exe file and pasted in a newly created folder called(deploy-with-linuxdeployqt)

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #4

    @Ahsan-Niaz said in Linuxdeployqt issues:

    pasted in a newly created folder called(deploy-with-linuxdeployqt)

    What is this folder?
    I don't understand what you are doing.
    Please read https://github.com/probonopd/linuxdeployqt/blob/master/README.md

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Ahsan Niaz
      wrote on last edited by
      #5

      I have already gone through the link you sent. I have gone through many other websites and tutorials.

      I am going to rephrase all the steps I followed

      • In qt creator, I created an app, it ran perfectly, I selected release mode, and built it again,
      • This folder was created after I built the release mode (build-Process_Orders-Desktop_Qt_5_9_1_GCC_64bit-Release)
      • In this release folder, I had a file with the name (Process_Orders)
      • I copied this Process_Orders file,
      • created a new folder in this directory (/Documents/cpp). Named new folder as (deploy-with-linuxdeployqt)
      • Pasted (Process_Orders) file in (deploy-with-linuxdeployqt) along with an icon image and .desktop file
      • Downloaded linuxdeployqt-7-x86_64.AppImage from github(In Downloads)
      • Executed this command in terminal after changing directory to downloads (./linuxdeployqt-7-x86_64.AppImage ~/Documents/cpp/deploy-with-linuxdeployqt/Process_Orders -unsupported-allow-new-glibc)

      Where did I make mistake?

      jsulmJ 1 Reply Last reply
      0
      • A Ahsan Niaz

        I have already gone through the link you sent. I have gone through many other websites and tutorials.

        I am going to rephrase all the steps I followed

        • In qt creator, I created an app, it ran perfectly, I selected release mode, and built it again,
        • This folder was created after I built the release mode (build-Process_Orders-Desktop_Qt_5_9_1_GCC_64bit-Release)
        • In this release folder, I had a file with the name (Process_Orders)
        • I copied this Process_Orders file,
        • created a new folder in this directory (/Documents/cpp). Named new folder as (deploy-with-linuxdeployqt)
        • Pasted (Process_Orders) file in (deploy-with-linuxdeployqt) along with an icon image and .desktop file
        • Downloaded linuxdeployqt-7-x86_64.AppImage from github(In Downloads)
        • Executed this command in terminal after changing directory to downloads (./linuxdeployqt-7-x86_64.AppImage ~/Documents/cpp/deploy-with-linuxdeployqt/Process_Orders -unsupported-allow-new-glibc)

        Where did I make mistake?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #6

        @Ahsan-Niaz said in Linuxdeployqt issues:

        Where did I make mistake?

        What mistake do you mean?
        I only see some warnings.
        What looks wrong is "/home/kaleem/anaconda3/plugins/platformthemes/libqgtk2.so".
        Do you have anything related to /home/kaleem/anaconda3 in your PATH?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Ahsan Niaz
          wrote on last edited by Ahsan Niaz
          #7

          ./linuxdeployqt-7-x86_64.AppImage ~/Documents/cpp/deploy-with-linuxdeployqt/Process_Orders -unsupported-allow-new-glibc
          This command was supposed to create an exe or sh file in the Downloads folder, but it didn't. why?do I need to do something else as well? some other command to execute on the terminal? to get what I need.
          Remember, I need an exe or sh or whatever file, that runs on a double click and does according to my programming

          I followed this article (https://medium.com/swlh/how-to-deploy-your-qt-applications-to-linux-operating-system-with-linuxdeployqt-3c004a43c67a)

          sierdzioS 1 Reply Last reply
          0
          • A Ahsan Niaz

            ./linuxdeployqt-7-x86_64.AppImage ~/Documents/cpp/deploy-with-linuxdeployqt/Process_Orders -unsupported-allow-new-glibc
            This command was supposed to create an exe or sh file in the Downloads folder, but it didn't. why?do I need to do something else as well? some other command to execute on the terminal? to get what I need.
            Remember, I need an exe or sh or whatever file, that runs on a double click and does according to my programming

            I followed this article (https://medium.com/swlh/how-to-deploy-your-qt-applications-to-linux-operating-system-with-linuxdeployqt-3c004a43c67a)

            sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #8

            @Ahsan-Niaz said in Linuxdeployqt issues:

            ./linuxdeployqt-7-x86_64.AppImage ~/Documents/cpp/deploy-with-linuxdeployqt/Process_Orders -unsupported-allow-new-glibc
            This command was supposed to create an exe or sh file in the Downloads folder, but it didn't. why?

            You need to pass -appimage flag to linuxdeployqt. This way it will generate an AppImage executable with everything bundled inside.

            (Z(:^

            1 Reply Last reply
            1
            • A Offline
              A Offline
              Ahsan Niaz
              wrote on last edited by Ahsan Niaz
              #9

              Thanks for (-appimage) suggestion, yes it worked, It created (myfirst-x86_64.AppImage), but when I double click it, or right_click->run , it does not do anything, no Window pops up, nothing happens
              How should I proceed now? @sierdzio?

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #10

                Run it from terminal and observe the output for any warnings or errors.

                (Z(:^

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  Ahsan Niaz
                  wrote on last edited by
                  #11

                  @sierdzio
                  i ran it with (./myfirst-x86_64.AppImage) on terminal
                  it gave following output
                  ./myfirst-x86_64.AppImage: symbol lookup error: ./myfirst-x86_64.AppImage: undefined symbol: _ZdlPvm, version Qt_5

                  1 Reply Last reply
                  0
                  • sierdzioS Offline
                    sierdzioS Offline
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #12

                    Well, something is wrong :D It's missing some library. Try running ldd on application executable.

                    (Z(:^

                    1 Reply Last reply
                    1
                    • C Offline
                      C Offline
                      chimobien
                      wrote on last edited by
                      #13

                      Hi, I also had a problem after using linuxdeployqt, I run the example of hello_speak to transform text to speech, but I got a warning No text-to-speech plug-ins were found; therefore, my app also does not voice. Please help me. Thanks

                      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