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. SOLVED: Application can't start
Forum Updated to NodeBB v4.3 + New Features

SOLVED: Application can't start

Scheduled Pinned Locked Moved General and Desktop
13 Posts 3 Posters 6.8k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Without any error message it would be only guessing so:

    • What OS are you working on ?
    • Which version of Qt are you using ?
    • What compiler are you using ?
    • What error message do you get ?

    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
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #3

      Maybe a problem with the kits? Or your trying to run a debug application outside a debugger environment. As SGalst said, more info please.

      Greetz, Jeroen

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qatto
        wrote on last edited by
        #4

        OS platform: Windows 7 64-bit
        Qt version: 5.0.1
        Compiler: MinGW 4.7 32-bit
        Build Errors: None

        Additional info
        I have been monitoring the application from task manager. Before this problem, the application's process would run on 34mb of memory. But when I start Qt and build, it appears in the task manager processes and disappears when it reaches around 13mb of memory without showing up on the desktop. When I build for the second or third time it doesn't even show up in the task manager processes

        Web/Desktop Developer

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

          Does it also happen with a default constructed application ? (new project -> Qt GUI application and just build and run)

          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
          0
          • Q Offline
            Q Offline
            Qatto
            wrote on last edited by
            #6

            No, it doesn't happen with any other or default project. Just on this project only

            Web/Desktop Developer

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              Qatto
              wrote on last edited by
              #7

              It worked Eventually
              Thanks guys

              Web/Desktop Developer

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

                Can you share what the problem was ? That might be useful to others

                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
                0
                • Q Offline
                  Q Offline
                  Qatto
                  wrote on last edited by
                  #9

                  I copied all the dlls files needed into the release directory. So the app builds and runs. But it can't run alone without Qt. It terminates with Qt5Core.dll as the Fault Module

                  Web/Desktop Developer

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

                    Do you mean starting from QtCreator or directly in the folder containing your executable ?

                    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
                    0
                    • Q Offline
                      Q Offline
                      Qatto
                      wrote on last edited by
                      #11

                      Starting from QtCreator works fine. It terminates with the error when I start the executable directly

                      Web/Desktop Developer

                      1 Reply Last reply
                      0
                      • Q Offline
                        Q Offline
                        Qatto
                        wrote on last edited by
                        #12

                        It actually sounds weird, I thought it would be the executable working fine but its the other way round

                        Web/Desktop Developer

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

                          When you are starting your application outside of QtCreator, the same rules applies as in the "deployment":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html documentation

                          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
                          0

                          • Login

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