问:
Resource on embedded linux not available
I build a simple test project with qt creator. Just a window, a button and an icon.

The icon (stopbutton.svg) is in an resource file.

In qtcreator I have setup two kids, one fore desktop-linux and one for the embedded-linux system.

In the project file I add the resource:

RESOURCES += KeyboardMouseResource.qrc

I can compile and start both programs but on the embedded system the stopbutton.svg is not available.

Has anyone a solution for that?

How can I disable the creation of the "commonstyle" resource entries?

I used QDirIterator to list the resources

```<code> QDirIterator
  it(":", QDirIterator::Subdirectories);

  while (it.hasNext())
    {
     qDebug() << it.next();
    }
</code>```

On the desktop system I got:

```<code>   Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
":/qgradient"
":/qgradient/webgradients.binaryjson"
":/qpdf"
":/qpdf/qpdfa_metadata.xml"
":/qpdf/sRGB2014.icc"
":/qt-project.org"
":/qt-project.org/styles"
":/qt-project.org/styles/commonstyle"
":/qt-project.org/styles/commonstyle/images"
":/qt-project.org/styles/commonstyle/images/networkdrive-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-16.png"
":/qt-project.org/styles/commonstyle/images/up-16.png"
":/qt-project.org/styles/commonstyle/images/up-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-32.png"
":/qt-project.org/styles/commonstyle/images/cdr-32.png"
":/qt-project.org/styles/commonstyle/images/left-32.png"
":/qt-project.org/styles/commonstyle/images/stop-32.png"
":/qt-project.org/styles/commonstyle/images/file-16.png"
":/qt-project.org/styles/commonstyle/images/down-16.png"
":/qt-project.org/styles/commonstyle/images/stop-24.png"
":/qt-project.org/styles/commonstyle/images/left-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-rtl-8.png"
":/qt-project.org/styles/commonstyle/images/down-32.png"
":/qt-project.org/styles/commonstyle/images/file-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-32.png"
":/qt-project.org/styles/commonstyle/images/cleartext-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-16.png"
":/qt-project.org/styles/commonstyle/images/cleartext-16.png"
":/qt-project.org/styles/commonstyle/images/dirlink-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-muted-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-16.png"
":/qt-project.org/styles/commonstyle/images/fonttruetype-16.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-128.png"
":/qt-project.org/styles/commonstyle/images/filecontents-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-32.png"
":/qt-project.org/styles/commonstyle/images/harddrive-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-16.png"
":/qt-project.org/styles/commonstyle/images/closedock-32.png"
":/qt-project.org/styles/commonstyle/images/closedock-48.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-128.png"
":/qt-project.org/styles/commonstyle/images/closedock-16.png"
":/qt-project.org/styles/commonstyle/images/closedock-10.png"
":/qt-project.org/styles/commonstyle/images/closedock-20.png"
":/qt-project.org/styles/commonstyle/images/trash-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-32.png"
":/qt-project.org/styles/commonstyle/images/fontbitmap-16.png"
":/qt-project.org/styles/commonstyle/images/closedock-64.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-32.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-32.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-16.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-16.png"
":/qt-project.org/styles/commonstyle/images/up-128.png"
":/qt-project.org/styles/commonstyle/images/media-pause-32.png"
":/qt-project.org/styles/commonstyle/images/media-pause-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-128.png"
":/qt-project.org/styles/commonstyle/images/dvd-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-32.png"
":/qt-project.org/styles/commonstyle/images/harddrive-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-16.png"
":/qt-project.org/styles/commonstyle/images/harddrive-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-32.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-128.png"
":/qt-project.org/styles/commonstyle/images/fusion_groupbox.png"
":/qt-project.org/styles/commonstyle/images/right-128.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-shade-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-shade-48.png"
":/qt-project.org/styles/commonstyle/images/titlebar-shade-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-16.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-unshade-16.png"
":/qt-project.org/styles/commonstyle/images/diropen-128.png"
":/qt-project.org/styles/commonstyle/images/titlebar-unshade-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-unshade-48.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-128.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-16.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-32.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-24.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-128.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-64.png"
":/qt-project.org/styles/commonstyle/images/viewlist-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-128.png"
":/qt-project.org/styles/commonstyle/images/computer-32.png"
":/qt-project.org/styles/commonstyle/images/computer-16.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-16.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-10.png"
":/qt-project.org/styles/commonstyle/images/parentdir-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-contexthelp-16.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-20.png"
":/qt-project.org/styles/commonstyle/images/parentdir-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-contexthelp-48.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-32.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-48.png"
":/qt-project.org/styles/commonstyle/images/titlebar-contexthelp-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-16.png"
":/qt-project.org/styles/commonstyle/images/media-play-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-16.png"
":/qt-project.org/styles/commonstyle/images/media-stop-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-32.png"
":/qt-project.org/styles/commonstyle/images/media-play-32.png"
":/qt-project.org/styles/commonstyle/images/down-128.png"
":/qt-project.org/styles/commonstyle/images/media-stop-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-128.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-16.png"
":/qt-project.org/styles/commonstyle/images/viewlist-16.png"
":/qt-project.org/styles/commonstyle/images/viewlist-32.png"
":/qt-project.org/styles/commonstyle/images/file-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-32.png"
":/qt-project.org/styles/commonstyle/images/left-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-16.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-rtl-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-rtl-32.png"
":/qt-project.org/styles/commonstyle/images/filelink-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-min-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-max-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-min-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-max-32.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-8.png"
":/qt-project.org/styles/commonstyle/images/titlebar-min-48.png"
":/qt-project.org/styles/commonstyle/images/titlebar-max-48.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-32.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-v-20.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-v-10.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-32.png"
":/qt-project.org/styles/commonstyle/images/parentdir-128.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-v-5.png"
":/qt-project.org/styles/commonstyle/images/filecontents-32.png"
":/qt-project.org/styles/commonstyle/images/trash-32.png"
":/qt-project.org/styles/commonstyle/images/filecontents-16.png"
":/qt-project.org/styles/commonstyle/images/trash-16.png"
":/qt-project.org/styles/commonstyle/images/right-16.png"
":/qt-project.org/styles/commonstyle/images/right-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-128.png"
":/qt-project.org/styles/macstyle"
":/qt-project.org/styles/macstyle/images"
":/qt-project.org/styles/macstyle/images/toolbar-ext.png"
":/qt-project.org/styles/macstyle/images/dockdock-down-16.png"
":/qt-project.org/styles/macstyle/images/closedock-16.png"
":/qt-project.org/styles/macstyle/images/dockdock-16.png"
":/qt-project.org/styles/macstyle/images/closedock-down-16.png"
":/qt-project.org/styles/macstyle/images/toolbar-ext@2x.png"
":/qt-project.org/qmessagebox"
":/qt-project.org/qmessagebox/images"
":/qt-project.org/qmessagebox/images/qtlogo-64.png"
":/prefix"
":/prefix/stopbutton.svg"
</code>```

and on the embedded system I got this:

