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 process cannot be started
Forum Updated to NodeBB v4.3 + New Features

qmake process cannot be started

Scheduled Pinned Locked Moved Solved General and Desktop
16 Posts 4 Posters 2.5k 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.
  • qtyetiQ qtyeti

    Hi,

    did that, but with no luck, no special signs in re dor yellow (for mingw and for MSVC compilers).

    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by
    #4

    @qtyeti
    So start by trying to run just C:\Qt\5.11.2\mingw53_32\bin\qmake.exe from a Command Prompt, completely outside of Qt Creator. "Theoretically" from the error message just this will fail to start, independent of the command-line arguments for the .pro file? Might give you a clue like a missing DLL?

    1 Reply Last reply
    0
    • qtyetiQ Offline
      qtyetiQ Offline
      qtyeti
      wrote on last edited by
      #5

      Running qmake from the command line (without any options) just gives me all the available options, so I assume this is ok.

      And when I run it with this command line:

      C:\Qt\5.11.2\mingw53_32\bin\qmake.exe D:\Daten\Develop\Qt\Test\TestCompile\TestCompile.pro -spec win32-g++ CONFIG+=debug CONFIG+=qml_debug

      I get no message at all....

      Looks like there is some issue with QtCreator, but I have no clue where to look...

      jsulmJ 1 Reply Last reply
      0
      • qtyetiQ qtyeti

        Running qmake from the command line (without any options) just gives me all the available options, so I assume this is ok.

        And when I run it with this command line:

        C:\Qt\5.11.2\mingw53_32\bin\qmake.exe D:\Daten\Develop\Qt\Test\TestCompile\TestCompile.pro -spec win32-g++ CONFIG+=debug CONFIG+=qml_debug

        I get no message at all....

        Looks like there is some issue with QtCreator, but I have no clue where to look...

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

        @qtyeti Maybe anti-virus software blocking qmake.exe when started from QtCreator?

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

        1 Reply Last reply
        2
        • qtyetiQ Offline
          qtyetiQ Offline
          qtyeti
          wrote on last edited by
          #7

          Thanks for the hint, at least I'M now able to start qmake process (Kaspersky blocked it :-((

          But still the qmake process crashes:

          ***```
          10:43:28: Führe Schritte für Projekt text333 aus...
          10:43:28: Starte "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" D:\Daten\Develop\Qt\Test\text333\text333.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
          10:43:28: Der Prozess "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" ist abgestürzt.
          Fehler beim Erstellen/Deployment des Projekts text333 (Kit: Desktop Qt 5.11.2 MinGW 32bit)
          Bei der Ausführung von Schritt "qmake"
          10:43:28: Verstrichene Zeit: 00:00.

          When running the command from the console, no messages are shown....

          K 2 Replies Last reply
          0
          • qtyetiQ qtyeti

            Thanks for the hint, at least I'M now able to start qmake process (Kaspersky blocked it :-((

            But still the qmake process crashes:

            ***```
            10:43:28: Führe Schritte für Projekt text333 aus...
            10:43:28: Starte "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" D:\Daten\Develop\Qt\Test\text333\text333.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
            10:43:28: Der Prozess "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" ist abgestürzt.
            Fehler beim Erstellen/Deployment des Projekts text333 (Kit: Desktop Qt 5.11.2 MinGW 32bit)
            Bei der Ausführung von Schritt "qmake"
            10:43:28: Verstrichene Zeit: 00:00.

            When running the command from the console, no messages are shown....

            K Offline
            K Offline
            koahnig
            wrote on last edited by koahnig
            #8

            @qtyeti

            Nope, qmake does not output the messages as expected by creator. Therefore, creator assumes that it has been crashed.
            IMHO there is no way that creator can determine whether the application actually crashed or simply has been killed manually or by AV app.

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

            1 Reply Last reply
            0
            • qtyetiQ Offline
              qtyetiQ Offline
              qtyeti
              wrote on last edited by
              #9

              I think I give up... Now creator again is not able to start the qmake process. I checked the AV, but this looks ok (qmake is enabled).
              I tried this one: removed the .pro.user file and restarted the qmake out from creator and a new .pro.user was generated. So, what does this tell me? Is something wrong with the error checking in creator or is there a different palce where I should look?

              jsulmJ 1 Reply Last reply
              0
              • qtyetiQ qtyeti

                I think I give up... Now creator again is not able to start the qmake process. I checked the AV, but this looks ok (qmake is enabled).
                I tried this one: removed the .pro.user file and restarted the qmake out from creator and a new .pro.user was generated. So, what does this tell me? Is something wrong with the error checking in creator or is there a different palce where I should look?

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

                @qtyeti Can you try to completely disable your anti-virus software and see whether it works then?

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

                1 Reply Last reply
                0
                • qtyetiQ Offline
                  qtyetiQ Offline
                  qtyeti
                  wrote on last edited by
                  #11

                  Thanks, tried that already, but still no luck...

                  1 Reply Last reply
                  0
                  • qtyetiQ qtyeti

                    Thanks for the hint, at least I'M now able to start qmake process (Kaspersky blocked it :-((

                    But still the qmake process crashes:

                    ***```
                    10:43:28: Führe Schritte für Projekt text333 aus...
                    10:43:28: Starte "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" D:\Daten\Develop\Qt\Test\text333\text333.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
                    10:43:28: Der Prozess "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" ist abgestürzt.
                    Fehler beim Erstellen/Deployment des Projekts text333 (Kit: Desktop Qt 5.11.2 MinGW 32bit)
                    Bei der Ausführung von Schritt "qmake"
                    10:43:28: Verstrichene Zeit: 00:00.

                    When running the command from the console, no messages are shown....

                    K Offline
                    K Offline
                    koahnig
                    wrote on last edited by
                    #12

                    @qtyeti said in qmake process cannot be started:

                    ***```
                    10:43:28: Führe Schritte für Projekt text333 aus...
                    10:43:28: Starte "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" D:\Daten\Develop\Qt\Test\text333\text333.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
                    10:43:28: Der Prozess "C:\Qt\5.11.2\mingw53_32\bin\qmake.exe" ist abgestürzt.
                    Fehler beim Erstellen/Deployment des Projekts text333 (Kit: Desktop Qt 5.11.2 MinGW 32bit)
                    Bei der Ausführung von Schritt "qmake"
                    10:43:28: Verstrichene Zeit: 00:00.

                    When running the command from the console, no messages are shown....

                    Where does "CONFIG+=debug" "CONFIG+=qml_debug" come from?

                    I have just checked with the "Compile Output" pane in my creator. I do not have any additional CONFIG definition there.
                    Do you use qml at all?

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

                    1 Reply Last reply
                    0
                    • qtyetiQ Offline
                      qtyetiQ Offline
                      qtyeti
                      wrote on last edited by
                      #13

                      I don't use qml. Was a standard setting in the qmake options. But even without those options there is no success.
                      Anyway, I disabled Kaspersky AV and Windows defender and still no luck. So I think this will be an issue for the "X-Files" :-))

                      Will switch back to Visual Studio - this is working at least....

                      K 1 Reply Last reply
                      0
                      • qtyetiQ qtyeti

                        I don't use qml. Was a standard setting in the qmake options. But even without those options there is no success.
                        Anyway, I disabled Kaspersky AV and Windows defender and still no luck. So I think this will be an issue for the "X-Files" :-))

                        Will switch back to Visual Studio - this is working at least....

                        K Offline
                        K Offline
                        koahnig
                        wrote on last edited by
                        #14

                        @qtyeti

                        Strange I have changed years back from VS to Qt creator and MinGW because VS was not quite as stable.

                        Anyway one last possibly stupid question, did you install MinGW compiler as well?

                        You should have installed it directlöy with creator and Qt lib and it is part of the tools section.

                        Since you mention VS installation is working. In ancient times VS required some environment settings (e.g. an entry in path), there might be a conflict. With creator the environment stuff is handled independent of Windows. There should be no settings IIRC.

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

                        1 Reply Last reply
                        0
                        • qtyetiQ Offline
                          qtyetiQ Offline
                          qtyeti
                          wrote on last edited by
                          #15

                          There are no stupid questions :-))

                          Yes, MinGW compiler was installed.

                          Checked the env variables, but nothing obvious...

                          Anyway, thanks to everyone for the advices, looks like I have to do without Qt (what a pity).

                          1 Reply Last reply
                          0
                          • qtyetiQ Offline
                            qtyetiQ Offline
                            qtyeti
                            wrote on last edited by
                            #16

                            Hi,

                            just FYI: Now qmake is working again!
                            What I did: uninstalled Visual Studio 2015 (I don't really need it), uninstalled Qt and reinstalled the offline version.

                            No Idea why this made it work again...
                            Will set this thread to "solved" now.

                            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