qt5base-lts/src
Gabriel de Dietrich 04671a80db macOS: Force light theme on macOS 10.14+
Until we can properly fix QPalette and QMacStyle,
we should disable dark appearance in Qt applications.

Disable by setting NSApp.appearance to Aqua, unless
dark mode support has been requested via Info.plist
or environment variable.

Read the NSRequiresAquaSystemAppearance Info.plist
key, don’t set NSApp.appearance if its value is false.

Also check the QT_MAC_REQUIRES_AQUA_SYSTEM_APPEARANCE
environment variable and apply similar logic. You then
enable dark mode support by setting:

    QT_MAC_REQUIRES_AQUA_SYSTEM_APPEARANCE=0

which is slightly awkward, but matches Info.plist
behavior.

Task-number: QTBUG-68891
Change-Id: I86dc6cf3dee951d46c953396c57d2c31f2e4afcc
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2018-08-09 08:19:01 +00:00
..
3rdparty PCRE2: upgrade to upstream version 10.31 2018-07-23 07:57:20 +00:00
android Add translation for unsupported_android_version for fr and de 2018-05-25 06:50:40 +00:00
angle [Backport] Remove usage of auto_ptr in MacroExpander 2018-06-21 13:13:04 +00:00
concurrent Doc: Fix typo and grammar issues 2018-07-09 17:00:19 +00:00
corelib QSysInfo: fall back to /usr/lib/os-release if the /etc one is missing 2018-08-08 20:17:19 +00:00
dbus Doc: Add references to QDBusAbstractAdaptor implementation example 2018-06-29 05:16:04 +00:00
gui Add QPlatformScreen::windows() helper to return all windows on screen 2018-08-06 20:14:55 +00:00
network SecureTransport - disable lock on sleep for the custom keychain 2018-08-02 14:31:39 +00:00
opengl Merge remote-tracking branch 'origin/5.10' into 5.11 2018-02-15 10:14:11 +01:00
openglextensions Replace Q_DECL_FINAL with final 2017-09-22 07:30:01 +00:00
platformheaders Doc: Add missing full stops in briefs 2018-06-21 14:23:30 +00:00
platformsupport Fix Clang annoying, useless warning about using %llu when it wants %lu 2018-07-05 14:50:35 +00:00
plugins macOS: Force light theme on macOS 10.14+ 2018-08-09 08:19:01 +00:00
printsupport QWin32PrintEngine: Fix crash in drawPixmap(), drawImage() 2018-05-23 08:26:57 +00:00
sql Remove the src/sql/README.module file 2018-08-04 06:08:50 +00:00
testlib Doc: Remove reference to QTestEvent 2018-07-31 15:52:39 +00:00
tools Fix apkPath for gradle 4.0+ 2018-08-09 07:21:19 +00:00
widgets Doc: Update out-of-date image in QColorDialog documentation 2018-08-03 12:53:57 +00:00
winmain Merge remote-tracking branch 'origin/5.10' into dev 2018-01-11 18:10:41 +01:00
xml QDomNode::replaceChild(): Fix documentation typo 2018-03-16 06:34:13 +00:00
src.pro Move androiddeployqt to qtbase 2018-06-21 11:08:57 +00:00