Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. AppImage dev on Ubuntu Jammy, there is an error in other system
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Paullux
    wrote on 3 Apr 2022, 18:29 last edited by
    #1

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

    my AppImageBuilder.yml is :

    # 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 :

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Apr 2022, 18:43 last edited by
      #2

      Hi,

      What is that other system ?
      What Linux distribution does it run ?
      Did you start your application with the QT_DEBUG_PLUGINS environment variable set to 1 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Paullux
        wrote on 3 Apr 2022, 19:02 last edited by Paullux 4 Mar 2022, 19:03
        #3

        @SGaist said in AppImage dev on Ubuntu Jammy, there is an error in other system:

        QT_DEBUG_PLUGINS

        after my test my app run only on kubuntu jammy with qt6's packages, in other system, Ubuntu 20.04, ArchLinux, WSL2, there is a crash directly from : QApplication a(argc, argv);

        in jammy the konsole show :

        paul@paul-MS-7C79:~/FranceTV/Linux$ ./FranceTV-1.0-x86_64.AppImage 
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqeglfs.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqeglfs.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "eglfs"
                ]
            },
            "archreq": 0,
            "className": "QEglFSIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("eglfs")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqlinuxfb.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqlinuxfb.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "linuxfb"
                ]
            },
            "archreq": 0,
            "className": "QLinuxFbIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("linuxfb")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimal.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimal.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "minimal"
                ]
            },
            "archreq": 0,
            "className": "QMinimalIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("minimal")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimalegl.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimalegl.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "minimalegl"
                ]
            },
            "archreq": 0,
            "className": "QMinimalEglIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("minimalegl")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqoffscreen.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqoffscreen.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "offscreen"
                ]
            },
            "archreq": 0,
            "className": "QOffscreenIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("offscreen")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvkkhrdisplay.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "vkkhrdisplay"
                ]
            },
            "archreq": 0,
            "className": "QVkKhrDisplayIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("vkkhrdisplay")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvnc.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvnc.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "vnc"
                ]
            },
            "archreq": 0,
            "className": "QVncIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("vnc")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
            "MetaData": {
                "Keys": [
                    "xcb"
                ]
            },
            "archreq": 0,
            "className": "QXcbIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("xcb")
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/platforms" ...
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so"
        loaded library "Xcursor"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/platformthemes" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platformthemes/libqgtk3.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platformthemes/libqgtk3.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
            "MetaData": {
                "Keys": [
                    "gtk3"
                ]
            },
            "archreq": 0,
            "className": "QGtk3ThemePlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("gtk3")
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/platformthemes" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
            "MetaData": {
                "Keys": [
                    "compose",
                    "xim"
                ]
            },
            "archreq": 0,
            "className": "QComposePlatformInputContextPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("compose", "xim")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
            "MetaData": {
                "Keys": [
                    "ibus"
                ]
            },
            "archreq": 0,
            "className": "QIbusPlatformInputContextPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("ibus")
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/platforminputcontexts" ...
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
            "MetaData": {
                "Keys": [
                    "xcb_egl"
                ]
            },
            "archreq": 0,
            "className": "QXcbEglIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("xcb_egl")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
        {
            "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
            "MetaData": {
                "Keys": [
                    "xcb_glx"
                ]
            },
            "archreq": 0,
            "className": "QXcbGlxIntegrationPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("xcb_glx")
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/xcbglintegrations" ...
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/styles" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/styles" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines/libqsvgicon.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines/libqsvgicon.so, metadata=
        {
            "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
            "MetaData": {
                "Keys": [
                    "svg",
                    "svgz",
                    "svg.gz"
                ]
            },
            "archreq": 0,
            "className": "QSvgIconPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("svg", "svgz", "svg.gz")
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/iconengines" ...
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines/libqsvgicon.so"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats" ...
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so, metadata=
        {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
                "Keys": [
                    "gif"
                ],
                "MimeTypes": [
                    "image/gif"
                ]
            },
            "archreq": 0,
            "className": "QGifPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("gif")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so, metadata=
        {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
                "Keys": [
                    "ico",
                    "cur"
                ],
                "MimeTypes": [
                    "image/vnd.microsoft.icon",
                    "image/vnd.microsoft.icon"
                ]
            },
            "archreq": 0,
            "className": "QICOPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("ico", "cur")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so, metadata=
        {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
                "Keys": [
                    "jpg",
                    "jpeg"
                ],
                "MimeTypes": [
                    "image/jpeg",
                    "image/jpeg"
                ]
            },
            "archreq": 0,
            "className": "QJpegPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("jpg", "jpeg")
        QFactoryLoader::QFactoryLoader() looking at "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so"
        Found metadata in lib /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so, metadata=
        {
            "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
            "MetaData": {
                "Keys": [
                    "svg",
                    "svgz"
                ],
                "MimeTypes": [
                    "image/svg+xml",
                    "image/svg+xml-compressed"
                ]
            },
            "archreq": 0,
            "className": "QSvgPlugin",
            "debug": false,
            "version": 393728
        }
        
        
        Got keys from plugin meta data QList("svg", "svgz")
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/imageformats" ...
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so"
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so"
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so"
        loaded library "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so"
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/accessible" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/accessible" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/x86_64-linux-gnu/qt6/plugins/accessiblebridge" ...
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceO8Kmnf/usr/bin/accessiblebridge" ...
        Release of profile requested but WebEnginePage still not deleted. Expect troubles !
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines/libqsvgicon.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqgif.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqico.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqjpeg.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqsvg.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so" (faked)
        QLibraryPrivate::unload succeeded on "/usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" (faked)
        QLibraryPrivate::unload succeeded on "Xcursor" (faked)
        

        in konsole on Ubuntu 20.04 :

        paulw@paulw-VirtualBox:~/Bureau$ ./FranceTV-1.0-x86_64.AppImage 
        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceGHppxp/usr/bin/platforms" ...
        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.
        
        Abandon (core dumped)
        

        QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceGHppxp/usr/bin/platforms" ...,it's the wrong path, how to change it ?

        Perhaps do a script after install of package to do a ln -s usr/lib/x86_64-linux-gnu/qt6/plugins/platform/* $APPDIR/usr/bin/platform/ ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 3 Apr 2022, 19:23 last edited by
          #4

          Either your AppImage is not created correctly or it's missing a qt.conf file that points to the correct paths. Maybe even both.

          Are you sure the builder supports it ?
          As an alternative the linuxdeployqt project might be of interest.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Paullux
            wrote on 3 Apr 2022, 19:35 last edited by
            #5

            I created a qt6.conf :

            [Paths]
            Prefix = ../../../..
            LibraryExecutables = usr/lib/qt6/libexec
            Binaries = usr/bin
            Plugins = usr/lib/x86_64-linux-gnu/qt6/plugins
            Qml2Imports = usr/lib/x86_64-linux-gnu/qt6/qml
            Data = usr/share/qt6
            Translations = usr/share/qt6/translations
            

            that i place in $APPDIR/usr/bin

            after change of AppImageBuilder.yml :

            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
              mkdir -p $APPDIR/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms
              mkdir -p $APPDIR/usr/bin
              cd AppDir/usr/bin
              ln -s ../../usr/lib/x86_64-linux-gnu/qt6/plugins/platforms .
            

            now in 20.04

            paulw@paulw-VirtualBox:~/Bureau$ ./FranceTV-1.0-x86_64.AppImage 
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/platforms" ...
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqeglfs.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqeglfs.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "eglfs"
                    ]
                },
                "archreq": 0,
                "className": "QEglFSIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("eglfs")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqlinuxfb.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqlinuxfb.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "linuxfb"
                    ]
                },
                "archreq": 0,
                "className": "QLinuxFbIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("linuxfb")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqminimal.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimal.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "minimal"
                    ]
                },
                "archreq": 0,
                "className": "QMinimalIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("minimal")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqminimalegl.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqminimalegl.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "minimalegl"
                    ]
                },
                "archreq": 0,
                "className": "QMinimalEglIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("minimalegl")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqoffscreen.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqoffscreen.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "offscreen"
                    ]
                },
                "archreq": 0,
                "className": "QOffscreenIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("offscreen")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqvkkhrdisplay.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "vkkhrdisplay"
                    ]
                },
                "archreq": 0,
                "className": "QVkKhrDisplayIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("vkkhrdisplay")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqvnc.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqvnc.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "vnc"
                    ]
                },
                "archreq": 0,
                "className": "QVncIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("vnc")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqwayland-egl.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland-egl.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "wayland-egl"
                    ]
                },
                "archreq": 0,
                "className": "QWaylandEglPlatformIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("wayland-egl")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqwayland-generic.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland-generic.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "wayland"
                    ]
                },
                "archreq": 0,
                "className": "QWaylandIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("wayland")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqwayland-xcomposite-egl.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland-xcomposite-egl.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "wayland-xcomposite-egl"
                    ]
                },
                "archreq": 0,
                "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("wayland-xcomposite-egl")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqwayland-xcomposite-glx.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqwayland-xcomposite-glx.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "wayland-xcomposite-glx"
                    ]
                },
                "archreq": 0,
                "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("wayland-xcomposite-glx")
            QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_FranceiT1kD5/usr/bin/platforms/libqxcb.so"
            Found metadata in lib /tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so, metadata=
            {
                "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
                "MetaData": {
                    "Keys": [
                        "xcb"
                    ]
                },
                "archreq": 0,
                "className": "QXcbIntegrationPlugin",
                "debug": false,
                "version": 393728
            }
            
            
            Got keys from plugin meta data QList("xcb")
            loaded library "/tmp/.mount_FranceiT1kD5/usr/lib/x86_64-linux-gnu/qt6/plugins/platforms/libqxcb.so"
            loaded library "Xcursor"
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/platformthemes" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/platforminputcontexts" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/xcbglintegrations" ...
            QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/styles" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/iconengines" ...
            QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_FranceiT1kD5/usr/bin/imageformats" ...
            Could not find QtWebEngineProcess
            Abandon (core dumped)
            
            1 Reply Last reply
            0
            • P Offline
              P Offline
              Paullux
              wrote on 3 Apr 2022, 19:44 last edited by Paullux 4 Mar 2022, 19:54
              #6

              i found something it is a problem in usr/bin:
              qt.conf

              [Paths]
              Prefix = ../..
              Libraries = usr/lib/x86_64-linux-gnu
              LibraryExecutables = usr/lib/qt6/libexec
              Binaries = usr/bin
              Plugins = usr/bin
              Qml2Imports = usr/lib/x86_64-linux-gnu/qt6/qml
              

              the good conf in my qt6.conf is :

              [Paths]
              Prefix = ../..
              LibraryExecutables = usr/lib/qt6/libexec
              Binaries = usr/bin
              Plugins = usr/lib/x86_64-linux-gnu/qt6/plugins
              Qml2Imports = usr/lib/x86_64-linux-gnu/qt6/qml
              Data = usr/share/qt6
              Translations = usr/share/qt6/translations
              
              1 Reply Last reply
              0
              • P Offline
                P Offline
                Paullux
                wrote on 3 Apr 2022, 20:04 last edited by Paullux 4 Mar 2022, 20:32
                #7

                now taht's work but the is the code html of page web which appears on web page

                alt text

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 4 Apr 2022, 20:34 last edited by
                  #8

                  Looks like some css. What is it exactly ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0

                  5/8

                  3 Apr 2022, 19:35

                  • Login

                  • Login or register to search.
                  5 out of 8
                  • First post
                    5/8
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved