Results 1 to 20 of 39

Thread: Unable to execute in Debug Mode

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Unable to execute in Debug Mode

    Quote Originally Posted by Kapil
    how to find what all directories are in the link-command for qmake.. where are they specified...
    You should see them when you execute mingw32-make.

  2. #2
    Join Date
    Feb 2006
    Location
    New Delhi,India
    Posts
    226
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Unable to execute in Debug Mode

    The complete link command and not just the error is:

    [HTML]
    mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `D:/Kapil_Folder/PracticeQT/Sample'
    g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runt
    ime-pseudo-reloc -Wl,-subsystem,windows -o "debug\Sample.exe" debug\main.o -L"C
    :\Qt\4.1.0\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
    C:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\ mingw32\bin\ld.exe: cannot fin
    d -lQtGuid4
    collect2: ld returned 1 exit status
    mingw32-make[1]: *** [debug\Sample.exe] Error 1
    mingw32-make[1]: Leaving directory `D:/Kapil_Folder/PracticeQT/Sample'
    mingw32-make: *** [debug] Error 2
    [/HTML]

    I hope this gives u the idea... i compiled it 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. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  3. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  4. Debug mode Qt 4.3.2
    By oetzi in forum Newbie
    Replies: 3
    Last Post: 13th October 2007, 18:06
  5. What is debug mode for without MSVC?
    By firegun9 in forum Newbie
    Replies: 1
    Last Post: 5th September 2007, 17:21

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
  •  
Qt is a trademark of The Qt Company.