# AppImage dev on Ubuntu Jammy, there is an error in other system

**URL:** <https://discourse.appimage.org/t/appimage-dev-on-ubuntu-jammy-there-is-an-error-in-other-system/2678>\
**Category:** Creating AppImages\
**Created:** [April 19, 2022, 7:27pm UTC](https://discourse.appimage.org/t/appimage-dev-on-ubuntu-jammy-there-is-an-error-in-other-system/2678 "2022-04-19T19:27:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paullux](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/paullux/32/702_2.png) [@Paullux](https://discourse.appimage.org/u/Paullux)\
**Post date:** [April 19, 2022, 7:27pm UTC](https://discourse.appimage.org/t/appimage-dev-on-ubuntu-jammy-there-is-an-error-in-other-system/2678/1 "2022-04-19T19:27:34Z")

</div>

I am on Jammy Ubuntu, I create an AppImage with appimage-builder --recipe AppImageBuilder.yml

my AppImageBuilder.yml is :

```nohighlight
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
script: |
  # remove any existent binaries
  rm -rf AppDir | true

  # compile and install binaries into AppDir
  cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  make install DESTDIR=AppDir
AppDir:
  path: ./AppDir
  app_info:
    id: francetv
    name: FranceTV
    icon: france-tv
    version: '1.0'
    exec: usr/bin/FranceTV
    exec_args: $@
  runtime:
    env:
      # Disable webengine sandboxing
      QTWEBENGINE_DISABLE_SANDBOX: 0
      QT_QPA_PLATFORM: xcb
  apt:
    arch: amd64
    allow_unauthenticated: true
    sources:
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy universe
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates universe
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy multiverse
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
      - sourceline: deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main
          restricted universe multiverse
      - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security main restricted
      - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security universe
      - sourceline: deb http://security.ubuntu.com/ubuntu jammy-security multiverse
    include:
      - libxkbcommon0
      - libxkbcommon-x11-0
      - libxcb-icccm4
      - libxcb-xkb1
      - libxcb-render-util0
      - libxcb-randr0
      - libxcb-keysyms1
      - libxcb-xinerama0
      - libxcb-image0
      - kwayland-data
      - kwin-wayland-backend-drm
      - kwin-wayland-backend-fbdev
      - kwin-wayland-backend-virtual
      - kwin-wayland-backend-wayland 
      - kwin-wayland-backend-x11
      - libqt6webengine6-data
      - libqt6widgets6
      - libqt6core6
      - libqcoro6core0
      - libqt6core5compat6
      - libqt6webenginecore6
      - libqt6webenginecore6
      - libqt6svg6
      - libqt6gui6
      - libqt6webview6
      - libqt6webenginewidgets6
      - libqt6webenginecore6
      - libqt6webenginecore6-bin
      - libqt6webenginequick6
      - libqt6network6
      - qt6-base-dev
      - libqt6waylandclient6
      - libqt6waylandcompositor6
      - libqt6waylandeglclienthwintegration6
      - libqt6waylandeglcompositorhwintegration6
      - qt6-wayland
    exclude: []
  files:
    include: []
    exclude:
      - usr/share/man
      - usr/share/doc/*/README.*
      - usr/share/doc/*/changelog.*
      - usr/share/doc/*/NEWS.*
      - usr/share/doc/*/TODO.*
AppImage:
  arch: x86_64
  update-information: guess
  sign-key: None

```

In my system Jammy the appimage works correctly but in other linux (x11 or wayland) i have this error :

```nohighlight
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

```

It’s a bug or It’s from me ?

when i try to debug :  
`qDebug() << "PluginPath is : " << QLibraryInfo::location(QLibraryInfo::PluginsPath);`  
the result is :  
`PluginPath is : "/tmp/.mount_Francex0mlxO/usr/lib/x86_64-linux-gnu/qt6/plugins"`  
its the correct path

---

<div class="post-metadata">

**Author:** ![probono](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.appimage.org/probono/32/81_2.png) [@probono](https://discourse.appimage.org/u/probono)\
**Post date:** [April 19, 2022, 7:32pm UTC](https://discourse.appimage.org/t/appimage-dev-on-ubuntu-jammy-there-is-an-error-in-other-system/2678/2 "2022-04-19T19:32:31Z")

</div>

Hello @Paullux, thanks for asking. I think it would be best to ask over at [Issues · AppImageCrafters/appimage-builder · GitHub](https://github.com/AppImageCrafters/appimage-builder/issues) since I don’t know whether the appimage-builder developer is reading here.

> [@Paullux](#):
>
> qt6

Not sure anyone has ever tried this… very bleeding edge 😉
