Wrong settings after fresh install?



  • 18:44:16: Führe Schritte für Projekt MultiServer aus...
    18:44:16: Unveränderte Konfiguration, qmake-Schritt wird übersprungen.
    18:44:16: Starte "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
    C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory 'C:/Users/jo/Downloads/qt68/build-MultiServer-Desktop_Qt_5_9_1_MinGW_32bit-Debug'
    g++ -Wl,-subsystem,console -mthreads -o debug\MultiServer.exe debug/main.o debug/myserver.o debug/mythread.o debug/moc_myserver.o debug/moc_mythread.o -LC:\Qt\5.9.1\mingw53_32\lib C:\Qt\5.9.1\mingw53_32\lib\libQt5Networkd.a C:\Qt\5.9.1\mingw53_32\lib\libQt5Cored.a
    C:/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot open output file debug\MultiServer.exe: Permission denied
    collect2.exe: error: ld returned 1 exit status
    Makefile.Debug:73: recipe for target 'debug\MultiServer.exe' failed
    mingw32-make[1]: Leaving directory 'C:/Users/jo/Downloads/qt68/build-MultiServer-Desktop_Qt_5_9_1_MinGW_32bit-Debug'
    mingw32-make[1]: *** [debug\MultiServer.exe] Error 1
    Makefile:36: recipe for target 'debug' failed
    mingw32-make: *** [debug] Error 2
    18:44:17: Der Prozess "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet.
    Fehler beim Erstellen/Deployment des Projekts MultiServer (Kit: Desktop Qt 5.9.1 MinGW 32bit)
    Bei der Ausführung von Schritt "Make"
    18:44:17: Verstrichene Zeit: 00:02.



  • iam always keeping the error: qt cannot open output file debug\programm.exe permission denied.

    error: ld returned status 1 exit not found collect2.exe


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Do you have the application still running ? If so you should first stop it. IIRC, recent version of Qt Creator do that for you, or at least there's a setting for that.

    If not, got any antivirus running on your system ? Some of them tent to put the generated executable directly in quarantine.


Log in to reply