|author||Alexandru Croitor <email@example.com>||2016-06-13 17:15:04 +0200|
|committer||Christian Tismer <firstname.lastname@example.org>||2016-06-16 09:40:32 +0000|
Fix OS/X inclusion of framework headers.
The recent change that made use of framework headers on OS/X did not work with homebrew Qt, and it didn't work with official builds either, because neither of the chosen include folders contained all the necessary headers to lead to a successful build. Fortunately shiboken actually supports being passed multiple include locations, separated by a colon on OS/X, and a semicolon on Windows. This patch makes sure to always pass the Qt include folder, and in case if the Qt build is a framework build, also passes the root frameworks location, with headers found by shiboken under frameworkName.framewework/Headers. This works for homebrew builds, official builds and custom non-installed prefix / in-source builds of Qt. Change-Id: I47b24e197839883de2ab873461efc1f4d4d33743 Reviewed-by: Christian Tismer <email@example.com>
Diffstat (limited to 'sources/shiboken2/libshiboken/pep384impl.h')
1 files changed, 16 insertions, 6 deletions
diff --git a/sources/shiboken2 b/sources/shiboken2