Don't use any IDEs if you want to pinpoint a problem. Use plain qmake && make combination, it's the most reliable you can get.
Printable View
Don't use any IDEs if you want to pinpoint a problem. Use plain qmake && make combination, it's the most reliable you can get.
First of all:
The output you're reporting is simply the message of Eclipse complaining that it can't run the debugger after your program crashed, so your Eclipse isn't set up properly.
So set up your gdb in Eclipse, start the program in debug mode and see where it crashes. Figure out what's wrong (possible not initialized ptr / member) and fix it.
Aren't you used to work with debuggers :confused:
Another thing:
It makes perfectly sense that the upd slot isn't available on connection w/o moc generating the meta info for your QObject.
The other slots you're connecting are already defined in QWidget (which gets inherited by QwtPlot), which has the macro, so they are known.
Make sure you dig again trough the Qt documentation and get the difference between an C++ object (which you get by subclassing) and Qt META objects (which require an additional Q_OBJECT macro to be created).
See QObject::staticMetaObject() ...
Hope this helps somehow to get things together and didn't confuse too much :rolleyes:
regards,
Bjoern