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



  • 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!


  • Moderators

    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".



  • 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


  • Lifetime Qt Champion

    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.



  • 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!


  • Lifetime Qt Champion

    You're welcome !

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.