```<code>Cannot open file ':/prefix/stopbutton.svg', because: No such file or directory
Cannot open file ':/prefix/stopbutton.svg', because: No such file or directory
":/qt-project.org"
":/qt-project.org/qmime"
":/qt-project.org/qmime/freedesktop.org.xml"
":/qt-project.org/styles"
":/qt-project.org/styles/commonstyle"
":/qt-project.org/styles/commonstyle/images"
":/qt-project.org/styles/commonstyle/images/networkdrive-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-16.png"
":/qt-project.org/styles/commonstyle/images/up-16.png"
":/qt-project.org/styles/commonstyle/images/up-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-32.png"
":/qt-project.org/styles/commonstyle/images/cdr-32.png"
":/qt-project.org/styles/commonstyle/images/left-32.png"
":/qt-project.org/styles/commonstyle/images/stop-32.png"
":/qt-project.org/styles/commonstyle/images/file-16.png"
":/qt-project.org/styles/commonstyle/images/down-16.png"
":/qt-project.org/styles/commonstyle/images/stop-24.png"
":/qt-project.org/styles/commonstyle/images/left-16.png"
":/qt-project.org/styles/commonstyle/images/down-32.png"
":/qt-project.org/styles/commonstyle/images/file-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-32.png"
":/qt-project.org/styles/commonstyle/images/cleartext-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-16.png"
":/qt-project.org/styles/commonstyle/images/cleartext-16.png"
":/qt-project.org/styles/commonstyle/images/dirlink-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-muted-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-16.png"
":/qt-project.org/styles/commonstyle/images/fonttruetype-16.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-128.png"
":/qt-project.org/styles/commonstyle/images/filecontents-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-32.png"
":/qt-project.org/styles/commonstyle/images/harddrive-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-16.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-128.png"
":/qt-project.org/styles/commonstyle/images/trash-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-32.png"
":/qt-project.org/styles/commonstyle/images/fontbitmap-16.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-32.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-32.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-16.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-16.png"
":/qt-project.org/styles/commonstyle/images/up-128.png"
":/qt-project.org/styles/commonstyle/images/media-pause-32.png"
":/qt-project.org/styles/commonstyle/images/media-pause-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-128.png"
":/qt-project.org/styles/commonstyle/images/dvd-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-16.png"
":/qt-project.org/styles/commonstyle/images/harddrive-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-16.png"
":/qt-project.org/styles/commonstyle/images/harddrive-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-32.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-128.png"
":/qt-project.org/styles/commonstyle/images/fusion_groupbox.png"
":/qt-project.org/styles/commonstyle/images/right-128.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-16.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-128.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-16.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-32.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-24.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-128.png"
":/qt-project.org/styles/commonstyle/images/viewlist-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-128.png"
":/qt-project.org/styles/commonstyle/images/computer-32.png"
":/qt-project.org/styles/commonstyle/images/computer-16.png"
":/qt-project.org/styles/commonstyle/images/parentdir-32.png"
":/qt-project.org/styles/commonstyle/images/parentdir-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-16.png"
":/qt-project.org/styles/commonstyle/images/media-play-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-16.png"
":/qt-project.org/styles/commonstyle/images/media-stop-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-32.png"
":/qt-project.org/styles/commonstyle/images/media-play-32.png"
":/qt-project.org/styles/commonstyle/images/down-128.png"
":/qt-project.org/styles/commonstyle/images/media-stop-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-128.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-16.png"
":/qt-project.org/styles/commonstyle/images/fusion_arrow.png"
":/qt-project.org/styles/commonstyle/images/viewlist-16.png"
":/qt-project.org/styles/commonstyle/images/viewlist-32.png"
":/qt-project.org/styles/commonstyle/images/file-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-32.png"
":/qt-project.org/styles/commonstyle/images/left-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-16.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-16.png"
":/qt-project.org/styles/commonstyle/images/parentdir-128.png"
":/qt-project.org/styles/commonstyle/images/filecontents-32.png"
":/qt-project.org/styles/commonstyle/images/trash-32.png"
":/qt-project.org/styles/commonstyle/images/filecontents-16.png"
":/qt-project.org/styles/commonstyle/images/trash-16.png"
":/qt-project.org/styles/commonstyle/images/right-16.png"
":/qt-project.org/styles/commonstyle/images/right-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-128.png"
":/qt-project.org/styles/macstyle"
":/qt-project.org/styles/macstyle/images"
":/qt-project.org/styles/macstyle/images/toolbar-ext.png"
":/qt-project.org/styles/macstyle/images/dockdock-down-16.png"
":/qt-project.org/styles/macstyle/images/closedock-16.png"
":/qt-project.org/styles/macstyle/images/dockdock-16.png"
":/qt-project.org/styles/macstyle/images/closedock-down-16.png"
":/qt-project.org/styles/macstyle/images/toolbar-ext@2x.png"
":/qt-project.org/qmessagebox"
":/qt-project.org/qmessagebox/images"
":/qt-project.org/qmessagebox/images/qtlogo-64.png"
":/cursor-atlas.png"
":/cursor.json"
could not open  ":/prefix/stopbutton.svg"
</code>```

Body:
I build a simple test project with qt creator. Just a window, a button and an icon.

The icon (stopbutton.svg) is in an resource file.

In qtcreator I have setup two kids, one fore desktop-linux and one for the embedded-linux system.

In the project file I add the resource:

RESOURCES += KeyboardMouseResource.qrc

I can compile and start both programs but on the embedded system the stopbutton.svg is not available.

Has anyone a solution for that?

How can I disable the creation of the "commonstyle" resource entries?

I used QDirIterator to list the resources

 QDirIterator
  it(":", QDirIterator::Subdirectories);

  while (it.hasNext())
    {
     qDebug() << it.next();
    }

On the desktop system I got:

   Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
":/qgradient"
":/qgradient/webgradients.binaryjson"
":/qpdf"
":/qpdf/qpdfa_metadata.xml"
":/qpdf/sRGB2014.icc"
":/qt-project.org"
":/qt-project.org/styles"
":/qt-project.org/styles/commonstyle"
":/qt-project.org/styles/commonstyle/images"
":/qt-project.org/styles/commonstyle/images/networkdrive-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-16.png"
":/qt-project.org/styles/commonstyle/images/up-16.png"
":/qt-project.org/styles/commonstyle/images/up-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-32.png"
":/qt-project.org/styles/commonstyle/images/cdr-32.png"
":/qt-project.org/styles/commonstyle/images/left-32.png"
":/qt-project.org/styles/commonstyle/images/stop-32.png"
":/qt-project.org/styles/commonstyle/images/file-16.png"
":/qt-project.org/styles/commonstyle/images/down-16.png"
":/qt-project.org/styles/commonstyle/images/stop-24.png"
":/qt-project.org/styles/commonstyle/images/left-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-rtl-8.png"
":/qt-project.org/styles/commonstyle/images/down-32.png"
":/qt-project.org/styles/commonstyle/images/file-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-32.png"
":/qt-project.org/styles/commonstyle/images/cleartext-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-16.png"
":/qt-project.org/styles/commonstyle/images/cleartext-16.png"
":/qt-project.org/styles/commonstyle/images/dirlink-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-muted-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-16.png"
":/qt-project.org/styles/commonstyle/images/fonttruetype-16.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-128.png"
":/qt-project.org/styles/commonstyle/images/filecontents-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-32.png"
":/qt-project.org/styles/commonstyle/images/harddrive-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-16.png"
":/qt-project.org/styles/commonstyle/images/closedock-32.png"
":/qt-project.org/styles/commonstyle/images/closedock-48.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-128.png"
":/qt-project.org/styles/commonstyle/images/closedock-16.png"
":/qt-project.org/styles/commonstyle/images/closedock-10.png"
":/qt-project.org/styles/commonstyle/images/closedock-20.png"
":/qt-project.org/styles/commonstyle/images/trash-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-32.png"
":/qt-project.org/styles/commonstyle/images/fontbitmap-16.png"
":/qt-project.org/styles/commonstyle/images/closedock-64.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-32.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-32.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-16.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-16.png"
":/qt-project.org/styles/commonstyle/images/up-128.png"
":/qt-project.org/styles/commonstyle/images/media-pause-32.png"
":/qt-project.org/styles/commonstyle/images/media-pause-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-128.png"
":/qt-project.org/styles/commonstyle/images/dvd-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-32.png"
":/qt-project.org/styles/commonstyle/images/harddrive-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-16.png"
":/qt-project.org/styles/commonstyle/images/harddrive-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-32.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-128.png"
":/qt-project.org/styles/commonstyle/images/fusion_groupbox.png"
":/qt-project.org/styles/commonstyle/images/right-128.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-shade-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-shade-48.png"
":/qt-project.org/styles/commonstyle/images/titlebar-shade-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-16.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-unshade-16.png"
":/qt-project.org/styles/commonstyle/images/diropen-128.png"
":/qt-project.org/styles/commonstyle/images/titlebar-unshade-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-unshade-48.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-128.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-16.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-32.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-24.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-128.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-64.png"
":/qt-project.org/styles/commonstyle/images/viewlist-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-128.png"
":/qt-project.org/styles/commonstyle/images/computer-32.png"
":/qt-project.org/styles/commonstyle/images/computer-16.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-16.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-10.png"
":/qt-project.org/styles/commonstyle/images/parentdir-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-contexthelp-16.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-20.png"
":/qt-project.org/styles/commonstyle/images/parentdir-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-contexthelp-48.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-32.png"
":/qt-project.org/styles/commonstyle/images/normalizedockup-48.png"
":/qt-project.org/styles/commonstyle/images/titlebar-contexthelp-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-16.png"
":/qt-project.org/styles/commonstyle/images/media-play-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-16.png"
":/qt-project.org/styles/commonstyle/images/media-stop-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-32.png"
":/qt-project.org/styles/commonstyle/images/media-play-32.png"
":/qt-project.org/styles/commonstyle/images/down-128.png"
":/qt-project.org/styles/commonstyle/images/media-stop-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-128.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-16.png"
":/qt-project.org/styles/commonstyle/images/viewlist-16.png"
":/qt-project.org/styles/commonstyle/images/viewlist-32.png"
":/qt-project.org/styles/commonstyle/images/file-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-32.png"
":/qt-project.org/styles/commonstyle/images/left-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-16.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-rtl-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-rtl-32.png"
":/qt-project.org/styles/commonstyle/images/filelink-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-min-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-max-16.png"
":/qt-project.org/styles/commonstyle/images/titlebar-min-32.png"
":/qt-project.org/styles/commonstyle/images/titlebar-max-32.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-8.png"
":/qt-project.org/styles/commonstyle/images/titlebar-min-48.png"
":/qt-project.org/styles/commonstyle/images/titlebar-max-48.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-32.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-v-20.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-v-10.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-16.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-h-32.png"
":/qt-project.org/styles/commonstyle/images/parentdir-128.png"
":/qt-project.org/styles/commonstyle/images/toolbar-ext-v-5.png"
":/qt-project.org/styles/commonstyle/images/filecontents-32.png"
":/qt-project.org/styles/commonstyle/images/trash-32.png"
":/qt-project.org/styles/commonstyle/images/filecontents-16.png"
":/qt-project.org/styles/commonstyle/images/trash-16.png"
":/qt-project.org/styles/commonstyle/images/right-16.png"
":/qt-project.org/styles/commonstyle/images/right-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-128.png"
":/qt-project.org/styles/macstyle"
":/qt-project.org/styles/macstyle/images"
":/qt-project.org/styles/macstyle/images/toolbar-ext.png"
":/qt-project.org/styles/macstyle/images/dockdock-down-16.png"
":/qt-project.org/styles/macstyle/images/closedock-16.png"
":/qt-project.org/styles/macstyle/images/dockdock-16.png"
":/qt-project.org/styles/macstyle/images/closedock-down-16.png"
":/qt-project.org/styles/macstyle/images/toolbar-ext@2x.png"
":/qt-project.org/qmessagebox"
":/qt-project.org/qmessagebox/images"
":/qt-project.org/qmessagebox/images/qtlogo-64.png"
":/prefix"
":/prefix/stopbutton.svg"

