Files
GoldenCheetah/qwt/designer/designer.pro
Damien 2f9130cd76 Qwt 6.0.1 Support
Upgrade to QWT 6.0.1, but still uses a locally patched copy
since support for 8 axes has not been included, despite it
being a relatively simple patch.

Fixes #634.
Fixes #567.
2012-02-12 10:43:15 +00:00

73 lines
1.6 KiB
Prolog

################################################################
# Qwt Widget Library
# Copyright (C) 1997 Josef Wilgen
# Copyright (C) 2002 Uwe Rathmann
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the Qwt License, Version 1.0
################################################################
QWT_ROOT = $${PWD}/..
include ( $${QWT_ROOT}/qwtconfig.pri )
include ( $${QWT_ROOT}/qwtbuild.pri )
contains(QWT_CONFIG, QwtDesigner) {
CONFIG += qt designer plugin
CONFIG += warn_on
TEMPLATE = lib
TARGET = qwt_designer_plugin
DESTDIR = plugins/designer
INCLUDEPATH += $${QWT_ROOT}/src
DEPENDPATH += $${QWT_ROOT}/src
contains(QWT_CONFIG, QwtFramework) {
LIBS += -F$${QWT_ROOT}/lib
}
else {
LIBS += -L$${QWT_ROOT}/lib
}
IPATH = $${INCLUDEPATH}
qtAddLibrary(qwt)
INCLUDEPATH = $${IPATH}
contains(QWT_CONFIG, QwtDll) {
win32 {
DEFINES += QT_DLL QWT_DLL
}
}
!contains(QWT_CONFIG, QwtPlot) {
DEFINES += NO_QWT_PLOT
}
!contains(QWT_CONFIG, QwtWidgets) {
DEFINES += NO_QWT_WIDGETS
}
HEADERS += qwt_designer_plugin.h
SOURCES += qwt_designer_plugin.cpp
contains(QWT_CONFIG, QwtPlot) {
HEADERS += qwt_designer_plotdialog.h
SOURCES += qwt_designer_plotdialog.cpp
}
RESOURCES += qwt_designer_plugin.qrc
target.path = $${QWT_INSTALL_PLUGINS}
INSTALLS += target
}
else {
TEMPLATE = subdirs # do nothing
}