Important: Please read the Qt Code of Conduct -

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

    1. I am not able to run Qt/QML application without specify platform why?
      if i am running application
      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.

  • please doing those configuration:

    "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


    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_PLATFORM=eglfs

    /etc/powervr.ini ( file create if not available )

    after run

Log in to reply