mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add preffered qt bindings to Qt.py and qtpy
This commit is contained in:
parent
04f3bc89ff
commit
bca0c2c810
1 changed files with 5 additions and 1 deletions
|
|
@ -30,7 +30,11 @@ class MayaAddon(OpenPypeModule, IHostAddon):
|
|||
|
||||
# Set default values if are not already set via settings
|
||||
defaults = {
|
||||
"OPENPYPE_LOG_NO_COLORS": "Yes"
|
||||
"OPENPYPE_LOG_NO_COLORS": "Yes",
|
||||
# For python module 'qtpy'
|
||||
"QT_API": "PySide2",
|
||||
# For python module 'Qt'
|
||||
"QT_PREFERRED_BINDING": "PySide2"
|
||||
}
|
||||
for key, value in defaults.items():
|
||||
if not env.get(key):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue