35 lines
885 B
C++
Executable File
35 lines
885 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Hannes Fritsche, SLSE, 2017-09-06
|
|
*/
|
|
|
|
#include "mainwindow.h"
|
|
#include <nglapplication/nglapplication.h>
|
|
|
|
#include <LtsPluginManager/lts_plugin_loader.h>
|
|
#include <PluginInterfaces/style_plugin_interface.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
NGLApplication app(argc, argv);
|
|
app.createLogger("CNR Proxy Tester");
|
|
QCoreApplication::setApplicationName(QLatin1String("CNR Proxy Tester"));
|
|
QCoreApplication::setOrganizationName(QLatin1String("RME"));
|
|
|
|
LtsPluginManager::LtsPluginLoader::getInstance()->loadPlugins(LtsPluginManager::PluginType::STYLE, nullptr
|
|
, QStringList() << QStringLiteral("rme.light")); // load style plugin
|
|
|
|
|
|
MainWindow w;
|
|
w.show();
|
|
|
|
app.setQuitOnLastWindowClosed(true);
|
|
|
|
int retval = app.exec();
|
|
|
|
return retval;
|
|
}
|