Results 1 to 20 of 24

Thread: Profiling problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Profiling problems

    Quote Originally Posted by abbapatris View Post
    I tried his example...word for word and it doesn't produce a gmon.out file. the last line of the make output says....
    Warning: consider linking with '-static' as system libraries with profiling support are only provided in archive format.
    This only means you won't get profiling information from libraries such as libc which is good for you. Run the resulting application and you should get a gmon.out file.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Jun 2007
    Posts
    52
    Thanks
    6

    Default Re: Profiling problems

    Nope I only get the gmon.out file if I do -static when linking. I have tried running the application several times.

  3. #3
    Join Date
    Jun 2007
    Posts
    52
    Thanks
    6

    Default Re: Profiling problems

    I think i found the issue...the server uses gcrt0.o rather then gcrt1.o and from what I have found from searching is that gcrt1.o is what I should be using for C++.

    Can anyone confirm this for me?? I know this isn't a Qt issue
    Last edited by abbapatris; 17th April 2009 at 16:00. Reason: updated contents

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Profiling problems

    Eeeem... what server?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2007
    Posts
    52
    Thanks
    6

    Default Re: Profiling problems

    my company's server. Just the system we login to to build it. I have done some tests and have solved the issue, thanks for the help

Similar Threads

  1. Problems customizing QSlider
    By Antrax in forum Qt Programming
    Replies: 13
    Last Post: 20th December 2011, 08:00
  2. Problems with Unicode(UTF8)
    By cristiano in forum Qt Programming
    Replies: 15
    Last Post: 5th December 2006, 13:33
  3. QGLWidget Problems
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 2nd October 2006, 23:06
  4. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 20:11
  5. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 16:39

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.