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. Application run on Windows 10 but not in Windows 7.
QtWS25 Last Chance

Application run on Windows 10 but not in Windows 7.

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 5 Posters 1.7k 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.
  • N Offline
    N Offline
    nln29
    wrote on last edited by
    #1

    Hello,

    I use Qt Creator V5.12 to create a Windows application in C++. My application run with Windows 10 but they don't run with Windows 7. It's write "Application.exe has stopped working".

    Has anyone ever had this problem ?

    Thanks,
    Nicolas

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums
      What compiler did you use ?
      Sometimes the VS runtime is not installed on win 7.

      Also you are 1000% sure its not a bug in your app?
      Try test with a clean default GUI project and see.

      You are using windeployment tool to make the distribution folder , yes ?

      N 1 Reply Last reply
      2
      • mrjjM mrjj

        Hi and welcome to the forums
        What compiler did you use ?
        Sometimes the VS runtime is not installed on win 7.

        Also you are 1000% sure its not a bug in your app?
        Try test with a clean default GUI project and see.

        You are using windeployment tool to make the distribution folder , yes ?

        N Offline
        N Offline
        nln29
        wrote on last edited by
        #3

        @mrjj thanks for your reply.

        I use the compiler "Release".
        I think this could be my application, the program stop on this line on Windows 7 :
        ui->debugTable->setItem(13, 1, newItem);
        But i don't understand why the application run Windows 10 and not in Windows 7 if there was a problem on my application, it should stop on Windows 10 ?

        mrjjM 1 Reply Last reply
        0
        • N nln29

          @mrjj thanks for your reply.

          I use the compiler "Release".
          I think this could be my application, the program stop on this line on Windows 7 :
          ui->debugTable->setItem(13, 1, newItem);
          But i don't understand why the application run Windows 10 and not in Windows 7 if there was a problem on my application, it should stop on Windows 10 ?

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

          @nln29
          Hi
          By compiler, i mean mingw or visual studio.

          The release and debug are the mode which exe is
          produced. Debug included more information.

          Do you run the app in same way on both win 7 or win 10 ?
          I mean , release mode. in both.

          yes if it crashes on win7 , it should also crash in win 10 IF
          same compiler and same "mode" is used. AND
          its an actual program bug.

          N 1 Reply Last reply
          2
          • mrjjM mrjj

            @nln29
            Hi
            By compiler, i mean mingw or visual studio.

            The release and debug are the mode which exe is
            produced. Debug included more information.

            Do you run the app in same way on both win 7 or win 10 ?
            I mean , release mode. in both.

            yes if it crashes on win7 , it should also crash in win 10 IF
            same compiler and same "mode" is used. AND
            its an actual program bug.

            N Offline
            N Offline
            nln29
            wrote on last edited by
            #5

            @mrjj the compiler i use it's mingw.

            Yes, i run the app on the same way on both win 7 and win 10.

            mrjjM 1 Reply Last reply
            0
            • N nln29

              @mrjj the compiler i use it's mingw.

              Yes, i run the app on the same way on both win 7 and win 10.

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

              @nln29
              Hi
              I would try a new clean GUI project and see it that also crashes.

              That way we can know if its just a normal bug or something else.

              1 Reply Last reply
              2
              • B Offline
                B Offline
                Bikram Shishodia
                wrote on last edited by
                #7

                Same problem I am facing.
                In windows 10 and windows server its never crashes.
                But its crashing in windows 7 after running sometime.(It is not immediately crashing.)
                I think this is bug in QT.

                jsulmJ 1 Reply Last reply
                0
                • B Bikram Shishodia

                  Same problem I am facing.
                  In windows 10 and windows server its never crashes.
                  But its crashing in windows 7 after running sometime.(It is not immediately crashing.)
                  I think this is bug in QT.

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

                  @Bikram-Shishodia said in Application run on Windows 10 but not in Windows 7.:

                  I think this is bug in QT.

                  Could be. You can file a bug in Qt bug tracker. But you will need to provide more information there than you did here.

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

                  1 Reply Last reply
                  1
                  • M Offline
                    M Offline
                    Miguel Castro
                    wrote on last edited by
                    #9

                    Create an application in static mode in Visual studio and it also does not run on windows XP, vista and windows 7 ...
                    It provides in release mode without static compilation and does not work either.
                    Using Visual Studio 2019
                    C: \ Qt \ 5.14.2 \ msvc2017
                    C: \ Qt \ 5.14.2 \ msvc2017_64

                    jsulmJ 1 Reply Last reply
                    0
                    • M Miguel Castro

                      Create an application in static mode in Visual studio and it also does not run on windows XP, vista and windows 7 ...
                      It provides in release mode without static compilation and does not work either.
                      Using Visual Studio 2019
                      C: \ Qt \ 5.14.2 \ msvc2017
                      C: \ Qt \ 5.14.2 \ msvc2017_64

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

                      @Miguel-Castro I don't think Qt 5.14 supports Windows XP/Vista at all. See https://doc.qt.io/qt-5/supported-platforms.html
                      On which Windows version did you build the application?
                      Did you deploy your app correctly?

                      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