and on the embedded system I got this:

Cannot open file ':/prefix/stopbutton.svg', because: No such file or directory
Cannot open file ':/prefix/stopbutton.svg', because: No such file or directory
":/qt-project.org"
":/qt-project.org/qmime"
":/qt-project.org/qmime/freedesktop.org.xml"
":/qt-project.org/styles"
":/qt-project.org/styles/commonstyle"
":/qt-project.org/styles/commonstyle/images"
":/qt-project.org/styles/commonstyle/images/networkdrive-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-16.png"
":/qt-project.org/styles/commonstyle/images/up-16.png"
":/qt-project.org/styles/commonstyle/images/up-32.png"
":/qt-project.org/styles/commonstyle/images/dvd-32.png"
":/qt-project.org/styles/commonstyle/images/cdr-32.png"
":/qt-project.org/styles/commonstyle/images/left-32.png"
":/qt-project.org/styles/commonstyle/images/stop-32.png"
":/qt-project.org/styles/commonstyle/images/file-16.png"
":/qt-project.org/styles/commonstyle/images/down-16.png"
":/qt-project.org/styles/commonstyle/images/stop-24.png"
":/qt-project.org/styles/commonstyle/images/left-16.png"
":/qt-project.org/styles/commonstyle/images/down-32.png"
":/qt-project.org/styles/commonstyle/images/file-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-32.png"
":/qt-project.org/styles/commonstyle/images/cleartext-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-16.png"
":/qt-project.org/styles/commonstyle/images/cleartext-16.png"
":/qt-project.org/styles/commonstyle/images/dirlink-16.png"
":/qt-project.org/styles/commonstyle/images/networkdrive-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-muted-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-16.png"
":/qt-project.org/styles/commonstyle/images/fonttruetype-16.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-128.png"
":/qt-project.org/styles/commonstyle/images/filecontents-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-32.png"
":/qt-project.org/styles/commonstyle/images/harddrive-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-16.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-128.png"
":/qt-project.org/styles/commonstyle/images/trash-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-apply-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-32.png"
":/qt-project.org/styles/commonstyle/images/fontbitmap-16.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-32.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-32.png"
":/qt-project.org/styles/commonstyle/images/newdirectory-16.png"
":/qt-project.org/styles/commonstyle/images/dirclosed-16.png"
":/qt-project.org/styles/commonstyle/images/up-128.png"
":/qt-project.org/styles/commonstyle/images/media-pause-32.png"
":/qt-project.org/styles/commonstyle/images/media-pause-16.png"
":/qt-project.org/styles/commonstyle/images/cdr-128.png"
":/qt-project.org/styles/commonstyle/images/dvd-128.png"
":/qt-project.org/styles/commonstyle/images/media-volume-16.png"
":/qt-project.org/styles/commonstyle/images/harddrive-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-16.png"
":/qt-project.org/styles/commonstyle/images/harddrive-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-cancel-32.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-128.png"
":/qt-project.org/styles/commonstyle/images/fusion_groupbox.png"
":/qt-project.org/styles/commonstyle/images/right-128.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-32.png"
":/qt-project.org/styles/commonstyle/images/dirlink-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-16.png"
":/qt-project.org/styles/commonstyle/images/media-seek-forward-32.png"
":/qt-project.org/styles/commonstyle/images/diropen-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-128.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-16.png"
":/qt-project.org/styles/commonstyle/images/viewdetailed-32.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-128.png"
":/qt-project.org/styles/commonstyle/images/media-seek-backward-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-32.png"
":/qt-project.org/styles/commonstyle/images/refresh-24.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-128.png"
":/qt-project.org/styles/commonstyle/images/viewlist-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-yes-128.png"
":/qt-project.org/styles/commonstyle/images/computer-32.png"
":/qt-project.org/styles/commonstyle/images/computer-16.png"
":/qt-project.org/styles/commonstyle/images/parentdir-32.png"
":/qt-project.org/styles/commonstyle/images/parentdir-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-16.png"
":/qt-project.org/styles/commonstyle/images/media-play-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-16.png"
":/qt-project.org/styles/commonstyle/images/media-stop-16.png"
":/qt-project.org/styles/commonstyle/images/desktop-32.png"
":/qt-project.org/styles/commonstyle/images/media-play-32.png"
":/qt-project.org/styles/commonstyle/images/down-128.png"
":/qt-project.org/styles/commonstyle/images/media-stop-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-delete-128.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-backward-16.png"
":/qt-project.org/styles/commonstyle/images/fusion_arrow.png"
":/qt-project.org/styles/commonstyle/images/viewlist-16.png"
":/qt-project.org/styles/commonstyle/images/viewlist-32.png"
":/qt-project.org/styles/commonstyle/images/file-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-32.png"
":/qt-project.org/styles/commonstyle/images/left-128.png"
":/qt-project.org/styles/commonstyle/images/floppy-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-no-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-ok-16.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-32.png"
":/qt-project.org/styles/commonstyle/images/media-skip-forward-16.png"
":/qt-project.org/styles/commonstyle/images/filelink-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-open-32.png"
":/qt-project.org/styles/commonstyle/images/fileinfo-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-help-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-16.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-save-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-closetab-down-16.png"
":/qt-project.org/styles/commonstyle/images/parentdir-128.png"
":/qt-project.org/styles/commonstyle/images/filecontents-32.png"
":/qt-project.org/styles/commonstyle/images/trash-32.png"
":/qt-project.org/styles/commonstyle/images/filecontents-16.png"
":/qt-project.org/styles/commonstyle/images/trash-16.png"
":/qt-project.org/styles/commonstyle/images/right-16.png"
":/qt-project.org/styles/commonstyle/images/right-32.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-clear-128.png"
":/qt-project.org/styles/commonstyle/images/standardbutton-close-128.png"
":/qt-project.org/styles/macstyle"
":/qt-project.org/styles/macstyle/images"
":/qt-project.org/styles/macstyle/images/toolbar-ext.png"
":/qt-project.org/styles/macstyle/images/dockdock-down-16.png"
":/qt-project.org/styles/macstyle/images/closedock-16.png"
":/qt-project.org/styles/macstyle/images/dockdock-16.png"
":/qt-project.org/styles/macstyle/images/closedock-down-16.png"
":/qt-project.org/styles/macstyle/images/toolbar-ext@2x.png"
":/qt-project.org/qmessagebox"
":/qt-project.org/qmessagebox/images"
":/qt-project.org/qmessagebox/images/qtlogo-64.png"
":/cursor-atlas.png"
":/cursor.json"
could not open  ":/prefix/stopbutton.svg"


来源: stackexchange

问:
ClassNotFoundException while calling a class in main application from java agent extension
I am running a spring boot application, which has a dependency in pom.xml (i.e., client-library)
A java agent extension is running parallelly with spring boot application. I am trying to call a class in client-library class from a class in java agent extension, which gives class not found exception.

NOTE: If I run same thing in eclipse, it will run properly. I checked in eclipse run configuration, it sets all jar files in class path and invokes the spring boot main class along with extension.
I use Class.forName(pachage_name) to call the client library from java agent extension.

It do not work when deployed through command line, can anyone suggest how to fix class not found exception.

copied boot_inf/lib and boot_inf/classes from generated jar and pasted in a folder and set in classpath and invoked main class. App runs properly. But I want to run it as a java -jar only hence want to fix class not found exception.

java -javaagent:"opentelemetry-javaagent-1.15.0.jar" -Dotel.resource.attributes=***** -Dotel.service.name=**** -Dotel.traces.exporter=**** -Dotel.metrics.exporter=**** -Dotel.javaagent.enabled=true -Dcontrast.agent.java.standalone_app_name=***** -Dotel.javaagent.extensions="otel-agent-ext-java-1.2.49-m3.jar" -classpath "C:\classes;C:\lib*" com.xyz.otelc.MainClass

I have to dpeloy this on cloudfoundry and only thing i can do is cf push and no option to set class paths.

ContentLicense: CC BY-SA 4.0


问:
Want to open a text file in it's default editor in Qt
I want to open a text file in linux using QProcess. I donot want to use QDesktopServices.

