Results 1 to 1 of 1

Thread: Conan 0.9.8 - signal/slot connection debugging made easy

  1. #1
    Join Date
    Jul 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Conan 0.9.8 - signal/slot connection debugging made easy

    Conan version 0.9.8 has just been released and brings Qt 4.7 support.
    It is available under GPL at SourceForge.

    When working on a large Qt software project the amount of signal-slot connections can really go through the roof. During run-time I often want to know what is connected to what. I also regularly want to know how often and when a specific signal is emitted. In general I just want some proper signal-slot debugging.
    Unfortunately, Qt provides next to nothing for this. Sure you've got QObject::dumpObjectInfo, QObject::dumpObjectTree and the QSignalSpy, but their use is very limited and unpractical. So I decided to make my own signal-slot debugging library called Conan. It is real easy to use and has helped me locate multiple duplicate signal connection in Qt's own libraries. So if you ever need some signal-slot introspection, try Conan. I hope you will find it usefull!

    Here is a small excerpt from the readme:


    Conan 0.9.8 - Connection analyzer for Qt 4.6.0 - Qt 4.7.0
    ---------------------------------------------------------

    Conan is a C++ library that provides run-time introspection of object
    hierarchies, object inheritance, signal/slot connections, and signal
    emissions.

    Conan contains a single widget (conan::ConanWidget) that provides the
    following functionality:
    -object hierarchies can be added, discovered, browsed and exported to XML
    -signals/slots, including active connections, can be examined
    -duplicate connections can be found
    -signal emissions can be monitored and logged
    See /doc/html/index.html for detailed information.


    Contact - edekoning@gmail.com
    Website - http://sourceforge.net/projects/conanforqt
    License - GPL - source code -> see ./GPL.txt
    CCL - icons -> see ./icons/CCL.txt
    ...

    Conan 0.9.8 release
    -------------------

    Bugfixes:
    -Fixed a problem where sorting the object tree view resulted in invalid QPersistentModelIndex
    -Fixed a string formatting issue in ObjectUtility::Address
    -Fixed compilation issues when compiling under Linux, teted with Qt Creator 1.3.1 and Qt 4.6.2
    on Ubuntu 10.4

    Feature additions:
    -Remove root object.

    Changes:
    -Added support for Qt 4.7.0
    -Renamed output folder from bin to lib
    -The columns on the Objects Hierarchy page can now be manually resized, where they would
    previously automatically resize to their contents.
    ...
    Attached Images Attached Images
    Conan - Connection analyzer for Qt
    Signal/Slot connection debugging made easy!

Similar Threads

  1. Conan 0.9.7 - Connection analyzer for Qt
    By gnik in forum Qt-based Software
    Replies: 0
    Last Post: 21st June 2010, 15:07
  2. Signal and Slot connection not working !!
    By prakash437 in forum Qt Programming
    Replies: 3
    Last Post: 17th May 2010, 10:16
  3. Easy Signal-Slot-Problem
    By nearlyNERD in forum Qt Programming
    Replies: 2
    Last Post: 6th March 2010, 22:33
  4. Signal and slot connection graph
    By fahlen in forum General Discussion
    Replies: 4
    Last Post: 27th November 2007, 13:47
  5. signal slot connection
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 4th July 2006, 13:31

Tags for this Thread

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.