This commit is contained in:
Your Name
2024-05-10 02:19:37 -05:00
parent c993de6c4b
commit ff6c539478
2 changed files with 7 additions and 1 deletions

View File

@@ -11,11 +11,17 @@
#include <QGuiApplication>
#include <qpa/qplatformnativeinterface.h>
#include <wayland-client-protocol.h>
#include <cstdlib>
#include <QWebEngineView>
int main(int argc, char *argv[]) {
setenv("XDG_RUNTIME_DIR", "/var/tmp/weston", 1);
setenv("WAYLAND_DISPLAY", "wayland-0", 1);
setenv("QT_QPA_PLATFORM", "wayland", 1);
setenv("QT_WAYLAND_SHELL_INTEGRATION", "wl-shell", 1);
QApplication app(argc, argv);
QCommandLineParser parser;