Is there any way to just point it to preferred editor and pass the name of the file as a parameter or any other way to open the text file ?


问:
How can I create a real lazy loading in Shopify
I have this code and its running. Its basically hiding the elements that are not in view and when they come into view the .lazy class is removed and they become visible. The issue with this method is, that its still loading all the elements at once for example on page load.

How can I change the code that its really only loading the first 6 elements, then the user scrolls down and its loads the next 6 elements and so on. The important thing is, that the list has to stay searchable.

The perfect example would be this page here:
https://de.louisvuitton.com/deu-de/herren/taschen/alle-taschen/_/N-t1uezqf4

This is my code:

```<code><script>
const batchSize = 3;
let observer;
let currentIndex = 0;

const showNextBatch = (entries) => {
    entries.forEach(entry => {
        if (entry.isIntersecting) {
            const endIndex = currentIndex + batchSize;
            for (let i = currentIndex; i < endIndex && i < items.length; i++) {
                items[i].classList.remove('lazy');
            }
            currentIndex = endIndex;

            if (currentIndex >= items.length) {
                observer.disconnect();
            }
        }
    });
};

const options = {
  rootMargin: '50px 0px',
  threshold: 0.01
};

if ('IntersectionObserver' in window) {
  let collectionList = document.querySelector('.swiper-wrapper');
  let items = collectionList.querySelectorAll('.swiper-slide');

  for (let i = 0; i < items.length; i++) {
    items[i].classList.add('lazy');
  }

  observer = new IntersectionObserver(showNextBatch, options);

  for (let i = 0; i < batchSize; i++) {
    items[i].classList.remove('lazy');
  }
  currentIndex = 0;

  for (let i = currentIndex; i < items.length; i++) {
    observer.observe(items[i]);
  }
}
  const mutationObserver = new MutationObserver(() => {
    resetObserver();
  });

  mutationObserver.observe(document.body, {
    childList: true,
    subtree: true
  });

 const resetObserver = () => {
  observer.disconnect();
  collectionList = document.querySelector('.swiper-wrapper');
  items = collectionList.querySelectorAll('.swiper-slide');

  for (let i = 0; i < items.length; i++) {
    items[i].classList.add('lazy');
  }
  currentIndex = 0;
  observer = new IntersectionObserver(showNextBatch, options);

  for (let i = 0; i < batchSize; i++) {
    items[i].classList.remove('lazy');
  }
  currentIndex = 0;

  for (let i = currentIndex; i < items.length; i++) {
    observer.observe(items[i]);
  }
};
</script>
</code>```


问:
SP Online: Remote Event Azure function don't fire on each list
i created a function app containing a function.
This function is used as remote event.

I linked this event to a list on a specific site "site1" like this:

$functionUrl= 'https://appName.azurewebsites.net/api/FunctionName'

Add-PnPEventReceiver -List "Documents" -Name NameAdded -Url $functionUrl -EventReceiverType ItemAdded -Synchronization Asynchronous
Add-PnPEventReceiver -List "Documents" -Name NameUpdated -Url $functionUrl -EventReceiverType ItemUpdated -Synchronization Asynchronous

It's working perfectly, i see all my calls in the function monitor.

Now, i linked the function to an other list (with the same name "Documents") in an other site "site2".
I used exactly the same commands, changing only the site to connect.
The function seems well linked, but the event never fires for these links.

Now, in the function monitor, i see all my calls for the site1, but never appears/fires for the site2.
I have no idea why...

As info: an app registration exists, and the rights are "Full control on all site collections"

I tried to:

synchronize events with a restart of the Function App, still not working for the site2.

unlink-relink events for the site2 list.

redeploy the function

Thank you in advance for a possible solution idea :)


问:
Codeigniter 4 : Controller or its method is not found: \App\Controllers\Produk::update_data
so I'm making a crud function in codeigniter 4, it's just that I can't edit the data because of an error, namely controller or method not found

Here's the error :
enter image description here

Here My Routes:

```<code>$routes->get('/', 'Admin\Dashboard::index');
$routes->get('/produk', 'Admin\Produk::index');
$routes->get('/produk/kategori', 'Admin\Produk::kategori');
$routes->get('/produk/create', 'Admin\Produk::create');
$routes->post('/produk/save', 'Admin\Produk::save');
$routes->get('/produk/edit/(:segment)', 'Admin\Produk::edit/$1');
$routes->post('/produk/update_data', 'Admin\Produk::update_data');
$routes->delete('/produk/(:num)', 'Admin\Produk::delete/$1');
</code>```

My controller :

```<code><?php

namespace App\Controllers\Admin;

use App\Controllers\BaseController;
use \App\Models\KategoriModel;

class Produk extends BaseController
{
    protected $kategoriModel;
    public function __construct()
    {
        $this->kategoriModel = new KategoriModel();
    }

    public function index()
    {
        $data = [
            'title' => 'Daftar Produk',
        ];
        return view('admin/produk/index', $data);
    }

    public function kategori()
    {
        $data = [
            'title' => 'Kategori Produk',
            'kategori' => $this->kategoriModel->findAll(),
        ];
        return view('admin/produk/kategori', $data);
    }

    public function create()
    {
        $data = [
            'title' => 'Add Kategori',
            'validation' => \Config\Services::validation()
        ];

        return view('admin/produk/create', $data);
    }

    public function save()
    {
        //validasi input
        if (!$this->validate([
            'nama' => [
                'rules' => 'required|is_unique[kategori_produk.nama]',
                'errors' => [
                    'required' => '{field} nama harus diisi.',
                    'is_unique' => '{field} nama sudah ada.'
                ]
            ]
        ])) {
            return redirect()->back()->
            with('pesan', 'Data berhasil ditambahkan.');
        }

        $slug = url_title($this->request->getVar('nama'), '-', true);
        $this->kategoriModel->save([
            'nama' => $this->request->getVar('nama'),
            'slug' => $slug,
        ]);

        return redirect()->to('admin/produk/kategori');
    }

    public function delete($id)
    {
        //delete berdasarkan id
        $this->kategoriModel->delete($id);
        return redirect()->to('admin/produk/kategori');
    }

    public function edit($slug)
    {
        $data = [
            'title' => 'Edit data',
            'validation' => \Config\Services::validation(),
            'kategori' => $this->kategoriModel->getKategori($slug)
        ];

        return view('admin/produk/edit', $data);
    }

    public function update_data($id)
    {
        //validasi input
        $kategoriLama = $this->kategoriModel->getKategori($this->request->getVar('slug'));
        if ($kategoriLama['nama'] == $this->request->getVar('nama')) {
            $rules_judul = 'required';
        } else {
            $rules_judul = 'required|is_unique[kategori_produk.nama]';
        }
        if (!$this->validate([
            'nama' => [
                'rules' => $rules_judul,
                'errors' => [
                    'required' => '{field} nama harus diisi.',
                    'is_unique' => '{field} nama sudah ada.'
                ]
            ]
        ])) {
            return redirect()->back()->with('pesan', 'Data berhasil diedit.');
        }

        $slug = url_title($this->request->getVar('nama'), '-', true);
        $this->kategoriModel->save([
            'id' => $id,
            'nama' => $this->request->getVar('nama'),
            'slug' => $slug,
        ]);

        session()->setFlashdata('pesan', 'Data berhasil diupdate');
        return redirect()->to('produk/kategori');
    }
}

</code>```

My views(edit.php):

```<code><?= $this->extend('layout/templates'); ?>

<?= $this->section('content'); ?>
<div id="layoutSidenav_content">
    <main>
        <div class="container-fluid px-4">
            <h1 class="mt-4">Edit Data</h1>
            <ol class="breadcrumb mb-4">
                <li class="breadcrumb-item"><a href="<?= base_url('admin/dashboard') ?>">Dashboard</a></li>
                <li class="breadcrumb-item active">Static Navigation</li>
            </ol>
            <div class="card mb-4">
                <div class="card-body">
                    <div class="card mb-4">
                        <div class="card-header">
                            <i class="fas fa-table me-1"></i>
                            Kategori Produk
                        </div>
                        <div class="card-body">
                            <div class="container">
                                <div class="row">
                                    <div class="col-8">
                                        <h2 class="my-3">Form Edit Komik</h2>
                                        <form action="/produk/update_data/<?= $kategori['id']; ?>" method="POST" enctype="multipart/form-data">
                                            <?= csrf_field(); ?>
                                            <input type="hidden" name="slug" value="<?= $kategori['slug']; ?>">
                                            <div class="form-group row">
                                                <label for="nama" class="col-sm-2 col-form-label">Nama</label>
                                                <div class="col-sm-10">
                                                    <input type="text" class="form-control <?= ($validation->hasError('nama')) ? 'is-invalid' : ''; ?>" id="nama" name="nama" autofocus value="<?= (old('nama')) ? old('nama') : $kategori['nama'] ?>">
                                                    <div id="validationServer03Feedback" class="invalid-feedback">
                                                        <?= $validation->getError('nama'); ?>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="form-group row">
                                                <div class="col-sm-10">
                                                    <button type="submit" class="btn btn-primary">Edit</button>
                                                </div>
                                            </div>
                                        </form>
                                        <br><br>
                                        <a href="/produk/kategori">Kembali ke kategori</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
</div>
</main>
<?= $this->endSection(); ?>
</code>```

