gear-teeth/ui/src/main.cxx
2026-01-24 21:07:33 +03:00

16 lines
276 B
C++

#include "main_window.hxx"
#include <QApplication>
int main(int argc, char* argv[]) {
// only X11 is supported so, use XCB unless overriden
setenv("QT_QPA_PLATFORM", "xcb", 0);
QApplication app(argc, argv);
auto w = new PROJECTNAME;
w->show();
return app.exec();
}