[SOLVED] setting a different platform
-
wrote on 24 Jul 2013, 05:48 last edited by
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 ? -
wrote on 25 Jul 2013, 11:34 last edited by
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 platformthe environment variable QT_PLATFORM_PLUGIN doesn't seem to be picked up though
1/2