My Controllers folder are :
enter image description here

My Views folder are :
enter image description here

can anyone help me?
Thank you

Even though save and delete data work very well, except updating data.I try many times changing the routes or the controller but the error is still the same. I hope someone can help me.

Body:
so I'm making a crud function in codeigniter 4, it's just that I can't edit the data because of an error, namely controller or method not found

Here's the error :
enter image description here

Here My Routes:

$routes->get('/', 'Admin\Dashboard::index');
$routes->get('/produk', 'Admin\Produk::index');
$routes->get('/produk/kategori', 'Admin\Produk::kategori');
$routes->get('/produk/create', 'Admin\Produk::create');
$routes->post('/produk/save', 'Admin\Produk::save');
$routes->get('/produk/edit/(:segment)', 'Admin\Produk::edit/$1');
$routes->post('/produk/update_data', 'Admin\Produk::update_data');
$routes->delete('/produk/(:num)', 'Admin\Produk::delete/$1');

My controller :

<?php

namespace App\Controllers\Admin;

use App\Controllers\BaseController;
use \App\Models\KategoriModel;

class Produk extends BaseController
{
    protected $kategoriModel;
    public function __construct()
    {
        $this->kategoriModel = new KategoriModel();
    }

    public function index()
    {
        $data = [
            'title' => 'Daftar Produk',
        ];
        return view('admin/produk/index', $data);
    }

    public function kategori()
    {
        $data = [
            'title' => 'Kategori Produk',
            'kategori' => $this->kategoriModel->findAll(),
        ];
        return view('admin/produk/kategori', $data);
    }

    public function create()
    {
        $data = [
            'title' => 'Add Kategori',
            'validation' => \Config\Services::validation()
        ];

        return view('admin/produk/create', $data);
    }

    public function save()
    {
        //validasi input
        if (!$this->validate([
            'nama' => [
                'rules' => 'required|is_unique[kategori_produk.nama]',
                'errors' => [
                    'required' => '{field} nama harus diisi.',
                    'is_unique' => '{field} nama sudah ada.'
                ]
            ]
        ])) {
            return redirect()->back()->
            with('pesan', 'Data berhasil ditambahkan.');
        }

        $slug = url_title($this->request->getVar('nama'), '-', true);
        $this->kategoriModel->save([
            'nama' => $this->request->getVar('nama'),
            'slug' => $slug,
        ]);

        return redirect()->to('admin/produk/kategori');
    }

    public function delete($id)
    {
        //delete berdasarkan id
        $this->kategoriModel->delete($id);
        return redirect()->to('admin/produk/kategori');
    }

    public function edit($slug)
    {
        $data = [
            'title' => 'Edit data',
            'validation' => \Config\Services::validation(),
            'kategori' => $this->kategoriModel->getKategori($slug)
        ];

        return view('admin/produk/edit', $data);
    }

    public function update_data($id)
    {
        //validasi input
        $kategoriLama = $this->kategoriModel->getKategori($this->request->getVar('slug'));
        if ($kategoriLama['nama'] == $this->request->getVar('nama')) {
            $rules_judul = 'required';
        } else {
            $rules_judul = 'required|is_unique[kategori_produk.nama]';
        }
        if (!$this->validate([
            'nama' => [
                'rules' => $rules_judul,
                'errors' => [
                    'required' => '{field} nama harus diisi.',
                    'is_unique' => '{field} nama sudah ada.'
                ]
            ]
        ])) {
            return redirect()->back()->with('pesan', 'Data berhasil diedit.');
        }

        $slug = url_title($this->request->getVar('nama'), '-', true);
        $this->kategoriModel->save([
            'id' => $id,
            'nama' => $this->request->getVar('nama'),
            'slug' => $slug,
        ]);

        session()->setFlashdata('pesan', 'Data berhasil diupdate');
        return redirect()->to('produk/kategori');
    }
}

My views(edit.php):

<?= $this->extend('layout/templates'); ?>

<?= $this->section('content'); ?>

Edit Data

<a href="<?= base_url('admin/dashboard') ?>">Dashboard

Static Navigation

                            Kategori Produk

Form Edit Komik

                                        <form action="/produk/update_data/<?= $kategori['id']; ?>" method="POST" enctype="multipart/form-data">
                                            <?= csrf_field(); ?>
                                            <input type="hidden" name="slug" value="<?= $kategori['slug']; ?>">

                                                Nama

                                                    <input type="text" class="form-control <?= ($validation->hasError('nama')) ? 'is-invalid' : ''; ?>" id="nama" name="nama" autofocus value="<?= (old('nama')) ? old('nama') : $kategori['nama'] ?>">

                                                        <?= $validation->getError('nama'); ?>

                                                    <button type="submit" class="btn btn-primary">Edit</button>

                                        </form>

                                        Kembali ke kategori

<?= $this->endSection(); ?>

My Controllers folder are :
enter image description here

My Views folder are :
enter image description here

can anyone help me?
Thank you

Even though save and delete data work very well, except updating data.I try many times changing the routes or the controller but the error is still the same. I hope someone can help me.


问:
Scrollbar shows up even though overflow-y is set to 'hidden'
Very simple HTML

```<code><template>
  <div
    style="height: 100%"
    class="overflow-y-hidden"
  >
    <!-- Very long text... -->
  </div>
</template>
</code>```

It's almost invisible, but there is a scrollbar on the right. What am I doing wrong?

Note: I'm using Vue 2 with Vuetify.

Body:
Very simple HTML

<template>

</template>

It's almost invisible, but there is a scrollbar on the right. What am I doing wrong?

Note: I'm using Vue 2 with Vuetify.


问:
How do I add Android to Cordova
I've managed to follow all the steps in the block materials up to installing Cordova but hit some problems when trying to add android. The error says that Cordova failed to fetch cordova-android@^9.1.0. Attached is the screen grab showing the list of errors:

Screenshot of Android installation error in Cordova

I have tried uninstalling and reinstalling all components including Cordova right from the very first step multiple times but I still cannot get it to work. I have also already checked that I am not going through a proxy server.

I tried adding android to Cordova using the command:

cordova platform add android

It should have added the Android platform for development in Cordova.

Title: How do I add Android to Cordova


问:
Grover / Puppeteer: When generating a PDF from an HTML page, the PDF file has an unwanted white border
I am using Grover / Puppeteer to convert an HTML page to a PDF.

The HTML page renders in the desired way.

But, when creating the PDF, there is a white border on the far right side of the page, which isn't there on the HTML page.

Screenshot of the PDF with white space on the right side

This is the portion of my page, which is positioned on the far right when rendered as a HTML page, but not when converted into a PDF:

```<code><div class="inline-block overflow-hidden absolute top-0 right-0 w-[140px]">
 <div class="transform origin-top-left -rotate-45 bg-brand-primary h-[200px]">
 </div>
</div>
</code>```

This is my grover.rb file:

```<code># original resolution in HTML
width = 842
height = 595

Grover.configure do |config|
  config.options = {
    format: 'A4',
    landscape: true,
    print_background: true,
    wait_until: 'networkidle0',
    launch_args: \['--no-sandbox'\],
    viewport: {
     width:,
     height:
    },
    scale: 1 / 0.75
  }
end
</code>```

I have tried adjusting the width, height, format and scale options in the grover.rb file and have also tried to modify the HTML (however, I suspect the issue lies in the options, as the HTML page renders as expected).

I expected the border to disappear... it didn't.
Would appreciate any hints! :)

Body:
I am using Grover / Puppeteer to convert an HTML page to a PDF.

The HTML page renders in the desired way.

But, when creating the PDF, there is a white border on the far right side of the page, which isn't there on the HTML page.

Screenshot of the PDF with white space on the right side

This is the portion of my page, which is positioned on the far right when rendered as a HTML page, but not when converted into a PDF:

This is my grover.rb file:

# original resolution in HTML
width = 842
height = 595

Grover.configure do |config|
  config.options = {
    format: 'A4',
    landscape: true,
    print_background: true,
    wait_until: 'networkidle0',
    launch_args: \['--no-sandbox'\],
    viewport: {
     width:,
     height:
    },
    scale: 1 / 0.75
  }
end

I have tried adjusting the width, height, format and scale options in the grover.rb file and have also tried to modify the HTML (however, I suspect the issue lies in the options, as the HTML page renders as expected).

I expected the border to disappear... it didn't.
Would appreciate any hints! :)


问:
How to visualize images in Grafana coming from SQL Server?
I would like to visualize the pictures that comes from SQL server data source in Grafana. The pictures are stored in varbinary(max) data type. I tried the SQL query below but Grafana is not able to visualize/render it. Is there a way to do that?

```<code>SELECT CAST(c_img AS IMAGE)
FROM tbl_test WHERE c_id = 8
</code>```

Thanks for any help.

Body:
I would like to visualize the pictures that comes from SQL server data source in Grafana. The pictures are stored in varbinary(max) data type. I tried the SQL query below but Grafana is not able to visualize/render it. Is there a way to do that?

