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
##############################################
10
include ( ../qwtconfig.pri )
12
contains(CONFIG, QwtDesigner) {
17
DESTDIR = plugins/designer
21
contains(CONFIG, QwtDll) {
22
win32::DEFINES += QWT_DLL
25
!contains(CONFIG, QwtPlot) {
26
DEFINES += NO_QWT_PLOT
29
!contains(CONFIG, QwtWidgets) {
30
DEFINES += NO_QWT_WIDGETS
33
unix:LIBS += -L../lib -lqwt
34
win32-msvc:LIBS += ../lib/qwt5.lib
35
win32-msvc.net:LIBS += ../lib/qwt5.lib
36
win32-msvc2005:LIBS += ../lib/qwt5.lib
37
win32-g++:LIBS += -L../lib -lqwt5
39
# isEmpty(QT_VERSION) does not work with Qt-4.1.0/MinGW
41
VVERSION = $$[QT_VERSION]
49
HEADERS += qwtplugin.h
50
SOURCES += qwtplugin.cpp
52
target.path = $(QTDIR)/plugins/designer
57
pixmaps/qwtanalogclock.png \
58
pixmaps/qwtcounter.png \
59
pixmaps/qwtcompass.png \
62
pixmaps/qwtscale.png \
63
pixmaps/qwtslider.png \
64
pixmaps/qwtthermo.png \
65
pixmaps/qwtwheel.png \
72
TARGET = qwt_designer_plugin
73
CONFIG += qt designer plugin
81
qwt_designer_plugin.cpp
83
contains(CONFIG, QwtPlot) {
86
qwt_designer_plotdialog.h
89
qwt_designer_plotdialog.cpp
93
qwt_designer_plugin.qrc
95
target.path = $$[QT_INSTALL_PLUGINS]/designer
103
TEMPLATE = subdirs # do nothing