serialport.pro 437 Bytes
Newer Older
Bill Bonney's avatar
Bill Bonney committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
QT = core

QMAKE_DOCS = $$PWD/doc/qtserialport.qdocconf
include($$PWD/serialport-lib.pri)

greaterThan(QT_MAJOR_VERSION, 4) {
    load(qt_build_config)
    QT += core-private
    TARGET = QtSerialPort
    load(qt_module)
} else {
    TEMPLATE = lib
    TARGET = $$qtLibraryTarget(QtSerialPort$$QT_LIBINFIX)
    include($$PWD/qt4support/install-helper.pri)
    CONFIG += module create_prl
    mac:QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET
}