Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Load specific QPA Plugin
Qt 6.11 is out! See what's new in the release blog

Load specific QPA Plugin

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.3k 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.
  • strahlexS Offline
    strahlexS Offline
    strahlex
    wrote on last edited by
    #1

    Hello,

    With most Qt installations also come different QPA plugins. Is it possible to load a specific QPA plugin? On my BeagleBone applications always try to load the XCB plugin which needs DRI2 which is not available in the near future. So I thought about using directfb instead. How can I do this?

    Regards
    Alexander

    Feel free to check out my website machinekoder.com
    and my pet projects Intellicute and QtQuickVcp

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You need to compile Qt with -platform directfb, IIRC. It's probably also possible to do the choice at runtime, but I don't remember how.

      (Z(:^

      1 Reply Last reply
      0
      • strahlexS Offline
        strahlexS Offline
        strahlex
        wrote on last edited by
        #3

        The option to switch at run-time is what I am looking for since the Qt Build I am using is already compiled with the -directfb flag. Is there a way to show all installed QPA plugins?

        Feel free to check out my website machinekoder.com
        and my pet projects Intellicute and QtQuickVcp

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Based on "this":http://wayland.freedesktop.org/qt5.html, you just need to pass -platform directfb to your application.

          (Z(:^

          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