aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/scriptableapplication/scriptableapplication.pro8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/scriptableapplication/scriptableapplication.pro b/examples/scriptableapplication/scriptableapplication.pro
index 2719160f3..9f888f6a0 100644
--- a/examples/scriptableapplication/scriptableapplication.pro
+++ b/examples/scriptableapplication/scriptableapplication.pro
@@ -74,11 +74,9 @@ win32:QMAKE_EXTRA_COMPILERS += hard_link_libraries
INCLUDEPATH += $$WRAPPER_DIR
-# fixme: Hack to find wrappers
-PACKAGE_DIR = $$PWD/../../pyside_package/PySide2
-
-INCLUDEPATH += $$PACKAGE_DIR/include/PySide2/QtWidgets \
- $$PACKAGE_DIR/include/PySide2/QtGui $$PACKAGE_DIR/include/PySide2/QtCore
+for(i, PYSIDE2_INCLUDE) {
+ INCLUDEPATH += $$i/QtWidgets $$i/QtGui $$i/QtCore
+}
SOURCES += \
main.cpp \