Important: Please read the Qt Code of Conduct -

At run: Failing opening of work directory

  • I'm new to qt-creator. I tried to make a test project running in terminal and have now problems to get it run:

    12:06:10: The process failed to start. Either the invoked program "/home/nicos/develop/cpp/other/build-qt_test_2-Desktop_Qt_5_15_0_GCC_64bit-Debug/qt_test_2" is missing, or you may have insufficient permissions to invoke the program.
    12:06:10: Cannot change to working directory "/home/nicos/develop/cpp/other/build-qt_test_2-Desktop_Qt_5_15_0_GCC_64bit-Debug": No such file or directory
    12:06:10: /home/nicos/develop/cpp/other/build-qt_test_2-Desktop_Qt_5_15_0_GCC_64bit-Debug/qt_test_2 exited with code -1

    My project files residing in ~/develop/cpp/other/build_test_2/

  • Lifetime Qt Champion

    @nischu said in At run: Failing opening of work directory:


    Does this folder exist?
    Did you try to rebuild completely? (delete build folder, run qmake, build, run)

  • The Folder doesn't exist, all builds should go to ..../cpp/other/qt_test_2/build/.
    Also, I want to use cmake instead of qmake. It's because I need this for a project collaborating with others, which provides a CMakeLists.txt file.

Log in to reply