Core22 doesn't work with Qt5

Hi @cmatsuoka, I commented out the layout

/usr/share/X11:
   bind: $SNAP/usr/share/X11

and it seems to work for now.

But there is a new issue, i keep getting this error

2023-03-31 06:49:34.223 Cannot pack snap file: Command '['snap', 'pack', '--check-skeleton', PosixPath('/root/prime')]' returned non-zero exit status 1. (2023/03/31 06:49:34.220727 container.go:177: in snap "cluemaster-mediadisplay-core": "bin/config" should be world-readable and executable, and isn't: -rwxrw-r--
2023/03/31 06:49:34.220781 container.go:177: in snap "cluemaster-mediadisplay-core": "bin/prepare-launch" should be world-readable and executable, and isn't: -rwxrw-r--
error: snap is unusable due to bad permissions)

even though the files are executable.

Here is a output from within the snapcraft --debug

snapcraft-cluemaster-mediadisplay-core-on-amd64-for-amd64-10354 ../prime/bin# 
snapcraft-cluemaster-mediadisplay-core-on-amd64-for-amd64-10354 ../prime/bin# ls -l
total 20
-rwxrw-r-- 4 root root  977 Mar 23 05:41 client-wrapper
-rwxrw-r-- 4 root root 1441 Mar 23 05:41 config
-rwxr-xr-x 4 root root  597 Mar 31 06:22 graphics-core22-wrapper
-rwxrw-r-- 4 root root  880 Mar 23 05:41 prepare-launch
-rwxrw-r-- 4 root root  446 Mar 23 05:41 pulseaudio
snapcraft-cluemaster-mediadisplay-core-on-amd64-for-amd64-10354 ../prime/bin# 

Maybe its related to this : Snapd is now doing a little sanity check on install

Thanks.