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. Is necessary have QT creator if i already created my interface

Is necessary have QT creator if i already created my interface

Scheduled Pinned Locked Moved Solved General and Desktop
17 Posts 6 Posters 1.9k 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.
  • mrjjM mrjj

    Hi
    If you mean run the compiled app standalone, then please see here
    https://forum.qt.io/topic/92577/dll-missing/2

    D Offline
    D Offline
    deleted396
    wrote on last edited by
    #5

    @mrjj yes this, then, if i want to run my app (interface) in other computer, because is a app for my final project and i will need to run in others computers. Do i just need to place the missings DLL in the same folder?

    mrjjM jsulmJ 2 Replies Last reply
    0
    • D deleted396

      @mrjj yes this, then, if i want to run my app (interface) in other computer, because is a app for my final project and i will need to run in others computers. Do i just need to place the missings DLL in the same folder?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #6

      @AdrianCruz
      Yes , basically its just a folder with the Qt dlls you app needs.
      There is tool to help get them.

      D 1 Reply Last reply
      0
      • D deleted396

        @mrjj yes this, then, if i want to run my app (interface) in other computer, because is a app for my final project and i will need to run in others computers. Do i just need to place the missings DLL in the same folder?

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #7

        @AdrianCruz You should take a look at https://doc.qt.io/Qt-5/windows-deployment.html

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

        1 Reply Last reply
        1
        • mrjjM mrjj

          @AdrianCruz
          Yes , basically its just a folder with the Qt dlls you app needs.
          There is tool to help get them.

          D Offline
          D Offline
          deleted396
          wrote on last edited by
          #8

          @mrjj Thanks so much! i have tried to find the missing DLLs with the windows tool but i received this message when i run the tool

          Warning: Cannot find GCC installation directory. g++.exe must be in the path.

          And also, after, many DLLs are still missing. What is the issue?

          D 1 Reply Last reply
          0
          • D deleted396

            @mrjj Thanks so much! i have tried to find the missing DLLs with the windows tool but i received this message when i run the tool

            Warning: Cannot find GCC installation directory. g++.exe must be in the path.

            And also, after, many DLLs are still missing. What is the issue?

            D Offline
            D Offline
            deleted396
            wrote on last edited by
            #9

            @AdrianCruz I found the problem. Just needed to include the installation of MinGW in the path. Now the windows tool run properly but, i have found a new issue, when i try to run the .exe, i receive of windows a message that it says that it cannot find libwinpthread-1.dll. Another solution?

            JonBJ JKSHJ 2 Replies Last reply
            0
            • D deleted396

              @AdrianCruz I found the problem. Just needed to include the installation of MinGW in the path. Now the windows tool run properly but, i have found a new issue, when i try to run the .exe, i receive of windows a message that it says that it cannot find libwinpthread-1.dll. Another solution?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #10

              @AdrianCruz
              It's another MinGW DLL. Either if you're going to do it yourself by hand make sure you copy all the needed stuff, or better use the Windows deployment tool to make up a package for distribution and do it properly.

              1 Reply Last reply
              2
              • D deleted396

                @AdrianCruz I found the problem. Just needed to include the installation of MinGW in the path. Now the windows tool run properly but, i have found a new issue, when i try to run the .exe, i receive of windows a message that it says that it cannot find libwinpthread-1.dll. Another solution?

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #11

                @AdrianCruz said in Is necessary have QT creator if i already created my interface:

                I found the problem. Just needed to include the installation of MinGW in the path.

                No, please don't add MinGW to your PATH! This can break other apps.

                You should deploy your .exe and DLLs properly. @JonB already mentioned the Windows deployment tool: https://doc.qt.io/Qt-5/windows-deployment.html

                At the end of the deployment, the required MinGW and Qt DLLs will be in the same folder as your .exe.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                D 1 Reply Last reply
                1
                • JKSHJ JKSH

                  @AdrianCruz said in Is necessary have QT creator if i already created my interface:

                  I found the problem. Just needed to include the installation of MinGW in the path.

                  No, please don't add MinGW to your PATH! This can break other apps.

                  You should deploy your .exe and DLLs properly. @JonB already mentioned the Windows deployment tool: https://doc.qt.io/Qt-5/windows-deployment.html

                  At the end of the deployment, the required MinGW and Qt DLLs will be in the same folder as your .exe.

                  D Offline
                  D Offline
                  deleted396
                  wrote on last edited by deleted396
                  #12

                  @JKSH then, i will delete the MinGW of the path. But when i am using the windows tool and the tool returns this :

                  !https://ibb.co/cOeaEJ

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    deleted396
                    wrote on last edited by
                    #13

                    Now it's fixed, but i have another question...ajajaja

                    I have my app working without opening QT creator, but the background picture of my app is not appear, why??

                    JKSHJ 1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #14

                      Hi,

                      What path are you using to load it ?
                      What about using Qt resources system to get it builtin in your application ?

                      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
                      1
                      • D deleted396

                        Now it's fixed, but i have another question...ajajaja

                        I have my app working without opening QT creator, but the background picture of my app is not appear, why??

                        JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #15

                        @AdrianCruz said in Is necessary have QT creator if i already created my interface:

                        the background picture of my app is not appear, why??

                        Some possible reasons:

                        • Your app can't find the picture
                        • You didn't deploy the required image plugin

                        How do you load the background picture?

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        1 Reply Last reply
                        1
                        • D Offline
                          D Offline
                          deleted396
                          wrote on last edited by
                          #16

                          @JKSH with the next code:

                          QPixmap bkgnd("../InterfazKinect/img/foto_index_sinTXT.png");
                          

                          Running in QT creator the picture appears but using the executable not.

                          mrjjM 1 Reply Last reply
                          0
                          • D deleted396

                            @JKSH with the next code:

                            QPixmap bkgnd("../InterfazKinect/img/foto_index_sinTXT.png");
                            

                            Running in QT creator the picture appears but using the executable not.

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #17

                            @AdrianCruz
                            well its a relative path.
                            so if u go to exe. and go one step back it expects there to be
                            InterfazKinect folder and inside there the img folder.
                            To avoid this, you can use q resource files.
                            http://doc.qt.io/qt-5/resources.html
                            http://www.bogotobogo.com/Qt/Qt5_Resource_Files.php

                            its then compiled into exe.

                            1 Reply Last reply
                            2

                            • Login

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