Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. WinRT qmake/build fails: Unable to generate output for Makefile.Debug [TEMPLATE app]
Forum Updated to NodeBB v4.3 + New Features

WinRT qmake/build fails: Unable to generate output for Makefile.Debug [TEMPLATE app]

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 3 Posters 6.3k 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.
  • G Offline
    G Offline
    gekko42
    wrote on last edited by
    #1

    I tried to run the Qt.QuickControls2 Standard example application for WinRT, but it doesn't build. I did not edit anything in the code, the build command or the .pro file. 100% example application.

    qmake.exe C:\Users\Gekko\Documents\WinRT\WinRT.pro -spec winrt-x64-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" && C:/Qt/Tools/QtCreator/bin/jom.exe qmake_all

    :-1: warning: Unable to generate output for: C:/Users/Gekko/Documents/build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug/Makefile.Debug [TEMPLATE app]
    :-1: warning: Unable to generate output for: C:/Users/Gekko/Documents/build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug/Makefile.Release [TEMPLATE app]

    build error:
    :-1: error: File Makefile.Debug doesn't exist.

    Am I missing something?
    Thank you very much,
    Jason

    jsulmJ 1 Reply Last reply
    1
    • G gekko42

      I tried to run the Qt.QuickControls2 Standard example application for WinRT, but it doesn't build. I did not edit anything in the code, the build command or the .pro file. 100% example application.

      qmake.exe C:\Users\Gekko\Documents\WinRT\WinRT.pro -spec winrt-x64-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" && C:/Qt/Tools/QtCreator/bin/jom.exe qmake_all

      :-1: warning: Unable to generate output for: C:/Users/Gekko/Documents/build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug/Makefile.Debug [TEMPLATE app]
      :-1: warning: Unable to generate output for: C:/Users/Gekko/Documents/build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug/Makefile.Release [TEMPLATE app]

      build error:
      :-1: error: File Makefile.Debug doesn't exist.

      Am I missing something?
      Thank you very much,
      Jason

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

      @gekko42 What qmake are you calling? You should call qmake.exe from your Qt WinRT installation (did you install it?).

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

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gekko42
        wrote on last edited by
        #3

        Hi, thank you for the fast reply.
        I did not specify it on my own, but just used the pre configured Qt Development Kit for WinRt

        the qmake location is "C:\Qt\5.8\winrt_x64_msvc2015\bin\qmake.exe". The file does exist there, too :-)

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gekko42
          wrote on last edited by
          #4

          maybe this helps; compile output:

          12:01:26: Running steps for project WinRT...
          12:01:26: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" clean
          	C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug clean
          Error: File Makefile.Debug doesn't exist.
          jom: C:\Users\Gekko\Documents\build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug\Makefile [debug-clean] Error 2
          Error: File Makefile.Release doesn't exist.
          	C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release clean
          jom: C:\Users\Gekko\Documents\build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug\Makefile [release-clean] Error 2
          12:01:26: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
          12:01:26: Starting: "C:\Qt\5.8\winrt_x64_msvc2015\bin\qmake.exe" C:\Users\Gekko\Documents\WinRT\WinRT.pro -spec winrt-x64-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" -tp vc
          12:01:26: The process "C:\Qt\5.8\winrt_x64_msvc2015\bin\qmake.exe" exited normally.
          12:01:26: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all
          
          jom 1.1.2 - empower your cores
          
          12:01:26: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
          12:01:26: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" 
          	C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
          Error: File Makefile.Debug doesn't exist.
          jom: C:\Users\Gekko\Documents\build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug\Makefile [debug] Error 2
          12:01:26: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
          Error while building/deploying project WinRT (kit: Qt 5.8.0 for Windows Runtime 64bit)
          When executing step "Make"
          12:01:26: Elapsed time: 00:00.
          

          the files Makefile.Debug and .Release are not being created by qmake for some reason...

          jsulmJ 1 Reply Last reply
          0
          • G gekko42

            maybe this helps; compile output:

            12:01:26: Running steps for project WinRT...
            12:01:26: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" clean
            	C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug clean
            Error: File Makefile.Debug doesn't exist.
            jom: C:\Users\Gekko\Documents\build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug\Makefile [debug-clean] Error 2
            Error: File Makefile.Release doesn't exist.
            	C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Release clean
            jom: C:\Users\Gekko\Documents\build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug\Makefile [release-clean] Error 2
            12:01:26: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
            12:01:26: Starting: "C:\Qt\5.8\winrt_x64_msvc2015\bin\qmake.exe" C:\Users\Gekko\Documents\WinRT\WinRT.pro -spec winrt-x64-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug" -tp vc
            12:01:26: The process "C:\Qt\5.8\winrt_x64_msvc2015\bin\qmake.exe" exited normally.
            12:01:26: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" qmake_all
            
            jom 1.1.2 - empower your cores
            
            12:01:26: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited normally.
            12:01:26: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe" 
            	C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
            Error: File Makefile.Debug doesn't exist.
            jom: C:\Users\Gekko\Documents\build-WinRT-Qt_5_8_0_for_Windows_Runtime_64bit-Debug\Makefile [debug] Error 2
            12:01:26: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
            Error while building/deploying project WinRT (kit: Qt 5.8.0 for Windows Runtime 64bit)
            When executing step "Make"
            12:01:26: Elapsed time: 00:00.
            

            the files Makefile.Debug and .Release are not being created by qmake for some reason...

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

            @gekko42 This does not help as makefiles were not generated.
            The problem is with qmake.

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

            1 Reply Last reply
            0
            • D Offline
              D Offline
              deggett
              wrote on last edited by
              #6

              I am having the same problem. Did you figure anything out?

              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