SELECT CAST(c_img AS IMAGE)
FROM tbl_test WHERE c_id = 8

Thanks for any help.


问:
Approaches for a Database Middleware
We are building a platform in form of a microservice architecture which shall be open to add services from several companies.

The services shall use a common data warehouse (including a NoSQL database and an Object Store) provided by the platform to exchange data between services.

The services should not have access to all data. E.g.: Service 1 may write something to the NoSQL database and Service 2 is only allowed to read the data written by Service 1.

In our opinion it makes sense to give services not direct access to the data bases for security reasons. We are searching for a kind of database middleware which allows to realize such access functionalities. If possible this middleware should be scalable in terms of the number of services and their volume of pushed/pulled data.

Do you may have some ideas for suitable approaches/technologies?

Thanks!

Title: Approaches for a Database Middleware


问:
are flatpak tmp/cache files supposed to be 5 times as large as the objects?
I know flatpak uses a lot of disk space due to the sandbox design and I am okay with that. But I recently found that /var/lib/flatpak/repo/tmp on my Debian system is full of cache directories and much larger than the objects directory.

I associate tmp and cache with things that can be deleted. Is the /tmp directory supposed to be that large or are these leftovers that can be deleted?


问:
Ninject, binding un-bound types to methods
I have an interface ISettings. Many classes will implement this interface. I want to be able to kernel.GetService(typeof(MySettings)) and have it call the type be created from a method.

I want to avoid using a type finder to pre-bind all ISettings implementations. I would like to be able to intercept GetService() calls to check if the type is of ISettings. If so, I want to provide a binding for it (method).

What can ninject do for me?

ContentLicense: CC BY-SA 3.0


问:
How do I make a video iframe object-fit cover inside a div?
I found this JSFiddle which does pretty much exactly what I'm trying to accomplish - https://jsfiddle.net/q1rjg9zd/

Notice that you can resize the output frame, and the video will always fill the entire frame, without any space above/below the video to maintain the 16:9 aspect ratio.

I'm trying to get this exact same effect, except I'd like it to be done in a wrapper div, instead of filling the whole viewport. E.g. I can have a div that is 1000px in height and 500px in width and the video would behave the same as in this example.

I'm really struggling to work out how to do this, since the JSFiddle example uses vw and vh measurements, and when I try to convert those to percentages and fixed pixel measurements, the effect is lost.

* {
  padding: 0;
  margin: 0;
}

.video-background {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);

  @media (min-aspect-ratio: 16/9) {
    height: 56.25vw
  }

  @media (max-aspect-ratio: 16/9) {
    width: 177.78vh
  }
}```
<pre class="snippet-code-html lang-html prettyprint-override"><code><div class="video-background">
  <iframe src="https://www.youtube.com/embed/biWk-QLWY7U?controls=0&showinfo=0&rel=0&autoplay=1&loop=1&mute=1" frameborder="0" controls=0 allowfullscreen></iframe>
</div></code>```


问:
How to make an If statement check for if a variable equals a negative number; issue making an adventure game with X,Y coordinates
I'm new to Javascript (and coding in general), and I'm trying to make a pretty basic in-browser adventure game, but immediately I've encountered a problem. I wanted it to plot your location as if on an X,Y graph so I could easily mark out a map for it later with coordinates. So, you start at 0,0, and when you move West it changes to -1,0, so on, and I'm using If statements to check your location. But, it always assumes you're at the lowest negative possible, and so always says you're at 'Room 3'.

I think it does this because it doesn't recognise the - in the check as part of the number, and instead thinks you're asking if it equals the number minus itself, which would be zero, which is the game's default position. But, at the same time, it still thinks you're at the lowest possible position even if you move off 0,0, so I don't know. If that is the case, I would like to know how to fix it, and if that isn't the case, I would like to know what the real problem is.

Below is the entire program so far. This is my first time really trying to code something by myself, with no tutorial involved, so I apologise for how training-wheels-y it is.

```<code>let x=0
let y=0
let time=0

let button = document.getElementById('button');
let buttonNorth = document.getElementById('buttonNorth');
let buttonWest = document.getElementById('buttonWest');
let buttonEast = document.getElementById('buttonEast');
let buttonSouth = document.getElementById('buttonSouth');

button.onclick = function() {
    reporter()
    locatron()
}

buttonNorth.onclick = function() {
    updateNorth()
    reporter()
    locatron()
}
buttonWest.onclick = function() {
    updateWest()
    reporter()
    locatron()
}
buttonEast.onclick = function() {
    updateEast()
    reporter()
    locatron()
}
buttonSouth.onclick = function() {
    updateSouth()
    reporter()
    locatron()
}

function reporter() {
    console.log(`location is: ${x},${y}`)
    console.log(`time is: ${time}`)
}

function updateNorth() {
    y = y+1
    time=time+1
}

function updateWest() {
    x = x-1
    time=time+1
}

function updateEast() {
    x = x+1
    time=time+1
}

function updateSouth() {
    y = y-1
    time=time+1
}

function locatron() {
    if(x==0,y==0) {
        totalDescription.innerHTML = `Room 1`
    }
    if(x==-1,y==0) {
        totalDescription.innerHTML = `Room 2`
    }
    if(x==-2,y==0) {
        totalDescription.innerHTML = `Room 3`
    }
    else {
        totalDescription.innerHTML = `This area has not been written yet.`
    }
}
</code>```

I've tried turning the number in the If statement into a string, but it just does the same thing. The only way I can get it to display any message other than 'Room 3' is by moving it along the Y axis, at which point it changes to my equivalent of an error message, 'This area has not been written yet.'. I also tried looking the problem up, but the wording on it is so finnicky that the only results I would get back are how to 'check if a variable is negative', which is not at all what I want.

I appreciate any help I can get.

Body:
I'm new to Javascript (and coding in general), and I'm trying to make a pretty basic in-browser adventure game, but immediately I've encountered a problem. I wanted it to plot your location as if on an X,Y graph so I could easily mark out a map for it later with coordinates. So, you start at 0,0, and when you move West it changes to -1,0, so on, and I'm using If statements to check your location. But, it always assumes you're at the lowest negative possible, and so always says you're at 'Room 3'.

I think it does this because it doesn't recognise the - in the check as part of the number, and instead thinks you're asking if it equals the number minus itself, which would be zero, which is the game's default position. But, at the same time, it still thinks you're at the lowest possible position even if you move off 0,0, so I don't know. If that is the case, I would like to know how to fix it, and if that isn't the case, I would like to know what the real problem is.

Below is the entire program so far. This is my first time really trying to code something by myself, with no tutorial involved, so I apologise for how training-wheels-y it is.

let x=0
let y=0
let time=0

let button = document.getElementById('button');
let buttonNorth = document.getElementById('buttonNorth');
let buttonWest = document.getElementById('buttonWest');
let buttonEast = document.getElementById('buttonEast');
let buttonSouth = document.getElementById('buttonSouth');

button.onclick = function() {
    reporter()
    locatron()
}

buttonNorth.onclick = function() {
    updateNorth()
    reporter()
    locatron()
}
buttonWest.onclick = function() {
    updateWest()
    reporter()
    locatron()
}
buttonEast.onclick = function() {
    updateEast()
    reporter()
    locatron()
}
buttonSouth.onclick = function() {
    updateSouth()
    reporter()
    locatron()
}

function reporter() {
    console.log(`location is: ${x},${y}`)
    console.log(`time is: ${time}`)
}

function updateNorth() {
    y = y+1
    time=time+1
}

function updateWest() {
    x = x-1
    time=time+1
}

function updateEast() {
    x = x+1
    time=time+1
}

function updateSouth() {
    y = y-1
    time=time+1
}

function locatron() {
    if(x==0,y==0) {
        totalDescription.innerHTML = `Room 1`
    }
    if(x==-1,y==0) {
        totalDescription.innerHTML = `Room 2`
    }
    if(x==-2,y==0) {
        totalDescription.innerHTML = `Room 3`
    }
    else {
        totalDescription.innerHTML = `This area has not been written yet.`
    }
}

I've tried turning the number in the If statement into a string, but it just does the same thing. The only way I can get it to display any message other than 'Room 3' is by moving it along the Y axis, at which point it changes to my equivalent of an error message, 'This area has not been written yet.'. I also tried looking the problem up, but the wording on it is so finnicky that the only results I would get back are how to 'check if a variable is negative', which is not at all what I want.

I appreciate any help I can get.


问:
Spring security 6 - Handle exceptions with @RestControllerAdvice
I have migrated to Spring Boot 3 on an application, that is used as an Oauth2ResourceServer. I am using custom AuthenticationManagerResolver for this.

