Difference between revisions of "Qt"
From Maemo Leste Wiki
Jump to navigationJump to search (Created page with "(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 se...") |
m (add some use-flags for style and xcb) |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
==== Using a non-maemo theme ==== | ==== Using a non-maemo theme ==== | ||
Unset or override the "QT_STYLE_OVERRIDE" and "QT_QPA_PLATFORM" | 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.