Difference between revisions of "Qt"

From Maemo Leste Wiki
Jump to navigationJump to search
m (add some use-flags for style and xcb)
 
Line 11: Line 11:


Unset or override the "QT_STYLE_OVERRIDE" and "QT_QPA_PLATFORM" environment variables.
Unset or override the "QT_STYLE_OVERRIDE" and "QT_QPA_PLATFORM" environment variables.
You can also add the flag "-style=fusion" to set the style.
==== Menus are not working ====
Add the flag "-platform xcb". This enforces the libxcb bindings https://xcb.freedesktop.org/ and may help.

Latest revision as of 00:02, 5 January 2021

(This page is work in progress. Very much so.)

Maemo Leste ships with a Qt5 port as of mid 2020.

This page documents how some of that works, and some tricks to modify the setup.



Using a non-maemo theme

Unset or override the "QT_STYLE_OVERRIDE" and "QT_QPA_PLATFORM" environment variables.

You can also add the flag "-style=fusion" to set the style.

Menus are not working

Add the flag "-platform xcb". This enforces the libxcb bindings https://xcb.freedesktop.org/ and may help.