@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
  .headers().cacheControl().disable().and()
  .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
  .requestCache().disable()
  .csrf().disable()
  .authorizeHttpRequests(authorize -> {
    authorize
      .requestMatchers("/actuator/**").permitAll()
      .requestMatchers("/endpoint1/**", "/endpoint2/**")
      .authenticated();
    }
  )
  .oauth2ResourceServer(rs -> {
    rs.authenticationManagerResolver(multiTenantAuthenticationManagerResolver);
    }
  )
  return http.build();
}
```
<p>The problem is, that any error that happens in the custom authenticationManagerResolver will return status code 401 to the client, with no message whatsoever. The exceptions are not handled in my <code>@RestControllerAdvice ResponseEntityExceptionHandler</code>. So I tried adding authenticationEntryPoint.</p>
<pre class="lang-java prettyprint-override"><code>@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
  .headers().cacheControl().disable().and()
  .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
  .requestCache().disable()
  .csrf().disable()
  .authorizeHttpRequests(authorize -> {
    authorize
      .requestMatchers("/actuator/**").permitAll()
      .requestMatchers("/endpoint1/**", "/endpoint2/**")
      .authenticated();
    }
  )
  .oauth2ResourceServer(rs -> {
    rs.authenticationManagerResolver(multiTenantAuthenticationManagerResolver)
      .authenticationEntryPoint(new CustomOAuth2AuthenticationEntryPoint());
    }
  )
  return http.build();
}
</code>```

This is what I've found should work:

CustomOAuth2AuthenticationEntryPoint

public class CustomOAuth2AuthenticationEntryPoint implements AuthenticationEntryPoint {

    @Autowired
    @Qualifier("handlerExceptionResolver")
    private HandlerExceptionResolver resolver;

    @Override
    public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException e) throws IOException {
        resolver.resolveException(request, response, null, e);
    }
}
```

However, there are 2 issues with this approach.

The exception does not contain the message that was thrown, it is always just the generic one org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource

There is no default HandlerExceptionResolver, but according to examples, there should be. I receive null.

Anyone has any tips on how to propagate the original exceptions to the @RestControllerAdvice?

Body:
I have migrated to Spring Boot 3 on an application, that is used as an Oauth2ResourceServer. I am using custom AuthenticationManagerResolver for this.

@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
  .headers().cacheControl().disable().and()
  .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
  .requestCache().disable()
  .csrf().disable()
  .authorizeHttpRequests(authorize -> {
    authorize
      .requestMatchers("/actuator/**").permitAll()
      .requestMatchers("/endpoint1/**", "/endpoint2/**")
      .authenticated();
    }
  )
  .oauth2ResourceServer(rs -> {
    rs.authenticationManagerResolver(multiTenantAuthenticationManagerResolver);
    }
  )
  return http.build();
}

The problem is, that any error that happens in the custom authenticationManagerResolver will return status code 401 to the client, with no message whatsoever. The exceptions are not handled in my @RestControllerAdvice ResponseEntityExceptionHandler. So I tried adding authenticationEntryPoint.

@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
  .headers().cacheControl().disable().and()
  .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
  .requestCache().disable()
  .csrf().disable()
  .authorizeHttpRequests(authorize -> {
    authorize
      .requestMatchers("/actuator/**").permitAll()
      .requestMatchers("/endpoint1/**", "/endpoint2/**")
      .authenticated();
    }
  )
  .oauth2ResourceServer(rs -> {
    rs.authenticationManagerResolver(multiTenantAuthenticationManagerResolver)
      .authenticationEntryPoint(new CustomOAuth2AuthenticationEntryPoint());
    }
  )
  return http.build();
}

This is what I've found should work:

CustomOAuth2AuthenticationEntryPoint

public class CustomOAuth2AuthenticationEntryPoint implements AuthenticationEntryPoint {

    @Autowired
    @Qualifier("handlerExceptionResolver")
    private HandlerExceptionResolver resolver;

    @Override
    public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException e) throws IOException {
        resolver.resolveException(request, response, null, e);
    }
}

However, there are 2 issues with this approach.

The exception does not contain the message that was thrown, it is always just the generic one org.springframework.security.authentication.InsufficientAuthenticationException: Full authentication is required to access this resource

There is no default HandlerExceptionResolver, but according to examples, there should be. I receive null.

Anyone has any tips on how to propagate the original exceptions to the @RestControllerAdvice?


问:
Impala due DBeaver - how to declare a variable in which the request is sewn
set var:dt= select......from table;

select * from
where date_field = '${var:dt}

That stuff doesn't work. Reminder - this is not in command line, in DBeaver framework.

Solution of that problem.


问:
Differentiate CSS print properties for different print format
I'm currently using ReactJS and SASS.

I have two print buttons in my webpage and a list of items.

I need to print the list of items in two different ways using the same stylesheet.

I tried everything.

Basically I open a new page with the print preview and I already set the page properties to fit one of the two formats. Is there a way, even with SASS and maybe not using JQuery to differentiate the layout or define the rules based on the button clicked? Or even a workaround based on the width of the window that I open when I click one of the two buttons.

Thank you


问:
SwiftUI - How to display camera feed in PiP mode
I'm building an app where I have my camera preview playing in a component, with the following code :

```<code>import SwiftUI
import AVFoundation
import AVKit

struct CameraPreview: UIViewControllerRepresentable {
    func makeUIViewController(context: Context) -> UIViewController {
        let controller = CameraPreviewViewController()
        return controller
    }

    func updateUIViewController(_ uiViewController: UIViewController, context: Context) { }
}

class CameraPreviewViewController: UIViewController {
    var session: AVCaptureSession?
    var previewLayer: AVCaptureVideoPreviewLayer?
    var player: AVPlayer?
    var playerLayer: AVPlayerLayer?
    var pipController: AVPictureInPictureController?

    override func viewDidLoad() {
        super.viewDidLoad()
        setupSession()
        setupPreview()
        startPIP()
    }

    func setupSession() {
        session = AVCaptureSession()
        let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera], mediaType: AVMediaType.video, position: .front)
        guard let device = deviceDiscoverySession.devices.first else { return }
        guard let input = try? AVCaptureDeviceInput(device: device) else { return }
        session?.addInput(input)
    }

    func setupPreview() {
        previewLayer = AVCaptureVideoPreviewLayer(session: session!)
        previewLayer?.videoGravity = AVLayerVideoGravity.resize
        previewLayer?.frame = CGRect(x: 0, y: 0, width: 200, height: 200)
        view.layer.insertSublayer(previewLayer!, at: 0)
        player = AVPlayer()
        playerLayer = AVPlayerLayer(player: player)
        playerLayer?.frame = previewLayer!.frame
        view.layer.addSublayer(playerLayer!)
        session?.startRunning()
        player?.play()
    }

    func startPIP() {
        guard AVPictureInPictureController.isPictureInPictureSupported() else { return }
        pipController = AVPictureInPictureController(playerLayer: playerLayer!)
        pipController?.startPictureInPicture()
    }
}

</code>```

And I've been trying to launch this view in Picture in Picture mode with the Pipify package.

```<code>import SwiftUI
import Pipify

struct ContentView: View {
    @State var isPresentedThree = false

