baluk
8th December 2010, 21:28
Hi,
I want to get the session id of my app.For this I have used the QApplication class, but I can't able to get the id infact my app stops working when it get to the QApplication line. Here is my code used for the session id.
QApplication *app;
QString session_ID = app->sessionId();
qDebug()<< session_ID;
Am I doing anything wrong or missing something.
Thank You,
Baluk
I want to get the session id of my app.For this I have used the QApplication class, but I can't able to get the id infact my app stops working when it get to the QApplication line. Here is my code used for the session id.
QApplication *app;
QString session_ID = app->sessionId();
qDebug()<< session_ID;
Am I doing anything wrong or missing something.
Thank You,
Baluk