исходный файл qwtplot3d.pro
 
файл qwtplot3d.pro с исправлениями
 
# pro file for building the makefile for qwtplot3d
#
 
# pro file for building the makefile for qwtplot3d
#
 
  CONFIG += debug_and_release
  CONFIG += build_all
   
  DEBUG_SFX =
  MOC_DIR = tmp
  OBJECTS_DIR = tmp
  CONFIG(debug,debug|release) {
    DEBUG_SFX = d
    MOC_DIR = tmpd
    OBJECTS_DIR = tmpd
  }
TARGET = qwtplot3d TARGET = qwtplot$${DEBUG_SFX}3d
TEMPLATE = lib TEMPLATE = lib
CONFIG += qt warn_on opengl thread zlib debug CONFIG += qt warn_on opengl thread zlib
MOC_DIR = tmp #MOC_DIR = tmp
OBJECTS_DIR = tmp #OBJECTS_DIR = tmp
INCLUDEPATH = include
DEPENDPATH = include src
DESTDIR = lib
#DESTDIR = ../../../lib
QT += opengl
 
INCLUDEPATH = include
DEPENDPATH = include src
DESTDIR = lib
#DESTDIR = ../../../lib
QT += opengl
 
win32:TEMPLATE = vclib #win32:TEMPLATE = vclib
win32:CONFIG += dll exceptions
win32:dll:DEFINES += QT_DLL QWT3D_DLL QWT3D_MAKEDLL
win32:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_STL

# Comment the next line, if you have zlib on your windows system
win32:CONFIG -= zlib

linux-g++:TMAKE_CXXFLAGS += -fno-exceptions
unix:VERSION = 0.2.6

# Input
SOURCES += src/qwt3d_axis.cpp \
  src/qwt3d_color.cpp \
  src/qwt3d_coordsys.cpp \
  src/qwt3d_drawable.cpp \
  src/qwt3d_mousekeyboard.cpp \
  src/qwt3d_movements.cpp \
  src/qwt3d_lighting.cpp \
  src/qwt3d_colorlegend.cpp \
  src/qwt3d_plot.cpp \
  src/qwt3d_label.cpp \
  src/qwt3d_types.cpp \
  src/qwt3d_enrichment_std.cpp \
  src/qwt3d_autoscaler.cpp \
  src/qwt3d_io_reader.cpp \
  src/qwt3d_io.cpp \
  src/qwt3d_scale.cpp

SOURCES += src/qwt3d_gridmapping.cpp \
  src/qwt3d_parametricsurface.cpp \
  src/qwt3d_function.cpp

SOURCES += src/qwt3d_surfaceplot.cpp \
  src/qwt3d_gridplot.cpp \
  src/qwt3d_meshplot.cpp


HEADERS += include/qwt3d_color.h \
  include/qwt3d_global.h \
  include/qwt3d_types.h \
  include/qwt3d_axis.h \
  include/qwt3d_coordsys.h \
  include/qwt3d_drawable.h \
  include/qwt3d_helper.h \
  include/qwt3d_label.h \
  include/qwt3d_openglhelper.h \
  include/qwt3d_colorlegend.h \
  include/qwt3d_plot.h \
  include/qwt3d_enrichment.h \
  include/qwt3d_enrichment_std.h \
  include/qwt3d_autoscaler.h \
  include/qwt3d_autoptr.h \
  include/qwt3d_io.h \
  include/qwt3d_io_reader.h \
  include/qwt3d_scale.h \
  include/qwt3d_portability.h

HEADERS += include/qwt3d_mapping.h \
  include/qwt3d_gridmapping.h \
  include/qwt3d_parametricsurface.h \
  include/qwt3d_function.h

HEADERS += include/qwt3d_surfaceplot.h \
  include/qwt3d_volumeplot.h \
  include/qwt3d_graphplot.h \
  include/qwt3d_multiplot.h

# gl2ps support
HEADERS+=3rdparty/gl2ps/gl2ps.h \
  include/qwt3d_io_gl2ps.h

SOURCES+=src/qwt3d_io_gl2ps.cpp \
  3rdparty/gl2ps/gl2ps.c

