Results 1 to 2 of 2

Thread: Error compiling Qt 4.0 in Debug mode

  1. #1
    Join Date
    Jan 2006
    Location
    Berkeley California
    Posts
    109
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Error compiling Qt 4.0 in Debug mode

    I get the following error trying to compile QT in debug mode:

    g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
    ime-pseudo-reloc -Wl,-s -Wl,-s -shared -Wl,--out-implib,c:\Data\Qt\4.2.0\plugins
    \imageformats\libqjpeg1.a -o "..\..\..\..\plugins\imageformats\qjpeg1.dll" objec
    t_script.qjpeg.Release -L"c:\Data\Qt\4.2.0\lib" -L"c:\Data\Qt\4.2.0\lib" tmp\ob
    j\release_shared\qjpeg_resource_res.o -lQtGui4 -lQtCore4
    C:\Data\Qt\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\. .\..\..\mingw32\bin\ld.exe: ca
    nnot open output file ..\..\..\..\plugins\imageformats\qjpeg1.dll: Permission de
    nied
    collect2: ld returned 1 exit status
    mingw32-make[4]: *** [..\..\..\..\plugins\imageformats\qjpeg1.dll] Error 1
    mingw32-make[4]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins/imageformats/jp
    eg'
    mingw32-make[3]: *** [release-all] Error 2
    mingw32-make[3]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins/imageformats/jp
    eg'
    mingw32-make[2]: *** [sub-jpeg-make_default] Error 2
    mingw32-make[2]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins/imageformats'
    mingw32-make[1]: *** [sub-imageformats-make_default] Error 2
    mingw32-make[1]: Leaving directory `C:/Data/Qt/4.2.0/src/plugins'
    mingw32-make: *** [debug-plugins] Error 2

    ?? Help.

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error compiling Qt 4.0 in Debug mode

    Permission denied when trying to write to dlls and exes is usually because the dll/exe is in use. Try closing all Qt based applications you've got an make again.

Similar Threads

  1. Difference between Debug and Release Mode
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2013, 13:31
  2. Problem with Debug mode in KDevelop
    By zlatko in forum KDE Forum
    Replies: 1
    Last Post: 16th June 2006, 09:10
  3. Unable to execute in Debug Mode
    By Kapil in forum Installation and Deployment
    Replies: 38
    Last Post: 5th April 2006, 07:27
  4. Replies: 11
    Last Post: 22nd March 2006, 19:06
  5. How to build in debug mode?
    By Weilor in forum Newbie
    Replies: 5
    Last Post: 15th February 2006, 14:02

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.