diff options
Diffstat (limited to 'libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch')
-rw-r--r-- | libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch b/libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch deleted file mode 100644 index 438bb44276f1..000000000000 --- a/libraries/qwtpolar/qwtpolar-1.1.1-qt5.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- ../src/src.pro.orig 2018-09-17 17:15:25.091000000 +1000 -+++ ../src/src.pro 2018-09-17 17:27:50.284000000 +1000 -@@ -14,7 +14,12 @@ - include( $${QWT_POLAR_ROOT}/qwtpolarfunctions.pri ) - - TEMPLATE = lib --TARGET = $$qwtPolarLibraryTarget(qwtpolar) -+greaterThan(QT_MAJOR_VERSION, 4) { -+ TARGET = $$qwtPolarLibraryTarget(qwtpolar-qt5) -+} -+else { -+ TARGET = $$qwtPolarLibraryTarget(qwtpolar) -+} - - # pkgconfig support - CONFIG += create_pc create_prl no_install_prl ---- ../designer/designer.pro.orig 2014-09-19 20:28:24.313002267 +1000 -+++ ../designer/designer.pro 2018-09-17 17:32:26.175000000 +1000 -@@ -60,7 +60,12 @@ - LIBS += -L$${QWT_POLAR_ROOT}/lib - } - -- qwtPolarAddLibrary(qwtpolar) -+ greaterThan(QT_MAJOR_VERSION, 4) { -+ qwtPolarAddLibrary(qwtpolar-qt5) -+ } -+ else { -+ qwtPolarAddLibrary(qwtpolar) -+ } - - contains(CONFIG, QwtPolarDll) { - |