/usr/share/qt4/mkspecs/features/extserialport.prf is in libqextserialport-dev 1.2.0~rc1+git7-g3be3fbf-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | defineReplace(qextLibraryName) {
unset(LIBRARY_NAME)
LIBRARY_NAME = $$1
greaterThan(QT_MAJOR_VERSION, 4):LIBRARY_NAME ~= s,^Qt,Qt$$QT_MAJOR_VERSION,
CONFIG(debug, debug|release) {
!debug_and_release|build_pass {
mac:LIBRARY_NAME = $${LIBRARY_NAME}_debug
else:win32:LIBRARY_NAME = $${LIBRARY_NAME}d
}
}
return($$LIBRARY_NAME)
}
LIBS += -l$$qextLibraryName(qextserialport)
INCLUDEPATH += /usr/include/qt4/QtExtSerialPort
DEFINES += QEXTSERIALPORT_USING_SHARED
|