Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to make .exe file on Ubuntu
Qt 6.11 is out! See what's new in the release blog

How to make .exe file on Ubuntu

Scheduled Pinned Locked Moved General and Desktop
17 Posts 6 Posters 24.4k Views 2 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.
  • R Offline
    R Offline
    Rahul Samanta
    wrote on last edited by
    #8

    Yes sir, I'm able to launch the Qt Creator, in Ubuntu. and developed some demo Qt GUI Application, those are running fine in build mode.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #9

      that is good. You are able to build & run the program. It means the executable is built and it works. Now tell us what are you searching for ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rahul Samanta
        wrote on last edited by
        #10

        Sir, I want a single setup file of that existing QT project in Ubuntu/ Linux, that will run in other Linux machine. now I am running the application in Build mode from Qt Creator.

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
          wrote on last edited by
          #11

          ok. For this you need all the dependent libraries to copied. You can some thing like deployment tools. It should help you to package all the dependent so files

          Dheerendra
          @Community Service
          Certified Qt Specialist
          https://www.pthinks.com

          1 Reply Last reply
          1
          • R Offline
            R Offline
            Rahul Samanta
            wrote on last edited by
            #12

            Sir, I tried this approach but, I am not getting the procedure rather the steps to follow. sir, can you please specify the steps to follow in detail.
            Thanks & Regards,
            Rahul.

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
              wrote on last edited by
              #13

              For any application to run you need to have all dependent libraries. So for qt you need to copy all the dependent libraries like libqtwidgets,libcore, lingui.so etc library files. Please copy all these libraries to new system along with your executable. If you run linuxdeploymet tool it will automatically to copy them. Hope it is clear

              Dheerendra
              @Community Service
              Certified Qt Specialist
              https://www.pthinks.com

              1 Reply Last reply
              1
              • R Offline
                R Offline
                Rahul Samanta
                wrote on last edited by
                #14

                Hi, Sir, inside that deployment tools [linuxdeployqt (https://github.com/probonopd/linuxdeployqt), I can't find out the "linuxdeployqt.appimage "file. Without this file how is it possible to run rather install the Liinuxdeployqt tools??
                Thanks & Regards,
                Rahul.

                1 Reply Last reply
                0
                • dheerendraD Offline
                  dheerendraD Offline
                  dheerendra
                  Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
                  wrote on last edited by
                  #15

                  @Rahul-Samanta In general you need dependent library for the program to work. Copy all the Qt*.so files along with executable. It should work.

                  Dheerendra
                  @Community Service
                  Certified Qt Specialist
                  https://www.pthinks.com

                  R 1 Reply Last reply
                  0
                  • dheerendraD dheerendra

                    @Rahul-Samanta In general you need dependent library for the program to work. Copy all the Qt*.so files along with executable. It should work.

                    R Offline
                    R Offline
                    Rahul Samanta
                    wrote on last edited by
                    #16

                    @dheerendra said in How to make .exe file on Ubuntu:

                    @Rahul-Samanta In general you need dependent library for the program to work. Copy all the Qt*.so files along with executable. It should work.

                    Hi Sir, I have fixed all those deployment issues using the linuxdeplyqt and linuxdeployqt.appimage, able to create executable for QT application. also tested the application for other Linux pc, and its working fine.
                    Thanks & Regards,
                    Rahul.

                    T 1 Reply Last reply
                    1
                    • R Rahul Samanta

                      @dheerendra said in How to make .exe file on Ubuntu:

                      @Rahul-Samanta In general you need dependent library for the program to work. Copy all the Qt*.so files along with executable. It should work.

                      Hi Sir, I have fixed all those deployment issues using the linuxdeplyqt and linuxdeployqt.appimage, able to create executable for QT application. also tested the application for other Linux pc, and its working fine.
                      Thanks & Regards,
                      Rahul.

                      T Offline
                      T Offline
                      the woft
                      wrote on last edited by the woft
                      #17

                      @Rahul-Samanta hi sir , you can guide for me using linuxdeplyqt and linuxdeployqt.appimage

                      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