Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. At run: Failing opening of work directory

At run: Failing opening of work directory

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 473 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.
  • N Offline
    N Offline
    nischu
    wrote on last edited by
    #1

    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/

    jsulmJ 1 Reply Last reply
    0
    • N nischu

      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/

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

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

      /home/nicos/develop/cpp/other/build-qt_test_2-Desktop_Qt_5_15_0_GCC_64bit-Debug

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

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

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nischu
        wrote on last edited by
        #3

        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.

        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