mirror of
https://gitee.com/drabel/LibQQt.git
synced 2025-01-04 10:18:44 +08:00
33 lines
789 B
C++
33 lines
789 B
C++
#include "mainwindow.h"
|
|
#include <QApplication>
|
|
|
|
#include "qqtobjectfactory.h"
|
|
#include "qqtcore.h"
|
|
#include "qqthttpdownloadmanager.h"
|
|
#include "qqtapplication.h"
|
|
#include "qqtqtiowebpageparser.h"
|
|
|
|
int main ( int argc, char* argv[] )
|
|
{
|
|
QQtApplication a ( argc, argv );
|
|
|
|
/*
|
|
QQtWidgetFactory::registerObject<QPushButton>();
|
|
QObject* obj = QQtWidgetFactory::createObject ( "QPushButton" );
|
|
pline() << obj->inherits ( "QWidget" );
|
|
pline() << obj->inherits ( "QPushButton" );
|
|
pline() << obj->inherits ( "QObject" );
|
|
obj->setObjectName ( "bbb" );
|
|
pline() << obj->objectName();
|
|
QQtObjectParcel::registerObject ( obj );
|
|
*/
|
|
|
|
QQtQtIOWebPageParser webparser;
|
|
webparser.sendRequest ( );
|
|
|
|
//MainWindow w;
|
|
//w.show();
|
|
|
|
return a.exec();
|
|
}
|