looper/backends/ui/qt/main.cpp
Zachary Hall f7f9fce3cb
Some checks failed
Build / build-gentoo (push) Failing after 1m10s
Build / download-system-deps (push) Successful in 3m44s
Build / get-source-code (push) Successful in 7m3s
Build / build-appimage (push) Successful in 3m28s
Build / build-android (push) Failing after 2m54s
Build / build-windows (push) Failing after 6m34s
Add QT6 frontend
2024-11-20 08:15:45 -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();
}