Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122670

[Boot2Qt][Wayland] Cannot run any Qt Quick application on wayland platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.7.0 RC
    • 6.7.0 Beta3
    • Device Creation
    • None
    • Linux/Yocto
    • d7f0e3402 (dev), 1437e9685 (kirkstone), e2d754aec (nanbield)

    Description

      Linux Ubuntu 22.04 

      Qt Creator 12.0.2

      Device: Raspberry Pi4 64 bit 

      Qt ver.: 6.7.0-beta3

      NOTE: The issue is reproducible on target flashed with Qt 6.7.0b3. It is not reproducible on target flashed with Qt 6.6.2.

      Steps to reproduce:

      1. Create a simple Qt Quick application,e.g.: 
      import QtQuick
      Window {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
      }
       
      1. Modify the configuration by adding "-platform wayland" as a  
        command line argument in run configuration
      1. Run the application on Boot2Qt target device with Qt version 6.7.0-beta3

      Expected: The app should run as it is on target with Qt 6.6.2

      Actual: The app crashes immediately after running.

      Reproducibility:  100%

       

      16:01:48: Starting /usr/bin/appcontroller /usr/bin/appuntitled7 -platform wayland on RPi4...
      "DBUS_SESSION_BUS_ADDRESS" "unix:path=/run/user/0/dbus_session_socket"
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_EGLFS_FORCE888" "1"
      "QT_QPA_EGLFS_KMS_ATOMIC" "0"
      "QT_QPA_PLATFORM" "eglfs"
      "QT_WAYLAND_CLIENT_BUFFER_INTEGRATION" "linux-dmabuf-unstable-v1"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "/usr/bin/appuntitled7" QList("-platform", "wayland")
      qt.qpa.wayland: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULE=qtvirtualkeyboard at compositor-side.
      qt.qpa.wayland: Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      qt.qpa.wayland: Available client buffer integrations: QList("wayland-egl")
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context
      Failed to create RHI (backend 2)
      Failed to initialize graphics backend for OpenGL.
      quit
      Application crashed: /usr/bin/appuntitled7
      Process stopped
      16:01:48: /usr/bin/appcontroller on RPi4 exited with code 0 

       

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-122670
          # Subject Branch Project Status CR V

          Activity

            People

              sapiippo Samuli Piippo
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes