Qt World Summit: Submit your Presentation

Embedded KMS Config File

  • Reference: https://doc.qt.io/qt-5/embedded-linux.html

    Per the reference above, it states:

    "The KMS/DRM backend also supports custom configurations via a JSON file. To enable this, set the QT_QPA_EGLFS_KMS_CONFIG environment variable to the name of the file. You can also embed this file into the application via the Qt resource system."

    There are plenty of examples of how to set the QT_QPA_EGLFS_KMS_CONFIG environmental variable, however I would like to know how it is possible to set the kms config from the Qt Resource System as it suggests above.

  • Lifetime Qt Champion


    I have not used that but my guess would to just set the path as you would for using anything stored in Qt's ressource system.

Log in to reply