123456789101112131415161718192021222324 |
- #include <QtGui/QApplication>
- #include "qmlapplicationviewer.h"
- #include "HttpServer.h"
- #include "PhoneBookServlet.h"
- #include "ApplicationLogic.h"
- #include <QDeclarativeContext>
- int main(int argc, char *argv[])
- {
- QApplication app(argc, argv);
- ApplicationLogic logic;
- QmlApplicationViewer viewer;
- viewer.rootContext()->setContextProperty("logic", &logic);
- viewer.setMainQmlFile(QLatin1String("qml/symergy/main.qml"));
- viewer.showExpanded();
- return app.exec();
- }
|