Results 1 to 14 of 14

Thread: warning message on compile not understood

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: warning message on compile not understood

    Quote Originally Posted by yop
    Different things, Qt is an API, gdb is a debugger, ddd is gdb's graphical frontend. You'll need to use all three of them regardless the Qt version you'll use (offtopic: Don't you just love ddd? If the interface was better then it would dominate (not that I mind I only care about it's capabilities))
    I used ddd and gdb but could not get string variables displayied and I wanted to use kwrite as my text editor. I found importing my source code to KDevelop gave me both.

  2. #2
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: warning message on compile not understood

    Quote Originally Posted by impeteperry
    I used ddd and gdb but could not get string variables displayied and I wanted to use kwrite as my text editor. I found importing my source code to KDevelop gave me both.
    This link will allow you to watch qt types using gdb http://webcvs.kde.org//~checkout~/kd.../kde-devel-gdb
    In a few words add this line to your ~/.gdbinit :
    source /[path to kde sources]/kdesdk/scripts/kde-devel-gdb
    Last edited by yop; 19th January 2006 at 14:36.

  3. #3
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: warning message on compile not understood

    Quote Originally Posted by yop
    This link will allow you to watch qt types using gdb http://webcvs.kde.org//~checkout~/kd.../kde-devel-gdb
    In a few words add this line to your ~/.gdbinit :
    Thanks. I have "ddd" & "gdb". I have /.dddinit but not /.gdbinit.
    Will this work any better then KDevelop?

  4. #4
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: warning message on compile not understood

    You could try it yourself to see if it fits your needs As for me I haven't used another gdb frontend than ddd for quite a while so you already know what I think. I realy find ddd an assistant of great value. You could also use both, for a quick debugging seesion launch the KDevelop integrated frontend, for more hard to find bugs that need a bit more detailed debugging use ddd. I'm just presenting you with the tools I use, the way each one of us uses them eventualy is a matter of personal preference.

  5. #5
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: warning message on compile not understood

    Thanks You have given me a lot to think about. I have saved your suggestions and will try to upgrad my ddd as you suggested on my backup computer. I have a lot at stake in my program, and not being very confident in my ability in this knd of things I go slowly.

    As i said I have used ddd in the past. I just could not display string variables. I even got used to "vi".

  6. #6
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: warning message on compile not understood

    Quote Originally Posted by impeteperry
    I even got used to "vi".
    I on the other hand never did, I use joe instead. I just can't remember these ESC+qwzy^[my dog's age] shortcuts. Oh well I'm not too smart anyway

  7. #7
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    85
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: warning message on compile not understood

    @yop: nice link - I'll try it.

    I'm also using vim - the first one or two weeks are hard but then it's just wonderful. Maybe we should open a editor / debugger / other tools thread

    Edit: Why use ESC that's somewhat far away - I use [ctrl]+[{] much better on my keybord
    Last edited by Codepoet; 23rd January 2006 at 19:50.

  8. #8
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: warning message on compile not understood

    Quote Originally Posted by Codepoet
    @yop: nice link - I'll try it.
    I think this is the one they use in KDevelop, I'm not sure though
    Quote Originally Posted by Codepoet
    I'm also using vim - the first one or two weeks are hard but then it's just wonderful. Maybe we should open a editor / debugger / other tools thread
    I think we've made our choices But I'm sure the topic will come up eventually.
    Quote Originally Posted by Codepoet
    Edit: Why use ESC that's somewhat far away - I use [ctrl]+[{] much better on my keybord
    I know that you realize that I trully respect vi, it's brought up many generations of unix hackers, but I never had to use it since I'm relatively new (3 "fultime" years and still using Suse ) to the linux community and there were many alternatives around
    I've seen holy wars starting from posts like mine and I thought it was funny when I posted, now I realize it could be misunderstood.

Similar Threads

  1. Visual Studio 2005 Express
    By Muzz in forum Installation and Deployment
    Replies: 22
    Last Post: 6th November 2008, 06:21
  2. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  3. Problem at time compilation in traslation of language
    By thomasjoy in forum Qt Programming
    Replies: 3
    Last Post: 22nd May 2007, 14:18
  4. problem with linking
    By mickey in forum Qt Programming
    Replies: 49
    Last Post: 12th August 2006, 21:41
  5. how to corss compile for windows in Linux
    By safknw in forum Qt Programming
    Replies: 24
    Last Post: 13th May 2006, 05:23

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.