Disabling auto detect of qtquick style if manual set.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adsooi 2023-05-25 10:27:27 +02:00
parent 08edd7be14
commit 6fa0aea0e5
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160

View file

@ -65,13 +65,14 @@ def get_linux_theme():
def run(): def run():
environ["QT_QUICK_CONTROLS_STYLE"] = { if not 'QT_QUICK_CONTROLS_STYLE' in environ:
"linux": get_linux_theme(), environ["QT_QUICK_CONTROLS_STYLE"] = {
"freebsd": get_linux_theme(), "linux": get_linux_theme(),
"win32": "universal" if os_release == "10" else "fusion", "freebsd": get_linux_theme(),
"cygwin": "fusion", "win32": "universal" if os_release == "10" else "fusion",
"darwin": "default" "cygwin": "fusion",
}[platform] "darwin": "default"
}[platform]
dep_time = time() dep_time = time()
print("Loaded dependencies in " + str((dep_time - start_time)*1000) + "ms.") print("Loaded dependencies in " + str((dep_time - start_time)*1000) + "ms.")