
Feb. 25, 2013
8:44 p.m.
I think there is a macro defined in one the Qt headers that turns "slots" into nothing.
This allows the following to work:
#include <QWidget> class Something : public QWidget { Q_OBJECT public slots: void doStuff(); };
That would explain why you get this error message. You compiler sees:
PyType_Slot *;
Because the "slots" word disappeared.
At least that's my theory.
Can you include Python.h before including any Qt headers, maybe that'll solve your problem.
On Mon, Feb 25, 2013 at 12:22 PM, ecir hana <ecir.hana@gmail.com> wrote:
-- Francis Bolduc, B.Sc. CM-Labs Simulation Inc.
4400
Age (days ago)
4400
Last active (days ago)
0 comments
1 participants
participants (1)
-
Francis Bolduc