Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Linuxdeployqt issues

    Installation and Deployment
    4
    13
    1396
    Loading More Posts
    • 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.
    • jsulm
      jsulm Lifetime Qt Champion @Ahsan Niaz last edited by

      @Ahsan-Niaz said in Linuxdeployqt issues:

      I want to create an executable file

      The executable file is the one created during build.
      linuxdeployqt creates a directory containing your executable and needed libs.
      Did linuxdeployqt create such a directory and did you run the app from there?

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

      1 Reply Last reply Reply Quote 0
      • A
        Ahsan Niaz last edited by

        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)

        jsulm 1 Reply Last reply Reply Quote 0
        • jsulm
          jsulm Lifetime Qt Champion @Ahsan Niaz last edited by

          @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 Reply Quote 0
          • A
            Ahsan Niaz last edited by

            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?

            jsulm 1 Reply Last reply Reply Quote 0
            • jsulm
              jsulm Lifetime Qt Champion @Ahsan Niaz last edited by

              @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 Reply Quote 0
              • A
                Ahsan Niaz last edited by 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)

                sierdzio 1 Reply Last reply Reply Quote 0
                • sierdzio
                  sierdzio Moderators @Ahsan Niaz last edited by

                  @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 Reply Quote 1
                  • A
                    Ahsan Niaz last edited by Ahsan Niaz

                    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 Reply Quote 0
                    • sierdzio
                      sierdzio Moderators last edited by

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

                      (Z(:^

                      1 Reply Last reply Reply Quote 0
                      • A
                        Ahsan Niaz last edited by

                        @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 Reply Quote 0
                        • sierdzio
                          sierdzio Moderators last edited by

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

                          (Z(:^

                          1 Reply Last reply Reply Quote 1
                          • C
                            chimobien last edited by

                            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 Reply Quote 0
                            • First post
                              Last post