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. [SOLVED] setting a different platform
QtWS25 Last Chance

[SOLVED] setting a different platform

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.3k Views
  • 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.
  • C Offline
    C Offline
    clogwog
    wrote on 24 Jul 2013, 05:48 last edited by
    #1

    how can i specify what display platform qt uses ?
    when i run my application i get a:

    @>./menu
    Failed to load platform plugin "eglfs". Available platforms are:
    linuxfb
    minimal
    offscreen
    xcb@

    even though i specified -no-egl during the configure.
    how can i configure qt or force the application to use xcb for example ?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      clogwog
      wrote on 25 Jul 2013, 11:34 last edited by
      #2

      well this is embarrassing,

      @>./menu -platform xcb @

      seems to do the trick..

      now trying to add a
      @#define QT_QPA_DEFAULT_PLATFORM_NAME "xcb"@
      to qplatformdefs.h in my mkspec directory to set the default platform

      the environment variable QT_PLATFORM_PLUGIN doesn't seem to be picked up though

      1 Reply Last reply
      0

      1/2

      24 Jul 2013, 05:48

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved