1
# -*- mode: sh -*- ###########################
3
# Copyright (C) 1997 Josef Wilgen
4
# Copyright (C) 2002 Uwe Rathmann
6
# This library is free software; you can redistribute it and/or
7
# modify it under the terms of the Qwt License, Version 1.0
8
##############################################
12
include ( $${QWT_ROOT}/qwtconfig.pri )
14
contains(CONFIG, QwtDesigner) {
20
VVERSION = $$[QT_VERSION]
25
SUFFIX_STR = $${DEBUG_SUFFIX}
28
SUFFIX_STR = $${RELEASE_SUFFIX}
33
CONFIG(debug, debug|release) {
34
SUFFIX_STR = $${DEBUG_SUFFIX}
37
SUFFIX_STR = $${RELEASE_SUFFIX}
43
OBJECTS_DIR = obj$${SUFFIX_STR}
44
DESTDIR = plugins/designer
45
INCLUDEPATH += $${QWT_ROOT}/src
46
DEPENDPATH += $${QWT_ROOT}/src
48
LIBNAME = qwt$${SUFFIX_STR}
49
contains(CONFIG, QwtDll) {
51
DEFINES += QT_DLL QWT_DLL
52
LIBNAME = $${LIBNAME}$${VER_MAJ}
56
!contains(CONFIG, QwtPlot) {
57
DEFINES += NO_QWT_PLOT
60
!contains(CONFIG, QwtWidgets) {
61
DEFINES += NO_QWT_WIDGETS
64
unix:LIBS += -L$${QWT_ROOT}/lib -l$${LIBNAME}
65
win32-msvc:LIBS += $${QWT_ROOT}/lib/$${LIBNAME}.lib
66
win32-msvc.net:LIBS += $${QWT_ROOT}/lib/$${LIBNAME}.lib
67
win32-msvc2005:LIBS += $${QWT_ROOT}/lib/$${LIBNAME}.lib
68
win32-g++:LIBS += -L$${QWT_ROOT}/lib -l$${LIBNAME}
70
# isEmpty(QT_VERSION) does not work with Qt-4.1.0/MinGW
72
VVERSION = $$[QT_VERSION]
75
TARGET = qwtplugin$${SUFFIX_STR}
80
HEADERS += qwtplugin.h
81
SOURCES += qwtplugin.cpp
83
target.path = $(QTDIR)/plugins/designer
88
pixmaps/qwtanalogclock.png \
89
pixmaps/qwtcounter.png \
90
pixmaps/qwtcompass.png \
93
pixmaps/qwtscale.png \
94
pixmaps/qwtslider.png \
95
pixmaps/qwtthermo.png \
96
pixmaps/qwtwheel.png \
103
TARGET = qwt_designer_plugin$${SUFFIX_STR}
104
CONFIG += qt designer plugin
109
qwt_designer_plugin.h
112
qwt_designer_plugin.cpp
114
contains(CONFIG, QwtPlot) {
117
qwt_designer_plotdialog.h
120
qwt_designer_plotdialog.cpp
124
qwt_designer_plugin.qrc
126
target.path = $$[QT_INSTALL_PLUGINS]/designer
131
TEMPLATE = subdirs # do nothing