diff options
-rw-r--r-- | src/qt4support/serialport.prf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/qt4support/serialport.prf b/src/qt4support/serialport.prf index c9cb2f2..5f9e030 100644 --- a/src/qt4support/serialport.prf +++ b/src/qt4support/serialport.prf @@ -15,5 +15,15 @@ qtAddLibrary(SerialPort) +mac { + LIBS -= -framework SerialPort$${QT_LIBINFIX} + + if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { + LIBS += -lSerialPort$${QT_LIBINFIX}_debug + } else { + LIBS += -lSerialPort$${QT_LIBINFIX} + } +} + INCLUDEPATH -= $$[QT_INSTALL_HEADERS]/SerialPort INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtAddOnSerialPort |