Different behaviour of QApplication!!
Hi all,
QApplication behaves differently on Mac and Windows. Say for example,
Code:
#include <QApplication>
int main(int argc, char *argv[])
{
return myapp.exec();
}
This program runs on windows till you kill it from task manager. Where as on Macintosh it
just exits. What do we have to do to get same behaviour as windows on Macintosh?
Thanks,
Raajesh
Re: Different behaviour of QApplication!!
can some body guide on this ?
Raajesh
Re: Different behaviour of QApplication!!
Probably because windows and mac treat differently window-less applications...
I expect if you create GUI or use QCoreApplication instead (in case your app does not make use of the QtGui module) your app will behave the same on all platforms.