1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
Fixes the makefiles to install according to the Debian FHS
--- a/doc/Doxyfile.doxygen
+++ b/doc/Doxyfile.doxygen
@@ -116,7 +116,7 @@
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE = qwtplot3d.chm
-HHC_LOCATION = "c:\Programme\HTML Help Workshop\hhc.exe"
+#HHC_LOCATION = "c:\Programme\HTML Help Workshop\hhc.exe"
GENERATE_CHI = NO
BINARY_TOC = YES
TOC_EXPAND = YES
@@ -181,7 +181,7 @@
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
-INCLUDE_PATH = V:/cvs/qwtplot3d/include/
+INCLUDE_PATH = ../include/
INCLUDE_FILE_PATTERNS = *.h
PREDEFINED = QWT3D_NOT_FOR_DOXYGEN \
QT_VERSION=0x040000
@@ -212,7 +212,7 @@
GRAPHICAL_HIERARCHY = YES
DIRECTORY_GRAPH = YES
DOT_IMAGE_FORMAT = png
-DOT_PATH = V:/graphviz/Graphviz/bin/
+#DOT_PATH = V:/graphviz/Graphviz/bin/
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 974
MAX_DOT_GRAPH_HEIGHT = 10000
--- a/examples/common.pro
+++ b/examples/common.pro
@@ -3,13 +3,17 @@
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
+unix{
+ unix:LIBS += -lqwtplot3d-qt4
+ INCLUDEPATH += /usr/include/qwtplot3d-qt4
+}
+
+DEPENDPATH = $$INCLUDEPATH
+
win32{
LIBS += ../../lib/qwtplot3d.lib
TEMPLATE = vcapp
@@ -28,7 +32,7 @@
ISQT4 = $$find(MYVERSION, ^[2-9])
!isEmpty( ISQT4 ) {
-RESOURCES = ../images.qrc
+#RESOURCES = ../images.qrc
QT += opengl
}
--- a/qwtplot3d.pro
+++ b/qwtplot3d.pro
@@ -1,7 +1,13 @@
# pro file for building the makefile for qwtplot3d
#
-TARGET = qwtplot3d
+TARGET = qwtplot3d-qt4
+# Install directives
+INSTALLBASE = /usr
+headers.path = $$INSTALLBASE/include/qwtplot3d-qt4
+headers.files = $$HEADERS
+target.path = $$INSTALLBASE/lib
+INSTALLS = doc headers target
TEMPLATE = lib
CONFIG += qt warn_on opengl thread zlib debug
MOC_DIR = tmp
@@ -87,9 +93,11 @@
SOURCES+=src/qwt3d_io_gl2ps.cpp \
3rdparty/gl2ps/gl2ps.c
+unix:LIBS += -lGLU
+
# zlib support for gl2ps
zlib {
DEFINES += GL2PS_HAVE_ZLIB
win32:LIBS += zlib.lib
unix:LIBS += -lz
-}
\ No newline at end of file
+}
|