Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/python_qt_binding/binding_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
# since the 'future' package provides a 'builtins' module in Python 2
# this must not be checked second
import builtins
import platform
import os
import sys
import traceback
Expand All @@ -50,7 +51,11 @@ def _select_qt_binding(binding_name=None, binding_order=None):
global QT_BINDING, QT_BINDING_VERSION

# order of default bindings can be changed here
DEFAULT_BINDING_ORDER = ['pyqt', 'pyside']
if platform.system() == 'Darwin':
DEFAULT_BINDING_ORDER = ['pyside']
else:
DEFAULT_BINDING_ORDER = ['pyqt', 'pyside']

binding_order = binding_order or DEFAULT_BINDING_ORDER

# determine binding preference
Expand Down