summaryrefslogtreecommitdiff
blob: 378a372910389121e597206a08a52b6d6c222cd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/qtiplot/src/scripting/scripting.pri b/qtiplot/src/scripting/scripting.pri
index 9b7d9a8..30e2d1f 100755
--- a/qtiplot/src/scripting/scripting.pri
+++ b/qtiplot/src/scripting/scripting.pri
@@ -105,7 +105,9 @@ contains(SCRIPTING_LANGS, Python) {
 			 $${SIP_DIR}/sipqtiConvolution.cpp \
 			 $${SIP_DIR}/sipqtiDeconvolution.cpp \
 
-exists(../../$${SIP_DIR}/sipqtiQList.cpp) {
+SIPVERSION = $$system( sip -V | cut -b 1-3 )
+
+equals( SIPVERSION, 4.8 ) {
   # SIP < 4.9
   SOURCES += $${SIP_DIR}/sipqtiQList.cpp
 } else {