Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Linux: Since I change a setting I get this error when I try to build: "Cannot change to working directory"
Forum Updated to NodeBB v4.3 + New Features

Linux: Since I change a setting I get this error when I try to build: "Cannot change to working directory"

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 1 Posters 344 Views
  • 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.
  • M Offline
    M Offline
    masatar
    wrote on last edited by
    #1

    Hey guys,

    I had a full working QT Creator but I change some settings and since that I cannot build my projects anymore.
    I don´t remember what I changed because I didnt realized that when I hover over some settings and scroll with my mouse that I change some selectables. So, I must have change something but I dont know what.

    Now I get this error:

    21:54:47: Starting /home/masatar/Projekte/DesktopApps/build-mMusicPlayer-Desktop_Qt_6_2_2_GCC_64bit-Debug/mMusicPlayer...
    21:54:47: The process failed to start. Either the invoked program "/home/masatar/Projekte/DesktopApps/build-mMusicPlayer-Desktop_Qt_6_2_2_GCC_64bit-Debug/mMusicPlayer" is missing, or you may have insufficient permissions to invoke the program.
    21:54:47: Cannot change to working directory "/home/masatar/Projekte/DesktopApps/build-mMusicPlayer-Desktop_Qt_6_2_2_GCC_64bit-Debug": Datei oder Verzeichnis nicht gefunden
    

    I already deleted the ~/.config/QtProject/ or the pro.user file in order to reconfig my project but nothing worked.
    It seems that I delete some setting because the error looks like its trying to invoke a folder instead of a binary.

    Here some background information:
    I use QT Widget and qmake
    OS: Kali GNU/Linux Rolling (2021.4)
    Qt Creator 6.0.1
    Based on Qt 6.2.2 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), 64 bit)
    Built on Dec 15 2021 08:27:24
    From revision ad505aad59

    1 Reply Last reply
    0
    • M Offline
      M Offline
      masatar
      wrote on last edited by
      #2

      I found my mistake: If I uncheck the checkbox "Run in terminal" in the Run Settings of the Kit, then its working again.
      6cb0897b-9ef6-4015-9730-96998563233e-grafik.png

      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