11-30-2012 11:33 AM
The proper way to do this is generally to set autoExit = false and process the manualExit() signal.
12-02-2012 02:27 AM
As I am very new to dev, I have some basic questions.
I connected the event to a slot
QObject::connect(app, SIGNAL( manualExit() ), this, SLOT( onManualExit() ));
but inside onManualExit(), after I save everything, how do I actually quit the app?
12-02-2012 10:55 AM
02-20-2013 09:56 AM
I am trying to -
but app is now not linking. I get this error :
undefined reference to symbol '_ZN2bb11Application11setAutoExitEb'
Anyone seen this. Thanks.
02-20-2013 02:02 PM
Add the following line to .pro file:
LIBS += -lbb
Thanks...that worked. I looked all over to see if I was missing another library (why can't the IDE add those automatically) but didn't find it. Could you let me know where I should have seen it so I know for the next time. Thanks.
02-20-2013 02:13 PM
Sometimes it's mentioned in docs, but not always:
It's often possible to guess the library name. BB libs follow this convention:
#include <bb/cascades/...> the corresponding lib is libbbcascades.so which becomes -lbbcascades key.
#include <bb/device/...>: -lbbdevice
and so on.
The convention is not mandatory though so it might be hard to automate.
Grepping by function name in target's libraries folder can also give hints. If the function is declared in system headers then the implementation should also be present somewhere.
02-20-2013 02:30 PM