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. Unable To run QML Application on Ti Processor(AM335x based) custom board
Forum Updated to NodeBB v4.3 + New Features

Unable To run QML Application on Ti Processor(AM335x based) custom board

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 747 Views 1 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 Offline
    R Offline
    Rahul Chauhan
    wrote on last edited by
    #1
    1. I am not able to run Qt/QML application without specify platform why?
      if i am running application
      ./app
      Failed to create display (No such file or directory)
      if i am running application like
      ./app -platform linuxfb
      application is working fine .
      for this issue i can export QT_QPA_PLATFORM=<platform>
      but i don't want to do this manually.
      due to this i am not able to run the application remotely via qt creator on target board.

    2.only able to run Qt application with platform linuxfb.

    1. I am not able to run qml application with platform eglfs.
      root@am335x-evm:~/build-clock-htouch_Qt_5_7-Debug# ./clock -platform eglfs
      PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
      PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
      PVR:(Error): Couldn't connect to services [0, ]
      Could not initialize egl display
      [ 429.229980] audit: type=1701 audit(1506461918.900:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1248 comm="clock" exe="/home/root/build-clock-htouch_Qt_5_7-Debug/clock" sig=6
      Aborted (core dumped)

    please help me.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      parth123
      wrote on last edited by
      #2

      please doing those configuration:
      /etc/qt5/eglfs_kms_cfg.json

      {
      "device": "/dev/dri/card0",
      "hwcursor": false,
      "pbuffers": true,
      "outputs": [
      {
      "name": "VGA1",
      "mode": "off"
      },
      {
      "name": "HDMI1",
      "mode": "1024x768"
      }
      ]
      }

      Please doing those settings in /etc/profile.d/qt.conf

      #!/bin/sh

      export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
      export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
      export QT_QPA_EGLFS_INTEGRATION=eglfs_kms
      export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
      export QT_WAYLAND_SHELL_INTEGRATION=wl-shell
      export QT_QPA_EGLFS_DISABLE_INPUT=1
      export QT_QPA_PLATFORM=eglfs

      /etc/powervr.ini ( file create if not available )
      [default]
      ParamBufferSize=200000000000
      MaxParamBufferSize=200000000000

      after run
      #./app

      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