Ticket #48562: patch-qwtconfig.pri.61.diff

File patch-qwtconfig.pri.61.diff, 2.3 KB (added by ghweber@…, 9 years ago)
  • qwtconfig.pri

    old new  
    1616# Install paths
    1717######################################################################
    1818
    19 QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
     19QWT_INSTALL_PREFIX = $$INSTALLBASE
    2020
    21 unix {
    22     QWT_INSTALL_PREFIX    = /usr/local/qwt-$$QWT_VERSION
    23     # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION
    24 }
    25 
    26 win32 {
    27     QWT_INSTALL_PREFIX    = C:/Qwt-$$QWT_VERSION
    28     # QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION-qt-$$QT_VERSION
    29 }
    30 
    31 QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/doc
    32 QWT_INSTALL_HEADERS   = $${QWT_INSTALL_PREFIX}/include
     21QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/share/qwt/doc
     22QWT_INSTALL_HEADERS   = $${QWT_INSTALL_PREFIX}/include/qwt
    3323QWT_INSTALL_LIBS      = $${QWT_INSTALL_PREFIX}/lib
    3424
    3525######################################################################
     
    4232# runtime environment of designer/creator.
    4333######################################################################
    4434
    45 QWT_INSTALL_PLUGINS   = $${QWT_INSTALL_PREFIX}/plugins/designer
     35QWT_INSTALL_PLUGINS   = $$[QT_INSTALL_PLUGINS]/designer
    4636
    4737# linux distributors often organize the Qt installation
    4838# their way and QT_INSTALL_PREFIX doesn't offer a good
     
    6353# with every Qt upgrade.
    6454######################################################################
    6555
    66 QWT_INSTALL_FEATURES  = $${QWT_INSTALL_PREFIX}/features
    67 # QWT_INSTALL_FEATURES  = $$[QT_INSTALL_PREFIX]/features
     56QWT_INSTALL_FEATURES  = $$[QT_INSTALL_DATA]/mkspecs/features
    6857
    6958######################################################################
    7059# Build the static/shared libraries.
     
    11099# to your qmake project file.
    111100######################################################################
    112101
    113 #QWT_CONFIG     += QwtMathML
     102QWT_CONFIG     += QwtMathML
    114103
    115104######################################################################
    116105# If you want to build the Qwt designer plugin,
     
    162151macx:!static:CONFIG(qt_framework, qt_framework|qt_no_framework) {
    163152
    164153    QWT_CONFIG += QwtFramework
    165 
     154    QWT_INSTALL_LIBS = $$[QT_INSTALL_FRAMEWORKS]
     155
     156} else {
     157
     158    QWT_INSTALL_LIBS = $$[QT_INSTALL_LIBS]
     159
     160}
    166161
    167162######################################################################
    168163# Create and install pc files for pkg-config