looper/backends/ui/qt/main.cpp
Zachary Hall ae74999276
Some checks failed
Build / build-gentoo (push) Failing after 1m25s
Build / download-system-deps (push) Successful in 3m44s
Build / get-source-code (push) Successful in 6m52s
Build / build-appimage (push) Successful in 3m29s
Build / build-android (push) Failing after 2m52s
Build / build-windows (push) Failing after 6m42s
Add QT6 frontend
2024-11-20 13:39:34 -08:00

19 lines
476 B
C++

#include "main.h"
#include "main_window.h"
#include <QMainWindow>
#include <QWindow>
#include <QGuiApplication>
#include <QApplication>
std::string QtUIBackend::get_id() {
return "qt";
}
std::string QtUIBackend::get_name() {
return "QT";
}
int QtUIBackend::run(std::vector<std::string> args, int argc, char **argv) {
UIBackend::run(args, argc, argv);
QApplication app(argc, argv);
LooperWindow window(this->playback);
window.show();
return app.exec();
}