thank you for your reply,
but i don't quite understand, because i did construct a QApplication first.
this is my main.cpp
#include "MainWindow.h"
int main(int argc, char *argv[])
{
MainWindow mainWindow;
mainWindow.showFullScreen();
//mainWindow.prepare();
return app.exec();
}
#include "MainWindow.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MainWindow mainWindow;
mainWindow.showFullScreen();
//mainWindow.prepare();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
i have used qt for a while, i'm not completely new to qt, but this is the first time i have the problem. thanks.
Bookmarks