大概的原理应该是。
1.窗体 showFullScreen().
2.做个定时器,启动/bin/qt4脚本。
#include <stdlib.h>
#include <stdio.h>
#include "hello.h"
#include <qapplication.h>
#include <qtimer.h>
HelloForm::HelloForm( QWidget* parent, const char* name, WFlags fl):
HelloBaseForm(parent, name, fl)
{
this->showFullScreen();
QTimer::singleShot(200, this, SLOT(runqt4app()));
}
HelloForm::~HelloForm()
{
}
void HelloForm::runqt4app()
{
system("qt4");
qApp->quit();
}