Results 1 to 3 of 3

Thread: how to generate debug file???

  1. #1
    Join Date
    Nov 2007
    Posts
    42
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question how to generate debug file???

    Hi
    i have a DDD Debugger tool , so i want to debug my application through this tool

    but when i am loading my application in the debugger , it says as

    "no debugging symbols found"

    i normally make my programs as
    1) qmake -project
    2) qmake
    3) make
    i saw all there options but i dint find anything right

    but i manually typing(or setting) debug flags in Makefile as
    CFLAGS = -pipe -g -O2 -Wall -W -D_REENTRANT $(DEFINES)
    CXXFLAGS = -pipe -g -O2 -Wall -W -D_REENTRANT $(DEFINES)

    then i can able to debug my application

    so rather than manually setting is there any options to set debug symbols while qmake or make automatically???

  2. #2
    Join Date
    Nov 2007
    Posts
    42
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Unix/X11

    Wink Re: how to generate debug file???

    hey guys is this a wrong question or a typical one????????

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to generate debug file???

    Quote Originally Posted by sudheer View Post
    i normally make my programs as
    1) qmake -project
    2) qmake
    3) make
    i saw all there options but i dint find anything right
    Make sure you use the step #1 just once or you might run into troubles.

    Edit your .pro file and add CONFIG += debug or CONFIG += debug_and_release.

  4. The following user says thank you to jacek for this useful post:

    sudheer (2nd May 2008)

Similar Threads

  1. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 17:48
  2. Debug problem in Eclipse with qrc file
    By Vortex in forum General Programming
    Replies: 6
    Last Post: 27th December 2007, 01:56
  3. Replies: 2
    Last Post: 8th November 2007, 21:15
  4. how can i generate .cpp file in QT 4.3.0
    By gamitkumar in forum General Programming
    Replies: 4
    Last Post: 3rd September 2007, 23:23
  5. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 16: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.