    var body: some View {
        VStack {
            HStack{
                Image(systemName: "camera")
                    .imageScale(.large)
                    .foregroundColor(.accentColor)
                Image(systemName: "person")
                    .imageScale(.large)
                    .foregroundColor(.accentColor)
            }
            Text("FLOATING CAMERA")
                .padding(6.0)
            Button("Launch PiP mode") { isPresentedThree.toggle() }
                            .pipify(isPresented: $isPresentedThree) {
                                CameraPreview()
                                    .foregroundColor(.red)
                                    .padding()
                                    .onPipSkip { _ in }
                                    .onPipPlayPause { _ in }
                            }

        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
</code>```

I'm new to SwiftUI so I'm quite confused, that code doesn't work for my CameraPreview but does work for text and such.

How could I fix this or do it another way ?
Thanks !

I expect the camera preview to display in Picture in Picture as soon as the user clicks the button "Launch PiP mode".

Body:
I'm building an app where I have my camera preview playing in a component, with the following code :

import SwiftUI
import AVFoundation
import AVKit

struct CameraPreview: UIViewControllerRepresentable {
    func makeUIViewController(context: Context) -> UIViewController {
        let controller = CameraPreviewViewController()
        return controller
    }

    func updateUIViewController(_ uiViewController: UIViewController, context: Context) { }
}

class CameraPreviewViewController: UIViewController {
    var session: AVCaptureSession?
    var previewLayer: AVCaptureVideoPreviewLayer?
    var player: AVPlayer?
    var playerLayer: AVPlayerLayer?
    var pipController: AVPictureInPictureController?

    override func viewDidLoad() {
        super.viewDidLoad()
        setupSession()
        setupPreview()
        startPIP()
    }

    func setupSession() {
        session = AVCaptureSession()
        let deviceDiscoverySession = AVCaptureDevice.DiscoverySession(deviceTypes: [.builtInWideAngleCamera], mediaType: AVMediaType.video, position: .front)
        guard let device = deviceDiscoverySession.devices.first else { return }
        guard let input = try? AVCaptureDeviceInput(device: device) else { return }
        session?.addInput(input)
    }

    func setupPreview() {
        previewLayer = AVCaptureVideoPreviewLayer(session: session!)
        previewLayer?.videoGravity = AVLayerVideoGravity.resize
        previewLayer?.frame = CGRect(x: 0, y: 0, width: 200, height: 200)
        view.layer.insertSublayer(previewLayer!, at: 0)
        player = AVPlayer()
        playerLayer = AVPlayerLayer(player: player)
        playerLayer?.frame = previewLayer!.frame
        view.layer.addSublayer(playerLayer!)
        session?.startRunning()
        player?.play()
    }

    func startPIP() {
        guard AVPictureInPictureController.isPictureInPictureSupported() else { return }
        pipController = AVPictureInPictureController(playerLayer: playerLayer!)
        pipController?.startPictureInPicture()
    }
}

And I've been trying to launch this view in Picture in Picture mode with the Pipify package.

import SwiftUI
import Pipify

struct ContentView: View {
    @State var isPresentedThree = false

    var body: some View {
        VStack {
            HStack{
                Image(systemName: "camera")
                    .imageScale(.large)
                    .foregroundColor(.accentColor)
                Image(systemName: "person")
                    .imageScale(.large)
                    .foregroundColor(.accentColor)
            }
            Text("FLOATING CAMERA")
                .padding(6.0)
            Button("Launch PiP mode") { isPresentedThree.toggle() }
                            .pipify(isPresented: $isPresentedThree) {
                                CameraPreview()
                                    .foregroundColor(.red)
                                    .padding()
                                    .onPipSkip { _ in }
                                    .onPipPlayPause { _ in }
                            }

        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

I'm new to SwiftUI so I'm quite confused, that code doesn't work for my CameraPreview but does work for text and such.

How could I fix this or do it another way ?
Thanks !

I expect the camera preview to display in Picture in Picture as soon as the user clicks the button "Launch PiP mode".


问:
How to extend RPi3 root partition with unallocated space
I have RPi3B/RPi3B+ devices. I usually use in it 16GB SD cards. I have sd card image (becasue there is a lot of stuff to reinstall everything for next device) taken from that sd cards. Now I need to change some cards for bigger one (32GB). I install image from 16gb sd cards on that 32 sd card and I get about 15GB unallocated space (which is obvious).

There is an option to extend main/root partition on RPi with that unallocated space in way that I will not lose anything what already is on? I tried extend that via windows disk manager but "Extend" option was unavailable.


问:
Connection refused when requesting Deno server (with oak middleware) from NextJS api routes
I'm trying to request Deno server from next api routes. To simplify (with the same result), let's assume we have server written with oak middleware like:

```<code>import { Application } from 'https://deno.land/x/oak/mod.ts'
import { oakCors } from 'https://deno.land/x/cors/mod.ts'

const app = new Application()

app.use(
  oakCors({
    origin: 'http://localhost:3000',
    credentials: true
  })
)

app.use((ctx) => {
  ctx.response.body = 'Hello World!'
})

await app.listen({ port: 3001 });
</code>```

oakCors are added to alow cors from http://localhost:3000, where next app will be running.
Let's run simple next app where in the /page/api/test.js a request to http://localhost:3001 is implemented:

```<code>export default async function handler(req, res) {
  try {
    const data = await fetch('http://localhost:3001')
    console.log(data)
  } catch (e) {
    console.log(e)
  }

  res.json({ done: true })
}
</code>```

So, now if we render 2 buttons:

```<code><button onClick={() => fetch('http://localhost:3001')}>direct fetch</button>
<button onClick={() => fetch('api/test')}>fetch by api routes</button>
</code>```

Where the first button requests http://localhost:3001 directly, and the second one requests test api route (which in turn requests http://localhost:3001).

In the first case (direct fetch) everything is ok.
In the second case, there is an error in the next server console:

```<code>error - unhandledRejection: TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:14062:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  cause: Error: connect ECONNREFUSED 127.0.0.1:3001
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '127.0.0.1',
    port: 3001
  }
}
</code>```

Question: why connection is refused in the second case and how to fix it?

Additionally: If a ngrok tunnel is run for http://localhost:3001

```<code>ngrok http 3001
</code>```

requests work through this tunnel in both cases (using generated tunnel url).

Body:
I'm trying to request Deno server from next api routes. To simplify (with the same result), let's assume we have server written with oak middleware like:

import { Application } from 'https://deno.land/x/oak/mod.ts'
import { oakCors } from 'https://deno.land/x/cors/mod.ts'

const app = new Application()

app.use(
  oakCors({
    origin: 'http://localhost:3000',
    credentials: true
  })
)

app.use((ctx) => {
  ctx.response.body = 'Hello World!'
})

await app.listen({ port: 3001 });

oakCors are added to alow cors from http://localhost:3000, where next app will be running.
Let's run simple next app where in the /page/api/test.js a request to http://localhost:3001 is implemented:

export default async function handler(req, res) {
  try {
    const data = await fetch('http://localhost:3001')
    console.log(data)
  } catch (e) {
    console.log(e)
  }

  res.json({ done: true })
}

So, now if we render 2 buttons:

<button onClick={() => fetch('http://localhost:3001')}>direct fetch</button>
<button onClick={() => fetch('api/test')}>fetch by api routes</button>

Where the first button requests http://localhost:3001 directly, and the second one requests test api route (which in turn requests http://localhost:3001).

In the first case (direct fetch) everything is ok.
In the second case, there is an error in the next server console:

error - unhandledRejection: TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:14062:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  cause: Error: connect ECONNREFUSED 127.0.0.1:3001
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1487:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '127.0.0.1',
    port: 3001
  }
}

Question: why connection is refused in the second case and how to fix it?

Additionally: If a ngrok tunnel is run for http://localhost:3001

ngrok http 3001

requests work through this tunnel in both cases (using generated tunnel url).


问:
Elasticsearch DSL Query - Field is not null or not empty
I have an existing DSL query that needs to modify such that the id "12345" should be not null or not empty:

```<code>{
   "bool":{
      "must":[
         {
            "bool":{
               "should":[
                  {
                     "terms":{
                        "users":{
                           "index":"user-codes",
                           "id":"12345",
                           "path":"userCodes"
                        }
                     }
                  },
                  {
                     "terms":{
                        "users":{
                           "index":"user-codes",
                           "id":"56789",
                           "path":"userCodes"
                        }
                     }
                  }
               ]
            }
         }
      ]
   }
}
</code>```

Can somebody help me update the query

Body:
I have an existing DSL query that needs to modify such that the id "12345" should be not null or not empty:

{
   "bool":{
      "must":[
         {
            "bool":{
               "should":[
                  {
                     "terms":{
                        "users":{
                           "index":"user-codes",
                           "id":"12345",
                           "path":"userCodes"
                        }
                     }
                  },
                  {
                     "terms":{
                        "users":{
                           "index":"user-codes",
                           "id":"56789",
                           "path":"userCodes"
                        }
                     }
                  }
               ]
            }
         }
      ]
   }
}

Can somebody help me update the query


问:
Save terminals state in VS Code
I am working on a project in which I need to keep 4-5 terminals at work: node, electron, docker, virtual server and console builds for GO. After restarting VS Code, every time all the terminals are placed in the same folder, the commands that are entered are also erased from them. Is it possible to somehow remember the state of each terminal? So that after opening they at least open in the right folders?

Many thanks in advance to all.

Title: Save terminals state in VS Code


问:
Download just created file from Google Drive to local
I use this code to generate a XML file on my Google Drive :

```<code>var nomFichierXML = "CazaAzul_CSI_"+AccountingPeriod+"_"+DateDuJour
var blob = Utilities.newBlob(xml, 'application/xml', 'CSI.xml');
var folder = DriveApp.getFolderById("FolderID");
blob.setName(nomFichierXML+".xml");
folder.createFile(blob);
</code>```

I would like to download this file automatically on my local computer just after the "folder.creatFile(blob)" function.

I managed to creat the URL of this filw with this command :

```<code>var fileId = file.getId();
var urlCSI = file.getDownloadUrl()
</code>```

But after that... I'm stuck.

Body:
I use this code to generate a XML file on my Google Drive :

var nomFichierXML = "CazaAzul_CSI_"+AccountingPeriod+"_"+DateDuJour
var blob = Utilities.newBlob(xml, 'application/xml', 'CSI.xml');
var folder = DriveApp.getFolderById("FolderID");
blob.setName(nomFichierXML+".xml");
folder.createFile(blob);

I would like to download this file automatically on my local computer just after the "folder.creatFile(blob)" function.

I managed to creat the URL of this filw with this command :

var fileId = file.getId();
var urlCSI = file.getDownloadUrl()

But after that... I'm stuck.


问:
How to change braintree sendbox to live in android
I want to change Payment mode from sendbox to live before publish app on play store.</p>


问:
How is a boomi process stored?
I am exploring boomi for now, I have a bit of working experience in Mulesoft. In Mulesoft, you can view the flow that you create in XML format in Anypoint Platform, and it can be viewed in the disk as well. Is there any such file created for Boomi processes? If yes, where are they located and how can I view them?

I can see that in the revision history of any component on the Build canvas in AtomSphere, you can view the XML of the component. Can I view the backend code for the whole process somehow?

Title: How is a boomi process stored?