Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Use Qt, qml with linux and directfb
Forum Updated to NodeBB v4.3 + New Features

Use Qt, qml with linux and directfb

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 4 Posters 3.2k 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.
  • I Offline
    I Offline
    ivan_r
    wrote on last edited by
    #1

    Hi,

    I search to use Qt, qml with directfb

    I have compiled Qt with -no-xcb and -directfb directives

    Qt.5.1.2 is well compiled.
    With X11, I installed QtCreator, declared Qt.5.1.2 in and created a program QtQuick2 test.

    When I want to compile it, I get the following messages:

    _Démarrage de /home/pi/build-testQtQ-Desktop-Debug/testQtQ...QML debugging is enabled. Only use this in a safe environment.
    This application failed to start because it could not find or load the Qt platform plugin "xcb".

    Available platform plugins are: directfbegl, directfb, linuxfb, minimal, offscreen.

    Reinstalling the application may fix this problem.
    Le programme s'est terminé subitement.
    /home/pi/build-testQtQ-Desktop-Debug/testQtQ a quitté avec le code 0_

    My question:

    How to "force" Qt to use directfb ?

    regards,

    ivan

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SmokeOnTheWater
      wrote on last edited by
      #2

      I never used it, but the configure command has the option "-qpa": "Sets the default QPA platform (e.g xcb, cocoa, windows)."

      As far as I know there's also a command line option existing to select the output plugin at application start.
      I just can't remeber the name of that switch...

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

        Any progress on that? Can directfb be forced?

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

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kuschky
          wrote on last edited by
          #4

          Execute the application with switch -platform

          ./myapp -platform directfb

          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