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. Can't run 64bit QMainWindow default project -Windows 10
Qt 6.11 is out! See what's new in the release blog

Can't run 64bit QMainWindow default project -Windows 10

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 744 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.
  • C Offline
    C Offline
    ChiefGeo
    wrote on last edited by
    #1

    Hello,

    I am having difficulty running a stock QMainWindow project through Qt Creator. I get the message:
    21:35:22: Starting C:\Programming_IDES\Qt_projects\build-TodoApp-Kit2_64bit-Debug\debug\TodoApp.exe ...
    21:35:22: The program has unexpectedly finished.
    21:35:22: The process was ended forcefully.
    21:35:22: C:\Programming_IDES\Qt_projects\build-TodoApp-Kit2_64bit-Debug\debug\TodoApp.exe crashed.

    When I use a 32 bit kit everything works fine. Switching to a 64 bit kit causes this issue. I am able to run a console application with the 64bit kit.!
    cde8c4bb-4466-47d4-907d-837b24ca85be-image.png
    22bdf896-a411-446c-a0bb-c5fc01ca7427-image.png

    Trying to run in debug mode does not help. The debugger exits and the app never appears. I'm not sure what could be the issue. Thanks in advance.

    jsulmJ 1 Reply Last reply
    0
    • C ChiefGeo

      Any word on this?

      B Offline
      B Offline
      Bonnie
      wrote on last edited by Bonnie
      #5

      @ChiefGeo Try to run the exe outside Qt Creator.
      Simpliest way: copy the exe to Qt bin dir and double click to run it.
      Sometimes you'll get infomation about what problems cause the crash.

      C 1 Reply Last reply
      2
      • C ChiefGeo

        Hello,

        I am having difficulty running a stock QMainWindow project through Qt Creator. I get the message:
        21:35:22: Starting C:\Programming_IDES\Qt_projects\build-TodoApp-Kit2_64bit-Debug\debug\TodoApp.exe ...
        21:35:22: The program has unexpectedly finished.
        21:35:22: The process was ended forcefully.
        21:35:22: C:\Programming_IDES\Qt_projects\build-TodoApp-Kit2_64bit-Debug\debug\TodoApp.exe crashed.

        When I use a 32 bit kit everything works fine. Switching to a 64 bit kit causes this issue. I am able to run a console application with the 64bit kit.!
        cde8c4bb-4466-47d4-907d-837b24ca85be-image.png
        22bdf896-a411-446c-a0bb-c5fc01ca7427-image.png

        Trying to run in debug mode does not help. The debugger exits and the app never appears. I'm not sure what could be the issue. Thanks in advance.

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @ChiefGeo Do you have anti virus software running?

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

        C 1 Reply Last reply
        0
        • jsulmJ jsulm

          @ChiefGeo Do you have anti virus software running?

          C Offline
          C Offline
          ChiefGeo
          wrote on last edited by
          #3

          @jsulm The only antivirus protection I have on is under Windows security. I turned that off, relaunched the app and it fails the exact same way still.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ChiefGeo
            wrote on last edited by
            #4

            Any word on this?

            B 1 Reply Last reply
            0
            • C ChiefGeo

              Any word on this?

              B Offline
              B Offline
              Bonnie
              wrote on last edited by Bonnie
              #5

              @ChiefGeo Try to run the exe outside Qt Creator.
              Simpliest way: copy the exe to Qt bin dir and double click to run it.
              Sometimes you'll get infomation about what problems cause the crash.

              C 1 Reply Last reply
              2
              • B Bonnie

                @ChiefGeo Try to run the exe outside Qt Creator.
                Simpliest way: copy the exe to Qt bin dir and double click to run it.
                Sometimes you'll get infomation about what problems cause the crash.

                C Offline
                C Offline
                ChiefGeo
                wrote on last edited by
                #6

                @Bonnie Thanks for the advice. After doing what you instructed I found that my Qt5Gui.dll was corrupted (maybe a few others also). Reinstalling Qt from scratch has fixed the issue. Thanks!

                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