I write .service as below but the Qt application does not start.
Description=Test Qt Application
After=multi-user.target local-fs.target weston.service
I want to start the QtApplication after weston.service starts. Is there anything wrong with it?
(When I checked dmesg, the service started before the western compositer.)
When I enter "systemctl start" after login, it will start normally.
/opt/test/app.sh is as follows.
Qt Application log is as follows. "app.sh" is work. But QtAppliction is not work.
QML debugging is enabled. Only use this in a safe environment.
Failed to create wl_display (No s
uch file or directory)
qt.qpa.plugin: Could not load the
Qt platform plugin "wayland" in "" even though it was found. because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, offscreen, vnc, wayland-egl, wayland.