ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1#include "main_window.hpp"
2#include <QApplication>
3
4int main(int argc, char **argv) {
5#ifdef __linux__
6 qputenv("QT_QPA_PLATFORM", "xcb");
7#endif
8 QApplication app(argc, argv);
9 QApplication::setWindowIcon(QIcon(":/win-icon.png"));
10 QFile styleFile(":/stylesheet.qss");
11 if (styleFile.open(QFile::ReadOnly)) {
12 QString style = QLatin1String(styleFile.readAll());
13 app.setStyle("Fusion");
14 app.setStyleSheet(style);
15 styleFile.close();
16 }
17 MainWindow mainWindow;
18 mainWindow.show();
19 return app.exec();
20}
int main(int argc, char **argv)
Application entry point.
Main launcher window for ACMX2/ACMXVK shader selection and execution.
Primary ACMX desktop UI.