исходный файл common.pro |
файл common.pro с исправлениями |
TEMPLATE = app | TEMPLATE = app |
CONFIG += qt warn_on thread debug | CONFIG += qt warn_on thread |
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 |
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 |
CONFIG += debug | |
CONFIG += declarative_debug | |
win32{ | win32{ |
DEBUG_SFX = | |
CONFIG(debug,debug|release) { | |
DEBUG_SFX = d | |
} | |
LIBS += ../../lib/qwtplot3d.lib | LIBS += -L../../lib -lqwtplot$${DEBUG_SFX}3d |
TEMPLATE = vcapp | # TEMPLATE = vcapp |
DEFINES += QT_DLL QWT3D_DLL RC_FILE = ../icon.rc |
DEFINES += QT_DLL QWT3D_DLL RC_FILE = ../icon.rc |
contains (CONFIG, debug) { | # contains (CONFIG, debug) { |
QMAKE_LFLAGS += /NODEFAULTLIB:msvcrt | # QMAKE_LFLAGS += /NODEFAULTLIB:msvcrt |
} | # } |
} MYVERSION = $$[QMAKE_VERSION] ISQT4 = $$find(MYVERSION, ^[2-9]) !isEmpty( ISQT4 ) { RESOURCES = ../images.qrc QT += opengl } isEmpty( ISQT4 ) { CONFIG += opengl } |
} MYVERSION = $$[QMAKE_VERSION] ISQT4 = $$find(MYVERSION, ^[2-9]) !isEmpty( ISQT4 ) { RESOURCES = ../images.qrc QT += opengl } isEmpty( ISQT4 ) { CONFIG += opengl } |
INCLUDEPATH += C:/Qt/mingw/include/GL | |
LIBS += -LC:/Qt/mingw/lib -lglu32 |