Results 1 to 4 of 4

Thread: Nice way to view output from qtestlib?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2007
    Posts
    57
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Nice way to view output from qtestlib?

    I'm currently looking into QTestLib, and was wondering if there's a nice way to view the output from the tests. The Qt docs say that
    QTestLib outputs messages that can be interpreted by Visual Studio and KDevelop.
    but I don't see how to get these messages into KDevelop in a nice way.

    Anyone tried this before? If someone did this with something else than KDevelop (QtCreator maybe?) I'd be happy to hear as well!

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

    Default Re: Nice way to view output from qtestlib?

    It means that if you double click such a message containing the name of the source file and the line, the IDE will transfer you to this file and line.
    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.


  3. #3
    Join Date
    Mar 2007
    Posts
    57
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Nice way to view output from qtestlib?

    Quote Originally Posted by wysota View Post
    It means that if you double click such a message containing the name of the source file and the line, the IDE will transfer you to this file and line.
    I understand it's supposed to work like that, but it doesn't. Maybe I'm doing something wrong, but opening the xml result from qtestlib in kdevelop just opens the xml file, there appears to be no link to the source whatsoever.

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

    Default Re: Nice way to view output from qtestlib?

    It doesn't work on the xml file generated by qtestlib. It works on textual output from running the test application that is displayed in KDevelop's message pane. Exactly the same way it works on compilation messages generated by gcc.
    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.


Similar Threads

  1. newbie here, nice to meet you all
    By cunyoulu in forum General Discussion
    Replies: 1
    Last Post: 14th November 2008, 18:27
  2. Nice looking tabs
    By frikkasoft in forum Qt Programming
    Replies: 4
    Last Post: 6th November 2008, 14:15
  3. Nice IDE for Qt on the Mac
    By tonioab49 in forum Qt Programming
    Replies: 1
    Last Post: 2nd October 2007, 17:47
  4. testing with QTestLib
    By hyling in forum Qt Programming
    Replies: 2
    Last Post: 12th July 2007, 20:37
  5. setWindowTitle() with nice font
    By Dwarf007 in forum Qt Programming
    Replies: 15
    Last Post: 19th March 2006, 15:31

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.