Support installing of mingw 64bit products

This commit is contained in:
Roland Winklmeier
2016-11-27 17:35:30 +01:00
committed by Klaus Basan
parent 0de2b9d4b5
commit 745e09ddb8
2 changed files with 12 additions and 2 deletions

View File

@@ -207,7 +207,12 @@ win32-msvc2015 {
}
win32-g++ {
VC_RUNTIME_LIBS *= libgcc_s_dw2-1
equals(WORD_SIZE,32) {
VC_RUNTIME_LIBS *= libgcc_s_dw2-1
}
equals(WORD_SIZE,64) {
VC_RUNTIME_LIBS *= libgcc_s_seh-1
}
VC_RUNTIME_LIBS *= libwinpthread-1
vc_runtime_target.path *= $${PREFIX}/bin

View File

@@ -169,7 +169,12 @@ win32 {
}
win32-g++ {
dep_target.files *= $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll
equals(WORD_SIZE,32) {
dep_target.files *= $$[QT_INSTALL_BINS]/libgcc_s_dw2-1.dll
}
equals(WORD_SIZE,64) {
dep_target.files *= $$[QT_INSTALL_BINS]/libgcc_s_seh-1.dll
}
dep_target.files *= $$[QT_INSTALL_BINS]/libwinpthread-1.dll
# libstdc++-6.dll needs a workaround since copy does not accept a filepath with '+' in it