summaryrefslogtreecommitdiffstats
path: root/lib/tqwtplot3d/examples/common.pro
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
commitb85a292ce06475d560bfa1195b63a8bfe211f22d (patch)
tree463d71be55ff807513139f1de106aef6bdd7b4db /lib/tqwtplot3d/examples/common.pro
parentce039289815e2802fdeca8d384126c807ca9cb58 (diff)
downloadulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.tar.gz
ulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.zip
Add 0.2.7 release of qwtplot3d for future TQt3 conversion and use
Diffstat (limited to 'lib/tqwtplot3d/examples/common.pro')
-rw-r--r--lib/tqwtplot3d/examples/common.pro34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/tqwtplot3d/examples/common.pro b/lib/tqwtplot3d/examples/common.pro
new file mode 100644
index 0000000..2b7fb83
--- /dev/null
+++ b/lib/tqwtplot3d/examples/common.pro
@@ -0,0 +1,34 @@
+TEMPLATE = app
+CONFIG += qt warn_on thread debug
+UI_DIR = tmp
+MOC_DIR = tmp
+OBJECTS_DIR = tmp
+INCLUDEPATH += ../../include
+DEPENDPATH = $$INCLUDEPATH
+DESTDIR = ../bin
+
+unix:LIBS += -lqwtplot3d -L../../lib
+linux-g++:QMAKE_CXXFLAGS += -fno-exceptions
+
+win32{
+ LIBS += ../../lib/qwtplot3d.lib
+ TEMPLATE = vcapp
+ DEFINES += QT_DLL QWT3D_DLL
+ RC_FILE = ../icon.rc
+ contains (CONFIG, debug) {
+ QMAKE_LFLAGS += /NODEFAULTLIB:msvcrt
+ }
+
+}
+
+MYVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(MYVERSION, ^[2-9])
+
+!isEmpty( ISQT4 ) {
+RESOURCES = ../images.qrc
+QT += opengl
+}
+
+isEmpty( ISQT4 ) {
+CONFIG += opengl
+}