From 5596944dd6ea67eb99a61c9a41c2e907584e5d6b Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Fri, 25 Oct 2013 22:44:08 +1000 Subject: [PATCH] Attempting to fix a git issue --- 3rdparty/qextserialport/extserialport.prf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 3rdparty/qextserialport/extserialport.prf diff --git a/3rdparty/qextserialport/extserialport.prf b/3rdparty/qextserialport/extserialport.prf new file mode 100644 index 00000000..610518d3 --- /dev/null +++ b/3rdparty/qextserialport/extserialport.prf @@ -0,0 +1,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 += -framework qextserialport +INCLUDEPATH += /Library/Frameworks/qextserialport.framework/Headers + +DEFINES += QEXTSERIALPORT_USING_SHARED