09/04/2013 7:24 AM
post104776
|
Hi again :)
I have a new problem:
I transported my Qt program to QNX Momentics to work with the debug tool.
Now I get the following error if I try to debug:
>>No line 33 in file "communication.h".
>>mi_cmd_var_create: unable to create variable object
Where line 33 is the line with the Q_OBJECT - Makro.
this kommunikation.h is defined as: "class Communcation : public QObject" and is startet in a seperate Thread via ->
moveToThread(thread)
( thread is a QThread started earlier)
and also this error if the thread is started (breakpoint in communication.cpp at the constructor):
>>Stopped due to shared library event
>>No line 33 in file "kommunikation.h".
>>mi_cmd_var_create: unable to create variable object
>>No line 33 in file "kommunikation.h".
>>no `this' in nameless context
I think this problem points to the Q_OBJECT Macro which cannot be found, but what can I do?
|
|
|