summaryrefslogtreecommitdiffstats
path: root/src/qwt_qt4.mk
diff options
context:
space:
mode:
authorMartin Müllenhaupt <mm+git@netlair.de>2017-07-21 09:15:49 (GMT)
committerMartin Müllenhaupt <mm+git@netlair.de>2017-07-24 09:18:44 (GMT)
commitaccc6a3fa0e56f56239f3d89b5617655511ce786 (patch)
treef5678848b86609a651cbed6d25a9c207185b7e20 /src/qwt_qt4.mk
parentae241ae5ab9419e671cf08c6ac1c4333f2db9483 (diff)
downloadmxe-accc6a3fa0e56f56239f3d89b5617655511ce786.zip
mxe-accc6a3fa0e56f56239f3d89b5617655511ce786.tar.gz
mxe-accc6a3fa0e56f56239f3d89b5617655511ce786.tar.bz2
create qt4 overlay plugin to link VTK and Qwt to Qt 4 instead of 5
Diffstat (limited to 'src/qwt_qt4.mk')
-rw-r--r--src/qwt_qt4.mk32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/qwt_qt4.mk b/src/qwt_qt4.mk
deleted file mode 100644
index c1c2fce..0000000
--- a/src/qwt_qt4.mk
+++ /dev/null
@@ -1,32 +0,0 @@
-# This file is part of MXE. See LICENSE.md for licensing information.
-
-PKG := qwt_qt4
-$(PKG)_WEBSITE := https://qwt.sourceforge.io/
-$(PKG)_DESCR := Qwt-qt4
-$(PKG)_VERSION = $(qwt_VERSION)
-$(PKG)_CHECKSUM = $(qwt_CHECKSUM)
-$(PKG)_SUBDIR = $(qwt_SUBDIR)
-$(PKG)_FILE = $(qwt_FILE)
-$(PKG)_WEBSITE = $(qwt_WEBSITE)
-$(PKG)_URL = $(qwt_URL)
-$(PKG)_DEPS := gcc qt
-
-define $(PKG)_UPDATE
- echo $(qwt_VERSION)
-endef
-
-define $(PKG)_BUILD
- $(if $(BUILD_STATIC),\
- echo "QWT_CONFIG -= QwtDll" >> '$(1)/qwtconfig.pri')
-
- # build
- cd '$(1)/src' && $(PREFIX)/$(TARGET)/qt/bin/qmake
- $(MAKE) -C '$(1)/src' -f 'Makefile.Release' -j '$(JOBS)' install
-
- #build sinusplot example to test linkage
- cd '$(1)/examples/sinusplot' && $(PREFIX)/$(TARGET)/qt/bin/qmake
- $(MAKE) -C '$(1)/examples/sinusplot' -f 'Makefile.Release' -j '$(JOBS)'
-
- # install
- $(INSTALL) -m755 '$(1)/examples/bin/sinusplot.exe' '$(PREFIX)/$(TARGET)/bin/test-qwt-qt4.exe'
-endef