исходный файл examples.pri |
файл examples.pri с исправлениями |
################################################################ # Qwt Widget Library # Copyright (C) 1997 Josef Wilgen # Copyright (C) 2002 Uwe Rathmann # # This library is free software; you can redistribute it and/or # modify it under the terms of the Qwt License, Version 1.0 ################################################################### |
################################################################ # Qwt Widget Library # Copyright (C) 1997 Josef Wilgen # Copyright (C) 2002 Uwe Rathmann # # This library is free software; you can redistribute it and/or # modify it under the terms of the Qwt License, Version 1.0 ################################################################### |
QWT_ROOT = $${PWD}/.. | QWT_ROOT = .. |
include( $${QWT_ROOT}/qwtconfig.pri ) include( $${QWT_ROOT}/qwtbuild.pri ) TEMPLATE = app |
include( $${QWT_ROOT}/qwtconfig.pri ) include( $${QWT_ROOT}/qwtbuild.pri ) TEMPLATE = app |
INCLUDEPATH += $${QWT_ROOT}/src | INCLUDEPATH += /usr/include/qwt |
DEPENDPATH += $${QWT_ROOT}/src | DEPENDPATH += /usr/include/qwt |
DESTDIR = $${QWT_ROOT}/examples/bin | DESTDIR = $${QWT_ROOT}/bin |
QMAKE_RPATHDIR *= $${QWT_ROOT}/lib | QMAKE_RPATHDIR *= /usr/lib |
LIBS += -L/usr/lib -lqwt | |
contains(QWT_CONFIG, QwtFramework) { LIBS += -F$${QWT_ROOT}/lib } else { LIBS += -L$${QWT_ROOT}/lib } IPATH = $${INCLUDEPATH} qtAddLibrary(qwt) INCLUDEPATH = $${IPATH} contains(QWT_CONFIG, QwtSvg) { QT += svg } else { DEFINES += QWT_NO_SVG } win32 { contains(QWT_CONFIG, QwtDll) { DEFINES += QT_DLL QWT_DLL } } |
contains(QWT_CONFIG, QwtFramework) { LIBS += -F$${QWT_ROOT}/lib } else { LIBS += -L$${QWT_ROOT}/lib } IPATH = $${INCLUDEPATH} qtAddLibrary(qwt) INCLUDEPATH = $${IPATH} contains(QWT_CONFIG, QwtSvg) { QT += svg } else { DEFINES += QWT_NO_SVG } win32 { contains(QWT_CONFIG, QwtDll) { DEFINES += QT_DLL QWT_DLL } } |