<div dir="ltr"><div><div>Hello.<br></div>Anyone can tell me, why would can this error when I try starting application?<br><br>QML debugging is enabled. Only use this in a safe environment.<br>This application failed to start because it could not find or load the Qt platform plugin "xcb"<br>in "".<br><br>Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.<br><br>Reinstalling the application may fix this problem.<br><span id="result_box" class="" lang="en"><span>Emergency stop</span> <span>(</span><span>memory dump</span> <span>is made</span><span class="">)<br>----------------------------------------------------------------------------------<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">If necessary,</span> <span class="">I use Qt 5.7.0, and use dynamic libraries qt<br></span></span></div><div><br></div>It's my snapcraft.yaml<br><br>name: timerproject<br>version: "1.0"<br>summary: timer<br>description: |<br>    Application for time-management<br>confinement: strict<br>architectures: [amd64]<br><br>apps:<br>    timerproject:<br>        command: desktop-launch ProjectTimer<br>        plugs: ['home', 'unity7', 'x11', 'opengl']<br><br>parts:<br>    timerproject:<br>        plugin: copy<br>        files:<br>            bin/ProjectTimer : usr/bin/ProjectTimer<br>            setup/gui/icon.png : usr/share/icons/timer.ico<br><br>    integration:<br>        plugin: nil<br>        stage-packages:<br>            - libc-bin<br>            - libxkbcommon0<br>            - ttf-ubuntu-font-family<br>            - dmz-cursor-theme<br>            - light-themes<br>            - shared-mime-info<br>            - libqt5gui5<br>            - libgdk-pixbuf2.0-0<br>            - libqt5svg5<br>            - appmenu-qt5<br>        after: [desktop/qt5]<br></div>