How to use non ui signals/slots?
Solved
General and Desktop
-
Hi,
i just wanted to try the frameReceived() signal from qcanbus.
But how to do it?
I tried it this way:connect(can,SIGNAL(framesReceived()),this,SLOT(receiveFrames()));
can is my QCanBus device.
But the programm keeps crashing at the start.
i want to receive some frames, then jump to my receiveFrames function to read it.
Is this a possibility to avoid threads? im not good with threads either (qt noobie, but lover :) )
thanks in advance -
@haxxe said in How to use non ui signals/slots?:
Hi
it seems right.can is a pointer to QCanBusDevice that you have new'ed, correct ?
Could you use the debugger and find the line it crashes on ?