rpcsx/rpcs3/rpcs3qt/main.cpp

19 lines
434 B
C++
Raw Normal View History

// Qt5.2+ frontend implementation for rpcs3. Known to work on Windows, Linux, Mac
2013-11-27 07:37:46 +01:00
// by Sacha Refshauge
2016-02-01 22:40:38 +01:00
#ifdef QT_UI
2013-11-27 07:37:46 +01:00
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include "glviewer.h"
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
qmlRegisterType<GLViewer>("GLViewer", 1, 0, "GLViewer");
QQmlApplicationEngine engine(QUrl("qrc:/qml/main.qml"));
return app.exec();
Q_UNUSED(engine)
}
2016-02-01 22:40:38 +01:00
#endif