File qscintilla.diff of Package qscintilla

Index: Qt3/qscintilla.pro
===================================================================
--- Qt3/qscintilla.pro.orig
+++ Qt3/qscintilla.pro
@@ -45,7 +45,7 @@ DEFINES = QSCINTILLA_MAKE_DLL QT SCI_LEX
 # Handle both Qt v4 and v3.
 target.path = $$[QT_INSTALL_LIBS]
 isEmpty(target.path) {
-	target.path = $(QTDIR)/lib
+	target.path = $(QTDIR_LIB)
 }
 
 header.path = $$[QT_INSTALL_HEADERS]
@@ -61,11 +61,8 @@ isEmpty(trans.path) {
 	trans.path = $(QTDIR)/translations
 }
 
-qsci.path = $$[QT_INSTALL_DATA]
 qsci.files = ../qsci
-isEmpty(qsci.path) {
-	qsci.path = $(QTDIR)
-}
+qsci.path = $(QTDIR)
 
 INSTALLS += header trans qsci target
 
--- designer-Qt4Qt5/designer.pro.orig	2011-11-23 01:10:02.000000000 -0500
+++ designer-Qt4Qt5/designer.pro	2011-11-23 01:11:58.000000000 -0500
@@ -12,4 +12,5 @@
 target.path = $$[QT_INSTALL_PLUGINS]/designer
 INSTALLS += target
 
-LIBS += -L$$[QT_INSTALL_LIBS] -lqscintilla2
+LIBS += -L../Qt4Qt5 -lqscintilla2
+INCLUDEPATH += ../Qt4Qt5

openSUSE Build Service is sponsored by