2014-02-10 13:41:05 +01:00
|
|
|
#include <QApplication>
|
2014-02-10 17:15:22 +01:00
|
|
|
#include <QStyleFactory>
|
2014-02-10 13:41:05 +01:00
|
|
|
#include "ViewerWindow.hpp"
|
2013-09-26 23:30:15 +02:00
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
2014-02-10 13:41:05 +01:00
|
|
|
QApplication app(argc, argv);
|
2013-09-26 23:30:15 +02:00
|
|
|
|
2014-02-10 17:15:22 +01:00
|
|
|
/* HACK until Qt curve supports Qt5 */
|
|
|
|
QApplication::setStyle(QStyleFactory::create("GTK+"));
|
|
|
|
|
2014-02-10 13:41:05 +01:00
|
|
|
ViewerWindow viewer;
|
|
|
|
viewer.show();
|
2013-09-26 23:30:15 +02:00
|
|
|
|
2014-02-10 13:41:05 +01:00
|
|
|
return app.exec();
|
2013-09-26 23:30:15 +02:00
|
|
|
}
|