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. .exe file doesn’t start

.exe file doesn’t start

Scheduled Pinned Locked Moved Installation and Deployment
24 Posts 7 Posters 23.4k 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.
  • K Offline
    K Offline
    koahnig
    wrote on last edited by
    #8

    Does your application really have a GUI already?

    It is a bit strange that you do not get any error message as you have already written in starting your post. The only explanation I have at the moment is that you are not starting the GUI. However, you state that the application (including the gui) works fine in qt creator.

    Vote the answer(s) that helped you to solve your issue(s)

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TheEvilWeed
      wrote on last edited by
      #9

      Yes it has.
      Do you want to see my source code?
      Here's the project folder:
      http://dl.dropbox.com/u/36957584/cpp_web.zip

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #10

        I have no explanation for your problem.
        I am running windows 7 64 bit, but with msvc2005. So starting your exe results in an error message that mingw*.dll is missing. That was clear.
        Compilation and starting in the msvc starts in the debugger normally, a browser appears. Starting the exe externally the same thing. No problems at all.

        Maybe you have some problems with the installation and should reinstall.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TheEvilWeed
          wrote on last edited by
          #11

          Ok.
          Should I consider some important points?
          Or just reinstall?

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #12

            I guess that this might be a problem with the mingw compiler installation. However, I do not have any experience there. Maybe there are some environment settings (like path), which you have not seen during installation. Maybe there are others. So watch out for any details there and follow. But those are only blind guesses.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              TheEvilWeed
              wrote on last edited by
              #13

              Ok I'll try later when I'm home.
              Thanks (:

              1 Reply Last reply
              0
              • K Offline
                K Offline
                koahnig
                wrote on last edited by
                #14

                Good luck !!

                Vote the answer(s) that helped you to solve your issue(s)

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  TheEvilWeed
                  wrote on last edited by
                  #15

                  Now I reinstalled QtCreator.
                  The projects which run in the command prompt are working but the GUI projects not.
                  The GUI doesn't show up.

                  Someone an idea?

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    koahnig
                    wrote on last edited by
                    #16

                    Hi there,
                    I am wondering why you installed only qt creator but not the whole suite?
                    Since in the creator was working, but it did not outside there must be probably something with the normal setup.
                    Speaking about the environment. Do you have an version of Qt installed? Or do you have an application using old Qt libs installed? However, you should see an error message then, but that might be a reason.

                    Vote the answer(s) that helped you to solve your issue(s)

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      JacksonHeliyam
                      wrote on last edited by
                      #17

                      you reinstall it

                      [url=http://www.quicklingo.com/en/interpretation/italian-interpreters]italian interpreters[/url]

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        TheEvilWeed
                        wrote on last edited by
                        #18

                        Sorry I meant i reinstalled the whole QtSDK kit

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          TheEvilWeed
                          wrote on last edited by
                          #19

                          Push Push Push
                          Still got the problem!

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            Seraph
                            wrote on last edited by
                            #20

                            Yes, i got the same problem.
                            I have a desktop open gl project and i'm trying to deploy it for windows.
                            I copied all required .DLL files next to the .exe file. (Release build)
                            The program starts and runs fine on my workstations but only on machines which have Qt5 Desktop OpenGL(self compiled) installed!
                            Other machines (even those who have the normal Qt5.0.0 installed) wont start the program! It starts and stops again and you don't see anything. Sometimes one can see the window frame and then the application crashes... Do i miss smth.?

                            1 Reply Last reply
                            0
                            • B Offline
                              B Offline
                              broinel
                              wrote on last edited by
                              #21

                              Place the libEGL.dll into the exe's folder.

                              In my case that helped. I'm still having the same problem when i want to run the exe on other computers. But at least it works so far on mine.

                              Any ideas?

                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                broinel
                                wrote on last edited by
                                #22

                                okey i found a solution.

                                • place all the dll's the program is asking for in your directory
                                • place LibEGL.dll in your directory
                                • create a new folder named "platforms"
                                • place "qminimal.dll" and "qwindows.dll" in that folder

                                start your exe

                                G 1 Reply Last reply
                                0
                                • B broinel

                                  okey i found a solution.

                                  • place all the dll's the program is asking for in your directory
                                  • place LibEGL.dll in your directory
                                  • create a new folder named "platforms"
                                  • place "qminimal.dll" and "qwindows.dll" in that folder

                                  start your exe

                                  G Offline
                                  G Offline
                                  Giver_Kdk
                                  wrote on last edited by
                                  #23

                                  @broinel Yeah u're right. And if anyone is wondering where to find those .dll files, u will find it on "bin" and "plugins" folder of qt installation directory.

                                  J.HilkJ 1 Reply Last reply
                                  0
                                  • G Giver_Kdk

                                    @broinel Yeah u're right. And if anyone is wondering where to find those .dll files, u will find it on "bin" and "plugins" folder of qt installation directory.

                                    J.HilkJ Offline
                                    J.HilkJ Offline
                                    J.Hilk
                                    Moderators
                                    wrote on last edited by
                                    #24

                                    @Giver_Kdk thats a very old thread here, and copying dll's by hand is usually the wrong and error prone way to deploy your qt application.

                                    Qt offers - officially - for Windows the windeployqt tool and for macOS macdeployqt tool:
                                    https://doc.qt.io/qt-5/windows-deployment.html
                                    https://doc.qt.io/qt-5/macos-deployment.html#macdeploy

                                    for linux, you actually have to do it by hand
                                    https://doc.qt.io/qt-5/linux-deployment.html
                                    or use the unofficial linuxdeployqt tool
                                    https://github.com/probonopd/linuxdeployqt


                                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                                    Q: What's that?
                                    A: It's blue light.
                                    Q: What does it do?
                                    A: It turns blue.

                                    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