aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup.py14
m---------sources/pyside231
m---------sources/shiboken222
3 files changed, 51 insertions, 16 deletions
diff --git a/setup.py b/setup.py
index 4be210bcb..9ef0e589c 100644
--- a/setup.py
+++ b/setup.py
@@ -633,11 +633,17 @@ class pyside_build(_build):
cmake_cmd.append("-DUSE_PYTHON_VERSION=3.4")
if sys.platform == 'darwin':
- # When using Qt from QtCompany installers, headers are under framework directories
+ # Shiboken supports specifying multiple include paths separated by a colon on *nix
+ # systems.
+ # In a framework build, two paths should be included:
+ # path_to_qt/lib -> which contains framework folders with headers, and
+ # path_to_qt/include -> which contains headers for static libraries.
+ # A non-framework build contains all headers in the path_to_qt/include folder.
+ path_separator = ":"
+ includes_dir = '-DALTERNATIVE_QT_INCLUDE_DIR=' + self.qtinfo.headers_dir
if os.path.isdir(self.qtinfo.headers_dir + "/../lib/QtCore.framework"):
- cmake_cmd.append('-DALTERNATIVE_QT_INCLUDE_DIR=' + self.qtinfo.headers_dir + "/../lib/")
- else:
- cmake_cmd.append('-DALTERNATIVE_QT_INCLUDE_DIR=' + self.qtinfo.headers_dir)
+ includes_dir += path_separator + self.qtinfo.headers_dir + "/../lib/"
+ cmake_cmd.append(includes_dir)
if OPTION_OSXARCH:
# also tell cmake which architecture to use
diff --git a/sources/pyside2 b/sources/pyside2
-Subproject e64dda26eb2042a8c0cd7c8a33b134dcf097936
+Subproject 23d77136da1f249f0a78c8c7e8124adc8c60423
diff --git a/sources/shiboken2 b/sources/shiboken2
-Subproject 4ba52d8a955613985485b14faf76aa66bac08cc
+Subproject 6a3f6544ec0b5a1bc3f8bbaf9269217a2072168