Disabling auto detect of qtquick style if manual set.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
08edd7be14
commit
6fa0aea0e5
1 changed files with 8 additions and 7 deletions
|
@ -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.")
|
||||||
|
|
Loading…
Reference in a new issue