From ce7e3633d5621d1ccb0b4d6a5e7b9467898e415e 2012-04-16 10:14:09 From: Jani Honkonen Date: 2012-04-16 10:14:09 Subject: [PATCH] Fix copy errors when running install in windows --- diff --git a/src/src.pro b/src/src.pro index a3826fc..11ce4db 100644 --- a/src/src.pro +++ b/src/src.pro @@ -138,15 +138,24 @@ install_build_private_headers.CONFIG += target_predeps \ QMAKE_EXTRA_COMPILERS += install_build_public_headers \ install_build_private_headers \ - win32:{ - bintarget.CONFIG +=no_check_exist - bintarget.files = $$CHART_BUILD_LIB_DIR\\*.dll $$CHART_BUILD_LIB_DIR\\*.pdb + bintarget.CONFIG += no_check_exist + bintarget.files = $$CHART_BUILD_LIB_DIR\\*.dll + win32-msvc*:CONFIG(debug, debug|release): { + bintarget.files += $$CHART_BUILD_LIB_DIR\\*.pdb + } bintarget.path = $$[QT_INSTALL_BINS] - libtarget.CONFIG +=no_check_exist - libtarget.files = $$CHART_BUILD_LIB_DIR\\*.a $$CHART_BUILD_LIB_DIR\\*.prl $$CHART_BUILD_LIB_DIR\\*.lib + + libtarget.CONFIG += no_check_exist + libtarget.files = $$CHART_BUILD_LIB_DIR\\*.prl + win32-msvc*: { + libtarget.files += $$CHART_BUILD_LIB_DIR\\*.lib + } else { + libtarget.files += $$CHART_BUILD_LIB_DIR\\*.a + } libtarget.path = $$[QT_INSTALL_LIBS] + DLLDESTDIR = $$CHART_BUILD_BIN_DIR INSTALLS += bintarget libtarget }else{