16 lines
276 B
C++
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 Hyperboloid;
|
|
w->show();
|
|
|
|
return app.exec();
|
|
}
|