Adds initial intermediate qt6 porting state

This commit is contained in:
torsten committed 2026-08-17 17:54:56 +02:00
1 parent 99136e9460
commit d176b5e0d7
11247 files changed
+1891537

No files matched your search

@@ -0,0 +1,44 @@
#include "stylePluginTest.h"
#include <LtsWidgets/lts_combo_box.h>
#include <StyleManager/style_manager.h>
#include <NGLLogger/INGLLogger.h>
#include <nglapplication/nglapplication.h>
#include <QApplication>
#include <QDebug>
#include <QStringList>
int main(int argc, char** argv)
{
NGLApplication app(argc, argv);
app.createLogger("StyleTest", "log4cxx_styletest.props");
QStringList arguments = app.arguments();
qWarning() << "arguments" << arguments;
if (arguments.count() < 2)
{
qWarning() << "Okay.. but which style? (enter the Style Plugin's IID)";
return 1;
}
if (arguments.count() > 2)
{
qWarning() << "Please only one argument! (taking the first one)";
}
LtsUtils::StyleManager *sm = LtsUtils::StyleManager::getInstance();
if (!sm->loadStyle(arguments.at(1)))
return 1;
QScopedPointer<LtsWidgets::LtsComboBox> d(new LtsWidgets::LtsComboBox);
StylePluginTest* test = new StylePluginTest(arguments.at(1));
test->show();
return app.exec();
}