mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
18 lines
364 B
C++
18 lines
364 B
C++
#include "mainwindow.h"
|
|
#include <QQtApplication>
|
|
#include "qqtobjectmanager.h"
|
|
|
|
int main ( int argc, char* argv[] )
|
|
{
|
|
QQtApplication a ( argc, argv );
|
|
|
|
QQtObjectFactory::registerObject<QObject>();
|
|
QObject* o = QQtObjectFactory::createObject ( "QObject" );
|
|
pline() << o;
|
|
|
|
MainWindow w;
|
|
w.show();
|
|
|
|
return a.exec();
|
|
}
|