Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    [SOLVED] mingw32-make: *** No rule to make target 'all'

    Installation and Deployment
    3
    6
    29587
    Loading More Posts
    • 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.
    • S
      salvador last edited by

      I have installed Qt 5.0.1 libraries and Qt Creator 2.6.2 for windows 32-bit (MinGW 4.7), and i get thew followind compile output:

      @14:18:25: Running steps for project QtGrid...
      14:18:25: Starting: "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" all
      mingw32-make: *** No rule to make target 'all'. Stop.
      14:18:26: The process "C:\Qt\Qt5.0.1\Tools\MinGW\bin\mingw32-make.exe" exited with code 2.
      Error while building/deploying project QtGrid (kit: Desktop Qt 5.0.1 MinGW 32bit)
      When executing step 'Make'@

      What's the problem exactly?
      Thanks!

      1 Reply Last reply Reply Quote 0
      • K
        koahnig last edited by

        Did you rerun QMake in creator?
        This will probably solve the problem. Go to project on the left side of qt creator, press right mouse button and "Run Qmake".

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

        1 Reply Last reply Reply Quote 0
        • S
          salvador last edited by

          I have this output now
          @15:13:27: Running steps for project QtGrid...
          15:13:27: Starting: "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" "C:\Documents and Settings\Administrator...\GridQt\QtGrid\QtGrid.pro" -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
          Cannot find file: C:\Documents and Settings\Administrator...\GridQt\QtGrid\QtGrid.pro.
          15:13:27: The process "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe" exited with code 2.
          Error while building/deploying project QtGrid (kit: Desktop Qt 5.0.1 MinGW 32bit)
          When executing step 'qmake'@

          Why it says cannot find file. The file is in this folder

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi,

            Is really GridQt in a folder called "..." ?

            Anyway, try to move your project in a path that doesn't contain any spaces. That can bring problems on windows.

            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 Reply Quote 0
            • S
              salvador last edited by

              I solved this. I had my project in a folder with a greek name. I move it and now it's ok. Probably it doesn't like greek letters :P
              Thanks anyway!

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                You're welcome !

                Can you update your post title to solved so that other users know that a solution has been found ?

                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 Reply Quote 0
                • First post
                  Last post