[Qt-interest] Single inheritance approach: problem connecting
Rui Maciel
rui.maciel at gmail.com
Fri Nov 6 14:20:18 CET 2009
Rui Maciel wrote:
> I've created a basic main window UI through Qt Designer, which has a
> QAction entry named actionNew located in the main window's file->new menu
> entry and I've followed the single inheritance approach suggested in the
> documentation.
<snip/>
I've just noticed on some weird behavior. I'm generating my project's makefile through qmake and in the .pro
file I've set the no_keywords config option, as I'm using a component which has members named slot. What I've
noticed was that the code I've presented compiles without a single warning when I use the SIGNAL and SLOT
keywords. On the other hand, the previous error is thrown when I instead use the Q_SIGNAL and Q_SLOT
keywords.
Is this a Qt bug? Shouldn't Q_SIGNAL and Q_SLOT be equivalent to the SIGNAL and SLOT macros?[1]
Rui Maciel
[1] http://doc.trolltech.com/4.5/qobject.html#Q_SIGNAL
More information about the Qt-interest-old
mailing list