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. qmake loop and i can't run qt sample app
Forum Updated to NodeBB v4.3 + New Features

qmake loop and i can't run qt sample app

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 725 Views 3 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.
  • AmrCoderA Offline
    AmrCoderA Offline
    AmrCoder
    wrote on last edited by
    #1

    Hello,
    from minutes ago i changed my windows version with a new one and start installing QT, i want to test a sample app hello world before i start work on my projects, when i pressed to run the sample i got this

    23:00:00: Running steps for project SecondTestQt...
    23:00:00: Starting: "C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe" "D:\WorkPlace\c++ Projects\SecondTestQt\SecondTestQt.pro" -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    23:00:01: The process "C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe" exited normally.
    23:00:01: Starting: "C:\Qt\Qt5.11.1\Tools\mingw530_32\bin\mingw32-make.exe" qmake_all
    C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe -o Makefile ..\SecondTestQt\SecondTestQt.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe -o Makefile ..\SecondTestQt\SecondTestQt.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe -o Makefile ..\SecondTestQt\SecondTestQt.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe -o Makefile ..\SecondTestQt\SecondTestQt.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    C:\Qt\Qt5.11.1\5.11.1\mingw53_32\bin\qmake.exe -o Makefile ..\SecondTestQt\SecondTestQt.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
    23:00:08: The process "C:\Qt\Qt5.11.1\Tools\mingw530_32\bin\mingw32-make.exe" exited with code -1.
    23:00:08: Canceled build/deployment.
    23:00:08: Elapsed time: 00:07.
    

    if i leave it, it will continue the loop, now how can i solve this problem by a clear steps i searched on qt qmake loop i found something about timestamp and so on but i did not understand anything no solution, this my first time to face such kind of problem, as the time mention here when i installed my windows i change the location after installation to my country to set my time correctly i don't know if this help.
    Thanks in advance.

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

      hi
      So it does this with a fresh sample ?
      I mean you did create it after you updated windows and
      setting the time zone to correct location ?
      I have only seen this with files that had time stamp in the future/past so
      first step is to check the actual files in file manger and see what timestamps they have compared
      to the actual system clock.

      1 Reply Last reply
      2
      • AmrCoderA Offline
        AmrCoderA Offline
        AmrCoder
        wrote on last edited by
        #3

        yes this happened on creating a new project a fresh sample not old project, i set up my date and time setting after install QT i don't know also if this help

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

          Hi,

          What you can try is to modify all the files of your project, including the .pro file, to ensure their modification date matches your current date/time settings.

          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
          • AmrCoderA Offline
            AmrCoderA Offline
            AmrCoder
            wrote on last edited by
            #5

            how should I for every project to go throw all its file and change it's date and time to the current and then open it fast in QT to match it?
            if I uninstall qt and reinstall it, can this solve the problem?

            1 Reply Last reply
            0
            • AmrCoderA Offline
              AmrCoderA Offline
              AmrCoder
              wrote on last edited by
              #6

              all my project files are old than the current date

              1 Reply Last reply
              0
              • AmrCoderA Offline
                AmrCoderA Offline
                AmrCoder
                wrote on last edited by
                #7

                i go to the qmake in the QT folder i found it modify in a date in the future i unistall the QT and reinstall it in my country correct date and it worked now

                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