wip
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <sys/resource.h>
|
||||
|
||||
#include <cstdlib>
|
||||
// #include <QApplication>
|
||||
// #include <QTranslator>
|
||||
|
||||
@@ -55,6 +55,11 @@ public:
|
||||
};
|
||||
|
||||
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);
|
||||
|
||||
setpriority(PRIO_PROCESS, 0, -20);
|
||||
initApp(argc, argv);
|
||||
QApplication app(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user