From 45981878936e15b59d6a7f34a4169c5b5d3a9c0d Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Fri, 29 Sep 2023 18:46:08 +0300 Subject: [PATCH] Bring back Qt debugging artifact cause Qt sucks --- src/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index e24d4744..9356a257 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,7 +1,15 @@ #include "emulator.hpp" +#ifdef PANDA3DS_FRONTEND_QT +#include +#endif int main(int argc, char *argv[]) { Emulator emu; +#ifdef PANDA3DS_FRONTEND_QT + QApplication app(argc, argv); + return app.exec(); +#endif + emu.initGraphicsContext(); if (argc > 1) {