Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML on Raspberry
Forum Updated to NodeBB v4.3 + New Features

QML on Raspberry

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
24 Posts 4 Posters 10.3k Views 2 Watching
  • 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.
  • R Raviphulsundar

    @jsulm I've OS Built for ARM64 with Qt 5.6 but without Quick controls & QML.

    jsulmJ Online
    jsulmJ Online
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #21

    @Raviphulsundar said in QML on Raspberry:

    but without Quick controls & QML

    Then how did you install Qt? Maybe you just need to install Quick Controls and QML?

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    R 1 Reply Last reply
    0
    • jsulmJ jsulm

      @Raviphulsundar said in QML on Raspberry:

      but without Quick controls & QML

      Then how did you install Qt? Maybe you just need to install Quick Controls and QML?

      R Offline
      R Offline
      Raviphulsundar
      wrote on last edited by
      #22

      @jsulm I'm making raspberry pi filesystem image through Buildroot.
      In Buildroot I select the application I need along with target processor, linux kernel, etc.

      When I select ARM64 architecture, option for selecting QtDeclarative, QtQuick Controls get disable.

      But, I've tried with ARM32 architecture with QtDeclarative, QtQuick successfully.

      But when I try to run application on EGLFS plastform, I get following error.

      #./Rectangle -platform eglfs
      qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_kms_egldevice","eglfs_kms","eglfs_X11")
      qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_kms","eglfs_kms_egldevice","eglfs_X11")
      qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_kms"
      qt.qpa.egldeviceintegration: Using EGL device integrtion "eglfs_kms"
      qt.qpa.input: udev device discovery for type QFlags(0x10)
      qt.qpa.input: Found matching devices ()
      qt.qpa.eglfs.kms: Found the following video devices ()
      Could not find DRM device!
      Aborted

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Raviphulsundar
        wrote on last edited by
        #23

        I've recreated rootfs & kernel image with all new combination of applications & libraries.

        And now with these new setup, I could able to run my QML application.

        Thanx all for the help.

        1 Reply Last reply
        1
        • R Offline
          R Offline
          Raviphulsundar
          wrote on last edited by
          #24

          now when I run example program gallery I get following msg and application run nicely

          ./gallery

          qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_brcm")
          qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_brcm")
          qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_brcm"
          qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_brcm"
          qt.qpa.input: evdevkeyboard: Using device discovery
          qt.qpa.input: udev device discovery for type QFlags(0x8)
          qt.qpa.input: Found matching devices ("/dev/input/event1")
          qt.qpa.input: Adding keyboard at "/dev/input/event1"
          qt.qpa.input: Try to create keyboard handler for "/dev/input/event1" ""
          qt.qpa.input: Opening keyboard at "/dev/input/event1"
          qt.qpa.input: Create keyboard handler with for device "/dev/input/event1"
          qt.qpa.input: Unload current keymap and restore built-in
          qt.qpa.input: numlock=0 , capslock=0, scrolllock=0
          qt.qpa.input: evdevmouse: Using device discovery
          qt.qpa.input: udev device discovery for type QFlags(0x1|0x2)
          qt.qpa.input: Found matching devices ("/dev/input/event1")
          qt.qpa.input: Adding mouse at "/dev/input/event1"
          qt.qpa.input: create mouse handler for "/dev/input/event1" ""
          qt.qpa.input: evdevtouch: Using device discovery
          qt.qpa.input: udev device discovery for type QFlags(0x2|0x4)
          qt.qpa.input: Found matching devices ("/dev/input/event0")
          qt.qpa.input: evdevtouch: Adding device at "/dev/input/event0"
          qt.qpa.input: evdevtouch: Using device /dev/input/event0
          qt.qpa.input: evdevtouch: /dev/input/event0: Protocol type B (multi)
          qt.qpa.input: evdevtouch: /dev/input/event0: min X: 0 max X: 1024
          qt.qpa.input: evdevtouch: /dev/input/event0: min Y: 0 max Y: 600
          qt.qpa.input: evdevtouch: /dev/input/event0: min pressure: 0 max pressure: 0
          qt.qpa.input: evdevtouch: /dev/input/event0: device name: BYZHYYZHY By ZH851
          qt.qpa.input: evdevtouch: Updating QInputDeviceManager device count: 1 touch devices, 0 pending handler(s)

          1 Reply Last reply
          0

          • Login

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