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 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

    aha_1980A CP71C 2 Replies Last reply
    0
    • V ValeC

      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

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 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
      0
      • aha_1980A aha_1980

        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 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?

        JonBJ 1 Reply Last reply
        0
        • V ValeC

          @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?

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on 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 last edited by
            #5

            no there is nothing like C:\Users\MYFRIENDNAME

            aha_1980A 1 Reply Last reply
            0
            • V ValeC

              no there is nothing like C:\Users\MYFRIENDNAME

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on 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
              2
              • V ValeC

                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

                CP71C Offline
                CP71C Offline
                CP71
                wrote on 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
                2
                • aha_1980A aha_1980

                  @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 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
                  • CP71C CP71

                    @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 last edited by
                    #9

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

                    1 Reply Last reply
                    1

                    • Login

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