# zlib support for gl2ps
zlib {
  DEFINES += GL2PS_HAVE_ZLIB
  win32:LIBS += zlib.lib
  unix:LIBS += -lz
}
win32:CONFIG += dll exceptions
win32:dll:DEFINES += QT_DLL QWT3D_DLL QWT3D_MAKEDLL
win32:QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_STL

# Comment the next line, if you have zlib on your windows system
win32:CONFIG -= zlib

linux-g++:TMAKE_CXXFLAGS += -fno-exceptions
unix:VERSION = 0.2.6

# Input
SOURCES += src/qwt3d_axis.cpp \
  src/qwt3d_color.cpp \
  src/qwt3d_coordsys.cpp \
  src/qwt3d_drawable.cpp \
  src/qwt3d_mousekeyboard.cpp \
  src/qwt3d_movements.cpp \
  src/qwt3d_lighting.cpp \
  src/qwt3d_colorlegend.cpp \
  src/qwt3d_plot.cpp \
  src/qwt3d_label.cpp \
  src/qwt3d_types.cpp \
  src/qwt3d_enrichment_std.cpp \
  src/qwt3d_autoscaler.cpp \
  src/qwt3d_io_reader.cpp \
  src/qwt3d_io.cpp \
  src/qwt3d_scale.cpp

SOURCES += src/qwt3d_gridmapping.cpp \
  src/qwt3d_parametricsurface.cpp \
  src/qwt3d_function.cpp

SOURCES += src/qwt3d_surfaceplot.cpp \
  src/qwt3d_gridplot.cpp \
  src/qwt3d_meshplot.cpp


HEADERS += include/qwt3d_color.h \
  include/qwt3d_global.h \
  include/qwt3d_types.h \
  include/qwt3d_axis.h \
  include/qwt3d_coordsys.h \
  include/qwt3d_drawable.h \
  include/qwt3d_helper.h \
  include/qwt3d_label.h \
  include/qwt3d_openglhelper.h \
  include/qwt3d_colorlegend.h \
  include/qwt3d_plot.h \
  include/qwt3d_enrichment.h \
  include/qwt3d_enrichment_std.h \
  include/qwt3d_autoscaler.h \
  include/qwt3d_autoptr.h \
  include/qwt3d_io.h \
  include/qwt3d_io_reader.h \
  include/qwt3d_scale.h \
  include/qwt3d_portability.h

HEADERS += include/qwt3d_mapping.h \
  include/qwt3d_gridmapping.h \
  include/qwt3d_parametricsurface.h \
  include/qwt3d_function.h

HEADERS += include/qwt3d_surfaceplot.h \
  include/qwt3d_volumeplot.h \
  include/qwt3d_graphplot.h \
  include/qwt3d_multiplot.h

# gl2ps support
HEADERS+=3rdparty/gl2ps/gl2ps.h \
  include/qwt3d_io_gl2ps.h

SOURCES+=src/qwt3d_io_gl2ps.cpp \
  3rdparty/gl2ps/gl2ps.c

# zlib support for gl2ps
zlib {
  DEFINES += GL2PS_HAVE_ZLIB
  win32:LIBS += zlib.lib
  unix:LIBS += -lz
}
   
  INCLUDEPATH += C:/Qt/mingw/include/GL
  LIBS += -LC:/Qt/mingw/lib -lglu32
   
  QWT3D_INSTALL = C:/Qt/qwtplot3d-0.2.7
  QWT3D_INSTALL_LIBS = $${QWT3D_INSTALL}/lib
  QWT3D_INSTALL_HEADERS = $${QWT3D_INSTALL}/include
  QWT3D_INSTALL_DOCS = $${QWT3D_INSTALL}/doc
   
  # Install directives
   
  target.path = $${QWT3D_INSTALL_LIBS}
  headers.files = $${HEADERS}
  headers.path = $${QWT3D_INSTALL_HEADERS}
  docs.files = doc/web/doxygen/*.*
  docs.path = $${QWT3D_INSTALL_DOCS}
   
  INSTALLS = target headers docs