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

How to make .exe file on Ubuntu

Scheduled Pinned Locked Moved General and Desktop
17 Posts 6 Posters 20.0k 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.
  • R Offline
    R Offline
    Rahul Samanta
    wrote on 17 Nov 2018, 13:05 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
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 17 Nov 2018, 13:11 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
      http://www.pthinks.com

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rahul Samanta
        wrote on 17 Nov 2018, 13:48 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
        • D Offline
          D Offline
          dheerendra
          Qt Champions 2022
          wrote on 17 Nov 2018, 16:18 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
          http://www.pthinks.com

          1 Reply Last reply
          1
          • R Offline
            R Offline
            Rahul Samanta
            wrote on 18 Nov 2018, 11:51 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
            • D Offline
              D Offline
              dheerendra
              Qt Champions 2022
              wrote on 18 Nov 2018, 12:37 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
              http://www.pthinks.com

              1 Reply Last reply
              1
              • R Offline
                R Offline
                Rahul Samanta
                wrote on 19 Nov 2018, 10:25 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
                • D Offline
                  D Offline
                  dheerendra
                  Qt Champions 2022
                  wrote on 25 Nov 2018, 06:47 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
                  http://www.pthinks.com

                  R 1 Reply Last reply 26 Nov 2018, 06:15
                  0
                  • D dheerendra
                    25 Nov 2018, 06:47

                    @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 26 Nov 2018, 06:15 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 15 Jun 2023, 09:21
                    1
                    • R Rahul Samanta
                      26 Nov 2018, 06:15

                      @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 15 Jun 2023, 09:21 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