Results 1 to 10 of 10

Thread: Build Debugging Helpers

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2010
    Posts
    55
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    Qt Code:
    1. g++ -m64 -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.7.3/lib -o qmlobserver qmlruntime.o proxysettings.o qdeclarativetester.o loggerwidget.o deviceorientation.o main.o moc_qmlruntime.o moc_proxysettings.o moc_qdeclarativetester.o moc_deviceorientation.o moc_loggerwidget.o qrc_browser.o qrc_startup.o -L/usr/local/Trolltech/Qt-4.7.3/lib -L/usr/X11R6/lib64 -L/home/enricong/.local/share/data/Nokia/QtCreator/qtc-qmldbg/38922547/ -lQmlJSDebugger -lQtDeclarative -L/usr/local/Trolltech/Qt-4.7.3/lib -lQtSvg -L/usr/X11R6/lib64 -lQtXmlPatterns -lQtScript -lQtSql -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread
    To copy to clipboard, switch view to plain text mode 

    This is whats in the log.
    However under QML Dump, it says "Cannot be complied"

    There is no log for 4.2.1 because it says "Cannot be compiled" for any of them.

    When I debug, I cannot see the strings.

    If I go back to QtCreator 1.3.1, I can build for 4.2.1 and 4.7.3 and the debugger will show strings for both
    Running:
    RHEL 5.4
    Python 2.7.2
    Qt 4.7.4
    SIP 4.7.8
    PyQt 4.7

  2. #2
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    After re-reading your mail: You are using Qt 4.2. There is no QML in that version. You should use at least use 4.7.1 if you want QML.

  3. #3
    Join Date
    Dec 2010
    Posts
    55
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    Just to clarify, I am using QT 4.2.1 AND QT 4.7.4

    I also have Qt Creator 1.3.1 and 2.3

    With QtCreator 1.3.1, I can get the debug helpers built and when I debug I can view QHash's and QStrings.

    With QtCreator 2.3, I can build some of the helpers, some say "cannot be compile" or "Not Needed". I do not know if that is the correct display, however, when I debug I can NOT get a nice view of QHash's, QStrings, etc. I would like to know how can I get the "nice" view to display.

    Right now, I am using 1.3.1 whenever I debug (for 4.2.1 and 4.7.4) so that I can see the Qt objects nicely.
    Running:
    RHEL 5.4
    Python 2.7.2
    Qt 4.7.4
    SIP 4.7.8
    PyQt 4.7

  4. #4
    Join Date
    Sep 2011
    Posts
    14
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    Quote Originally Posted by ktk View Post
    After re-reading your mail: You are using Qt 4.2. There is no QML in that version. You should use at least use 4.7.1 if you want QML.

    I'm having the same problem except that I'm moving from Qt Creator 2.0.1 to 2.3.1. am on 64 bit linux, using Qt SDK 4.6.2.

    Are you saying that if you're not using 4.7.1 Qt Creator will simply no longer display debugging information on Qt objects?

  5. #5
    Join Date
    Dec 2010
    Posts
    55
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    Was there any resolution to this issue?
    Running:
    RHEL 5.4
    Python 2.7.2
    Qt 4.7.4
    SIP 4.7.8
    PyQt 4.7

  6. #6
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    No, I am not saying that. I am saying that there is no QML in Qt 4.2. This has nothing to do with Qt Creator at all, QML simply was not invented yet at that time.

  7. #7
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Build Debugging Helpers

    Kind of late, but for the record: I had the same problem when using a newer version of Qt and QtCreator at RedHat 5.3. I solved it by building my own python enabled gdb as described at http://qt-project.org/wiki/QtCreatorBuildGdb.

Similar Threads

  1. Failed to build Qt 4.7.1 in a shadow build with feature tuning
    By myfifth in forum Installation and Deployment
    Replies: 0
    Last Post: 17th February 2011, 03:25
  2. Replies: 3
    Last Post: 6th September 2010, 23:00
  3. Replies: 1
    Last Post: 13th January 2010, 23:35
  4. Moving from QT 4.5 shared build to QT 4.5.2 static build
    By extrakun in forum Qt Programming
    Replies: 0
    Last Post: 26th October 2009, 09:49
  5. Replies: 3
    Last Post: 28th December 2007, 11: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
  •  
Qt is a trademark of The Qt Company.