diff --git a/features/qtcommercialchart.prf b/features/qtcommercialchart.prf index 655f103..8759936 100644 --- a/features/qtcommercialchart.prf +++ b/features/qtcommercialchart.prf @@ -1,17 +1,9 @@ INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtCommercialChart - +LIBRARY_NAME = QtCommercialChart +ios:CONFIG(iphonesimulator, iphonesimulator|iphoneos):LIBRARY_NAME = $$join(LIBRARY_NAME,,,_iphonesimulator) CONFIG(debug, debug|release) { - - mac: { - LIBS += -lQtCommercialChart_debug - } else { - win32: { - LIBS += -lQtCommercialChartd - } else { - LIBS += -lQtCommercialChart - } - } - -} else { - LIBS +=-lQtCommercialChart + mac: LIBRARY_NAME = $$join(LIBRARY_NAME,,,_debug) + win32: LIBRARY_NAME = $$join(LIBRARY_NAME,,,d) } + +LIBS += -l$$LIBRARY_NAME