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. Cannot create directory...
Forum Updated to NodeBB v4.3 + New Features

Cannot create directory...

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 657 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on 15 Jul 2022, 21:11 last edited by
    #1

    This time I am also getting " wrong path or permissions.."
    Usually solved by running Ubuntu "disks" - check file / repair file / take ownership/
    mount

    Not this time....

    51e0bd67-2a72-4d19-b6d9-bf0d5c347c49-image.png

    BTW the directory which cannot be "created" is where I start the project from, so it does already exists, hence cannot be created anyway.

    A 1 Reply Last reply 16 Jul 2022, 01:25
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 15 Jul 2022, 21:26 last edited by
      #2

      if you do ll /mnt, you will see /mnt is under root. So you do not work there. Build your project somewhere else and copy your executable there if needed.

      A 1 Reply Last reply 16 Jul 2022, 01:26
      0
      • A Anonymous_Banned275
        15 Jul 2022, 21:11

        This time I am also getting " wrong path or permissions.."
        Usually solved by running Ubuntu "disks" - check file / repair file / take ownership/
        mount

        Not this time....

        51e0bd67-2a72-4d19-b6d9-bf0d5c347c49-image.png

        BTW the directory which cannot be "created" is where I start the project from, so it does already exists, hence cannot be created anyway.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on 16 Jul 2022, 01:25 last edited by
        #3

        @AnneRanch Temporary " fixed" by removing "shadow build" option. Have no idea why its just started failing this way . Worked fine for months....

        C 1 Reply Last reply 16 Jul 2022, 02:03
        0
        • J JoeCFD
          15 Jul 2022, 21:26

          if you do ll /mnt, you will see /mnt is under root. So you do not work there. Build your project somewhere else and copy your executable there if needed.

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on 16 Jul 2022, 01:26 last edited by
          #4

          @JoeCFD Sorry, cannot do that ...it would break RAID for sure .

          1 Reply Last reply
          0
          • A Anonymous_Banned275
            16 Jul 2022, 01:25

            @AnneRanch Temporary " fixed" by removing "shadow build" option. Have no idea why its just started failing this way . Worked fine for months....

            C Offline
            C Offline
            ChrisW67
            wrote on 16 Jul 2022, 02:03 last edited by
            #5

            @AnneRanch When you create a new project in QtCreator the shadow build directory is set, by default, outside the folder that the source code is in (there are good reasons for this). Being able to write where the source is does not guarantee the default shadow build location is writable; in your case it is not. The good news is, where QtCreator uses as the shadow build location is entirely within your control.
            Untitled.png

            I suggest you enable shadow build and set the location to somewhere you can write e.g.,
            ~/build-project-Desktop_Qt_5_15_2_GCC_64bit-Debug

            1 Reply Last reply
            1
            • A Offline
              A Offline
              Anonymous_Banned275
              wrote on 17 Jul 2022, 03:29 last edited by
              #6

              So my mistake is I select "shadow" directory SAME as my source , source being where my x.pro file is.
              Or I am supposed to guess the check box belongs to next line...
              So when shadow build is selected the "build" output goes there, not into source directory - as the doc say.

              Nothing to do with root or RAID as long as I own the RAID.

              I guess I need to find where QT thinks my source directory is and pay attention where "build" outputs the results.
              .
              Thanks , appreciate your help.

              1 Reply Last reply
              0

              1/6

              15 Jul 2022, 21:11

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved