For any C developer who's used Qt, we've grown to love the Signals/Slots idiom it presents for creating clean Observer code. However, it relied on the Qt Moc pre-compiler tool, which meant any project that wanted to use this feature had to use follow along with the Qt idiom, which really made Qt applications look potentially foreign despite being written in C.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upQt Signal Slot Queue
![Signal Signal](/uploads/1/2/5/1/125158182/388030159.png)
- SOLVEDCan't connect signal to slot with QVector arguments. Can't connect signal to slot with QVector arguments. This topic has been deleted. Only users with topic management privileges can see it. I would not expect that you have to register the vectors because they are part of Qt libs. Owh, class 'c' does not inherit from QObject.
- Qt Network HTTP, FTP TCP/IP, UDP Resolve host names Proxy Roaming (Bearer management) (Qt 4.7) SSL (OpenSSL).
Texas holdem poker sites. Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone
Comments
Boost Signal Slot Vs Qt 2
commented Jun 16, 2015
Compiling a rqt_gui_cpp plugin which (transitively) depends on boost signals (e.g. via tf package) fails to compile due to macro name clashes of Qt's 'signals', 'slots', 'emit' macros as described here: http://wiki.ros.org/qt_ros/Tutorials/Mixing%20Qt%20and%20Boost%20Signals For such a plugin to compile the QT_NO_KEYWORDS flag can be set in its cmake file: ADD_DEFINITIONS(-DQT_NO_KEYWORDS) But this breaks the current code of qt_gui_core at: https://github.com/ros-visualization/qt_gui_core/blob/fuerte-devel/qt_gui_cpp/include/qt_gui_cpp/plugin_bridge.h#L63 And also a few other files in the rqt package are affected: https://github.com/ros-visualization/rqt/search?l=cpp&q=signals+OR+slots+OR+emit&type=Code&utf8=%E2%9C%93 Changing the keywords as follows would resolve this issue:
The use of the QT_NO_KEYWORDS flag should also be mentioned in the rqt cpp plugin tutorial. |
Signals And Slots Qt
![Qt signal slot connect Qt signal slot connect](https://i.ytimg.com/vi/u0zhLEHHZBU/maxresdefault.jpg)
Qt Signal Slot Performance
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment