wip
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user