mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
take qwtconfig.pri out of git
Provide a qwtconfig.pri.in that you copy to qwtconfig.pri, instead.
This commit is contained in:
124
qwt/qwtconfig.pri.in
Normal file
124
qwt/qwtconfig.pri.in
Normal file
@@ -0,0 +1,124 @@
|
||||
######################################################################
|
||||
# Install paths
|
||||
######################################################################
|
||||
|
||||
VER_MAJ = 5
|
||||
VER_MIN = 2
|
||||
VER_PAT = 1
|
||||
VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
|
||||
|
||||
unix {
|
||||
INSTALLBASE = /usr/local/qwt-$$VERSION-svn
|
||||
}
|
||||
|
||||
win32 {
|
||||
INSTALLBASE = C:/Qwt-$$VERSION-svn
|
||||
}
|
||||
|
||||
target.path = $$INSTALLBASE/lib
|
||||
headers.path = $$INSTALLBASE/include
|
||||
doc.path = $$INSTALLBASE/doc
|
||||
|
||||
######################################################################
|
||||
# qmake internal options
|
||||
######################################################################
|
||||
|
||||
CONFIG += qt # Also for Qtopia Core!
|
||||
CONFIG += warn_on
|
||||
CONFIG += thread
|
||||
|
||||
######################################################################
|
||||
# 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 += debug # 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 += debug # release/debug/debug_and_release
|
||||
#CONFIG += debug_and_release
|
||||
#CONFIG += build_all
|
||||
}
|
||||
else {
|
||||
CONFIG += debug # 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
|
||||
|
||||
######################################################################
|
||||
# If you have a commercial license you can use the MathML renderer
|
||||
# of the Qt solutions package to enable MathML support in Qwt.
|
||||
# So 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
|
||||
Reference in New Issue
Block a user