Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. Errore in compilazione "Could not create the directory ..."
QtWS25 Last Chance

Errore in compilazione "Could not create the directory ..."

Scheduled Pinned Locked Moved Solved Italian
9 Posts 4 Posters 1.8k 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.
  • V Offline
    V Offline
    ValeC
    wrote on 20 Mar 2019, 12:01 last edited by
    #1

    Ciao a tutti perdonate la domanda molto molto niubba.
    Devo usare un codice che mi ha passato un mio amico ma quando faccio mi build mi da errore

    12:28:30: Running steps for project prog_ium...
    12:28:30: Could not create directory "C:\Users\NOME DEL MIO AMICO\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug"
    Error while building/deploying project prog_ium (kit: Desktop Qt 5.6.0 MinGW 32bit)
    When executing step "qmake"
    12:28:30: Elapsed time: 00:00.

    Ho già provato ad andare in Tools --> options --> build and run e la cartella corrisponde.

    Qualcuno mi darebbe una dritta? Grazie

    A C 2 Replies Last reply 20 Mar 2019, 12:54
    0
    • V ValeC
      20 Mar 2019, 12:01

      Ciao a tutti perdonate la domanda molto molto niubba.
      Devo usare un codice che mi ha passato un mio amico ma quando faccio mi build mi da errore

      12:28:30: Running steps for project prog_ium...
      12:28:30: Could not create directory "C:\Users\NOME DEL MIO AMICO\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug"
      Error while building/deploying project prog_ium (kit: Desktop Qt 5.6.0 MinGW 32bit)
      When executing step "qmake"
      12:28:30: Elapsed time: 00:00.

      Ho già provato ad andare in Tools --> options --> build and run e la cartella corrisponde.

      Qualcuno mi darebbe una dritta? Grazie

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 20 Mar 2019, 12:54 last edited by
      #2

      Hi @ValeC,

      C:\Users\NOME DEL MIO AMICO\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug

      Please try a directory without spaces (and special characters) for your project, like C:\Dev\prog_ium

      Regards

      Qt has to stay free or it will die.

      V 1 Reply Last reply 20 Mar 2019, 14:09
      0
      • A aha_1980
        20 Mar 2019, 12:54

        Hi @ValeC,

        C:\Users\NOME DEL MIO AMICO\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug

        Please try a directory without spaces (and special characters) for your project, like C:\Dev\prog_ium

        Regards

        V Offline
        V Offline
        ValeC
        wrote on 20 Mar 2019, 14:09 last edited by
        #3

        @aha_1980 probabably I didn't explain clarly my problem.

        I've this project, made by a friend. When I tray to buid it Qt creator give to me this error

        12:28:30: Running steps for project prog_ium...
        12:28:30: Could not create directory "C:\Users\MYFRIENDNAME\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug"
        Error while building/deploying project NAMEPROJECT (kit: Desktop Qt 5.6.0 MinGW 32bit)
        When executing step "qmake"
        12:28:30: Elapsed time: 00:00.

        so how i can change this path?

        J 1 Reply Last reply 20 Mar 2019, 14:50
        0
        • V ValeC
          20 Mar 2019, 14:09

          @aha_1980 probabably I didn't explain clarly my problem.

          I've this project, made by a friend. When I tray to buid it Qt creator give to me this error

          12:28:30: Running steps for project prog_ium...
          12:28:30: Could not create directory "C:\Users\MYFRIENDNAME\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug"
          Error while building/deploying project NAMEPROJECT (kit: Desktop Qt 5.6.0 MinGW 32bit)
          When executing step "qmake"
          12:28:30: Elapsed time: 00:00.

          so how i can change this path?

          J Offline
          J Offline
          JonB
          wrote on 20 Mar 2019, 14:50 last edited by
          #4

          @ValeC
          Have a look in the .pro file. If it contains somewhere something like C:\Users\MYFRIENDNAME you probably need to change it to something like C:\Users\YOURNAME. The path C:\Users\YOURNAME\Documents\Qt\Workspace then needs to exist.

          1 Reply Last reply
          0
          • V Offline
            V Offline
            ValeC
            wrote on 20 Mar 2019, 15:11 last edited by
            #5

            no there is nothing like C:\Users\MYFRIENDNAME

            A 1 Reply Last reply 20 Mar 2019, 16:13
            0
            • V ValeC
              20 Mar 2019, 15:11

              no there is nothing like C:\Users\MYFRIENDNAME

              A Offline
              A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on 20 Mar 2019, 16:13 last edited by
              #6

              @ValeC

              You need write access in this directory, do you have that?

              Please follow my suggestion and copy the project in a folder C:\Dev and delete the .pro.user file. Then it will build fine.

              Qt has to stay free or it will die.

              V 1 Reply Last reply 20 Mar 2019, 16:39
              2
              • V ValeC
                20 Mar 2019, 12:01

                Ciao a tutti perdonate la domanda molto molto niubba.
                Devo usare un codice che mi ha passato un mio amico ma quando faccio mi build mi da errore

                12:28:30: Running steps for project prog_ium...
                12:28:30: Could not create directory "C:\Users\NOME DEL MIO AMICO\Documents\Qt\Workspace\build-prog_ium-Desktop_Qt_5_6_0_MinGW_32bit-Debug"
                Error while building/deploying project prog_ium (kit: Desktop Qt 5.6.0 MinGW 32bit)
                When executing step "qmake"
                12:28:30: Elapsed time: 00:00.

                Ho già provato ad andare in Tools --> options --> build and run e la cartella corrisponde.

                Qualcuno mi darebbe una dritta? Grazie

                C Offline
                C Offline
                CP71
                wrote on 20 Mar 2019, 16:26 last edited by
                #7

                @ValeC
                Ciao,
                Mi vengono in mente solo queste possibilità:

                • Se “NOME DEL MIO AMICO” non è l’utente che stai usando potrebbe essere un problema di diritti di scrittura\lettura
                • Se il tuo amico ti ha passato anche .pro.user allora potresti provare a cancellarlo

                Come consigliato da @aha_1980 prova a spostare il progetto in un altro folder, “c:\ProjQt\Progetto” cancellando il file .pro.user

                V 1 Reply Last reply 20 Mar 2019, 16:55
                2
                • A aha_1980
                  20 Mar 2019, 16:13

                  @ValeC

                  You need write access in this directory, do you have that?

                  Please follow my suggestion and copy the project in a folder C:\Dev and delete the .pro.user file. Then it will build fine.

                  V Offline
                  V Offline
                  ValeC
                  wrote on 20 Mar 2019, 16:39 last edited by
                  #8

                  @aha_1980 sorry, maybe I didn't understand your advice before. After deleting .pro.user, it works!

                  1 Reply Last reply
                  2
                  • C CP71
                    20 Mar 2019, 16:26

                    @ValeC
                    Ciao,
                    Mi vengono in mente solo queste possibilità:

                    • Se “NOME DEL MIO AMICO” non è l’utente che stai usando potrebbe essere un problema di diritti di scrittura\lettura
                    • Se il tuo amico ti ha passato anche .pro.user allora potresti provare a cancellarlo

                    Come consigliato da @aha_1980 prova a spostare il progetto in un altro folder, “c:\ProjQt\Progetto” cancellando il file .pro.user

                    V Offline
                    V Offline
                    ValeC
                    wrote on 20 Mar 2019, 16:55 last edited by
                    #9

                    @CP71 Si avete ragione, dopo averlo cancellato funziona. Grazie a tutti.

                    1 Reply Last reply
                    1

                    5/9

                    20 Mar 2019, 15:11

                    • Login

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