summaryrefslogtreecommitdiff
path: root/qwt5-qt5/qwtconfig-archlinux.pri
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-06-03 11:48:21 +0200
committerErich Eckner <git@eckner.net>2020-06-03 11:48:21 +0200
commit8957f2d2fd1ef07f75b5db45df6201ab5a406bd8 (patch)
tree047df10d990e5fc894f31f1b7945089f85d061b6 /qwt5-qt5/qwtconfig-archlinux.pri
parent527875fae0d05bbc0416bb1458797aac3507fcdf (diff)
downloadarchlinuxewe.git.save-8957f2d2fd1ef07f75b5db45df6201ab5a406bd8.tar.xz
qwt5-qt5 new
Diffstat (limited to 'qwt5-qt5/qwtconfig-archlinux.pri')
-rw-r--r--qwt5-qt5/qwtconfig-archlinux.pri137
1 files changed, 137 insertions, 0 deletions
diff --git a/qwt5-qt5/qwtconfig-archlinux.pri b/qwt5-qt5/qwtconfig-archlinux.pri
new file mode 100644
index 00000000..b8f12612
--- /dev/null
+++ b/qwt5-qt5/qwtconfig-archlinux.pri
@@ -0,0 +1,137 @@
+######################################################################
+# Install paths
+######################################################################
+
+VER_MAJ = 5
+VER_MIN = 2
+VER_PAT = 3
+VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
+
+greaterThan(QT_MAJOR_VERSION, 3){
+ CONFIG += c++11
+}
+
+equals(QT_MAJOR_VERSION, 5) {
+ QT += widgets printsupport
+}
+
+message(Using QT version $$QT_VERSION)
+
+target.path = $$[QT_INSTALL_LIBS]
+doc.path = $$[QT_INSTALL_DOCS]
+
+VVERSION = $$[QT_VERSION]
+isEmpty(VVERSION) {
+ headers.path = $$[QT_INSTALL_HEADERS]/qwt5-qt3
+} else {
+ equals(QT_MAJOR_VERSION, 5) {
+ headers.path = $$[QT_INSTALL_HEADERS]/qwt5-qt5
+ } else {
+ headers.path = $$[QT_INSTALL_HEADERS]/qwt5-qt4
+ }
+}
+
+######################################################################
+# qmake internal options
+######################################################################
+
+CONFIG += qt # Also for Qtopia Core!
+CONFIG += warn_on
+CONFIG += thread
+#CONFIG += silent
+
+######################################################################
+# release/debug mode
+# If you want to build both DEBUG_SUFFIX and RELEASE_SUFFIX
+# have to differ to avoid, that they overwrite each other.
+######################################################################
+
+VVERSION = $$[QT_VERSION]
+isEmpty(VVERSION) {
+
+ # Qt 3
+ CONFIG += release # release/debug
+}
+else {
+ # Qt 4
+ win32 {
+ # On Windows you can't mix release and debug libraries.
+ # The designer is built in release mode. If you like to use it
+ # you need a release version. For your own application development you
+ # might need a debug version.
+ # Enable debug_and_release + build_all if you want to build both.
+
+ CONFIG += release # release/debug/debug_and_release
+ #CONFIG += debug_and_release
+ #CONFIG += build_all
+ }
+ else {
+ CONFIG += release # release/debug
+ }
+}
+
+######################################################################
+# If you want to have different names for the debug and release
+# versions you can add a suffix rule below.
+######################################################################
+
+DEBUG_SUFFIX =
+RELEASE_SUFFIX =
+
+win32 {
+ DEBUG_SUFFIX = d
+}
+
+######################################################################
+# Build the static/shared libraries.
+# If QwtDll is enabled, a shared library is built, otherwise
+# it will be a static library.
+######################################################################
+
+# CONFIG += QwtDll
+
+######################################################################
+# QwtPlot enables all classes, that are needed to use the QwtPlot
+# widget.
+######################################################################
+
+CONFIG += QwtPlot
+
+######################################################################
+# QwtWidgets enables all classes, that are needed to use the all other
+# widgets (sliders, dials, ...), beside QwtPlot.
+######################################################################
+
+CONFIG += QwtWidgets
+
+######################################################################
+# If you want to display svg imageson the plot canvas, enable the
+# line below. Note that Qwt needs the svg+xml, when enabling
+# QwtSVGItem.
+######################################################################
+
+CONFIG += QwtSVGItem
+
+######################################################################
+# You can use the MathML renderer of the Qt solutions package to
+# enable MathML support in Qwt. # If you want this, copy
+# qtmmlwidget.h + qtmmlwidget.cpp to # textengines/mathml and enable
+# the line below.
+######################################################################
+
+#CONFIG += QwtMathML
+
+######################################################################
+# If you want to build the Qwt designer plugin,
+# enable the line below.
+# Otherwise you have to build it from the designer directory.
+######################################################################
+
+# CONFIG += QwtDesigner
+
+######################################################################
+# If you want to auto build the examples, enable the line below
+# Otherwise you have to build them from the examples directory.
+######################################################################
+
+# CONFIG += QwtExamples