[Solved] The process qmake.exe exited with code 2

  • Downloaded Qt 4.8.4 and Qt Creator. In Qt Creator I can run example programs. Created new project - Qt empty project. Added new cpp-file with code example from "Qt site":http://qt-project.org/doc/qt-4.8/gettingstartedqt.html - first one. When I press "Run", "Build" or "Rebuild" I've got this output

    bq. 01:41:24: Running steps for project First...
    01:41:24: Starting: "C:\Qt\4.8.4\bin\qmake.exe" "C:\Documents and Settings\Олексій\Qt Projects\First\First.pro" -r -spec win32-msvc2008 "CONFIG+=declarative_debug"
    Cannot find file: c:\Documents and Settings\Олексій\Qt Projects\First\First.pro.
    01:41:24: The process "C:\Qt\4.8.4\bin\qmake.exe" exited with code 2.
    Error while building/deploying project First (kit: Desktop)
    When executing step 'qmake'

    But there IS such file, it contains

    bq. SOURCES += Main.cpp

    What is wrong? Help, please, I didn't google the solution yet..

    It was because of Cyrillic folder name in my path, which is pity.

  • Moderators

    Hi OLLO,

    Glad to hear you solved your problem. :) Instead of deleting the topic, why not leave it here for other people to find, in case they run into the same problem? Please edit your original post and add "[Solved]" to the title, thanks!

Log in to reply

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