parent
a6122cc9d9
commit
2174252bbb
@ -0,0 +1,49 @@
|
|||||||
|
diff -up qwt-5.2.1/qwtconfig.pri.install_qt qwt-5.2.1/qwtconfig.pri
|
||||||
|
--- qwt-5.2.1/qwtconfig.pri.install_qt 2010-04-11 04:55:06.000000000 -0500
|
||||||
|
+++ qwt-5.2.1/qwtconfig.pri 2011-07-14 08:22:26.207212795 -0500
|
||||||
|
@@ -7,6 +7,11 @@ VER_MIN = 2
|
||||||
|
VER_PAT = 1
|
||||||
|
VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
|
||||||
|
|
||||||
|
+CONFIG(install-qt) {
|
||||||
|
+target.path = $$[QT_INSTALL_LIBS]
|
||||||
|
+headers.path = $$[QT_INSTALL_HEADERS]/qwt
|
||||||
|
+doc.path = $$[QT_INSTALL_DOCS]
|
||||||
|
+} else {
|
||||||
|
unix {
|
||||||
|
INSTALLBASE = /usr/local/qwt-5.2.1
|
||||||
|
}
|
||||||
|
@@ -18,6 +23,7 @@ win32 {
|
||||||
|
target.path = $$INSTALLBASE/lib
|
||||||
|
headers.path = $$INSTALLBASE/include
|
||||||
|
doc.path = $$INSTALLBASE/doc
|
||||||
|
+}
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# qmake internal options
|
||||||
|
diff -up qwt-5.2.1/src/src.pro.install_qt qwt-5.2.1/src/src.pro
|
||||||
|
--- qwt-5.2.1/src/src.pro.install_qt 2010-04-11 04:55:06.000000000 -0500
|
||||||
|
+++ qwt-5.2.1/src/src.pro 2011-07-14 08:30:39.759190828 -0500
|
||||||
|
@@ -220,9 +220,17 @@ contains(CONFIG, QwtWidgets) {
|
||||||
|
# Install directives
|
||||||
|
|
||||||
|
headers.files = $$HEADERS
|
||||||
|
-doc.files = $${QWT_ROOT}/doc/html $${QWT_ROOT}/doc/qwt-5.2.0.qch
|
||||||
|
-unix {
|
||||||
|
- doc.files += $${QWT_ROOT}/doc/man
|
||||||
|
-}
|
||||||
|
+INSTALLS += target headers
|
||||||
|
+
|
||||||
|
+html.files = $${QWT_ROOT}/doc/html
|
||||||
|
+html.path = $$[QT_INSTALL_DOCS]/html/
|
||||||
|
+INSTALLS += html
|
||||||
|
+
|
||||||
|
+qch.files = $${QWT_ROOT}/doc/qwt-5.2.0.qch
|
||||||
|
+qch.path = $$[QT_INSTALL_DOCS]/qch
|
||||||
|
+INSTALLS += qch
|
||||||
|
+
|
||||||
|
+unix:man.files += $${QWT_ROOT}/doc/man
|
||||||
|
+unix:man.path = /usr/share
|
||||||
|
+unix:INSTALLS += man
|
||||||
|
|
||||||
|
-INSTALLS = target headers doc
|
@ -1,45 +0,0 @@
|
|||||||
diff -Nur qwt-5.2.1.org/designer/designer.pro qwt-5.2.1/designer/designer.pro
|
|
||||||
--- qwt-5.2.1.org/designer/designer.pro 2010-04-16 21:32:52.000000000 +0200
|
|
||||||
+++ qwt-5.2.1/designer/designer.pro 2010-04-16 21:34:32.000000000 +0200
|
|
||||||
@@ -126,7 +126,7 @@
|
|
||||||
RESOURCES += \
|
|
||||||
qwt_designer_plugin.qrc
|
|
||||||
|
|
||||||
- target.path = $$[QT_INSTALL_PLUGINS]/designer
|
|
||||||
+ target.path = QTDESIGNERPATH
|
|
||||||
INSTALLS += target
|
|
||||||
}
|
|
||||||
}
|
|
||||||
diff -Nur qwt-5.2.1.org/qwtconfig.pri qwt-5.2.1/qwtconfig.pri
|
|
||||||
--- qwt-5.2.1.org/qwtconfig.pri 2010-04-16 21:32:52.000000000 +0200
|
|
||||||
+++ qwt-5.2.1/qwtconfig.pri 2010-04-16 21:35:49.000000000 +0200
|
|
||||||
@@ -7,17 +7,9 @@
|
|
||||||
VER_PAT = 1
|
|
||||||
VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
|
|
||||||
|
|
||||||
-unix {
|
|
||||||
- INSTALLBASE = /usr/local/qwt-5.2.1
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-win32 {
|
|
||||||
- INSTALLBASE = C:/Qwt-5.2.1
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-target.path = $$INSTALLBASE/lib
|
|
||||||
-headers.path = $$INSTALLBASE/include
|
|
||||||
-doc.path = $$INSTALLBASE/doc
|
|
||||||
+target.path = LIBPATH
|
|
||||||
+headers.path = HEADERPATH
|
|
||||||
+doc.path = DOCKPATH
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
# qmake internal options
|
|
||||||
@@ -98,7 +90,7 @@
|
|
||||||
# QwtSVGItem.
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
-#CONFIG += QwtSVGItem
|
|
||||||
+CONFIG += QwtSVGItem
|
|
||||||
|
|
||||||
######################################################################
|
|
||||||
# You can use the MathML renderer of the Qt solutions package to
|
|
Loading…
Reference in new issue