Conan 1.0.0 - signal/slot connection debugging made easy
Conan v1.0.0 - Connection analyzer for Qt has been released! Conan is a C++ library that provides a single widget that can be used to track down problems related to signal/slot connections. 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!
This release consists of a source code package and a win32 demo application. It is available under GPL at SourceForge.
Here is a small excerpt from the readme:
Conan 1.0.0 - 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
-any signal/slot connection can be disconnected
-duplicate connections can be found
-signal emissions can be monitored and logged
See /doc/html/index.html for detailed information.
Conan has been used to identify multiple duplicate connections in the source code of Qt!
Contact - edekoning@gmail.com
Website - http://sourceforge.net/projects/conanforqt
License - GPL - source code -> see ./GPL.txt
CCL - icons -> see ./icons/CCL.txt
...
Conan 1.0.0 release
-------------------
Feature additions:
-Disconnect any single connection
-Disconnect all recievers from a single signal
-Disconnect all senders from a single slot
Changes:
-Discover objects will now find various global QObjects.
-Replaced all usages of STL containers and algorithms by their Qt counterparts.
Conan should now compile without STL support, although I did not test this.
...
Re: Conan 1.0.0 - signal/slot connection debugging made easy
Looks like just what I was looking for! I was considering making something like this myself.
Will try it and let you know my feedback.
Re: Conan 1.0.0 - signal/slot connection debugging made easy
Quote:
Originally Posted by
squidge
Looks like just what I was looking for! I was considering making something like this myself.
Will try it and let you know my feedback.
That would be great! Oh and make sure you take the time to read the instructions from README file. Since I use private Qt headers (no other way of obtaining the connection data) you need to make sure the compiler can find them.