Fix testing Qt version for OpenSSL.
--HG-- branch : develop
This commit is contained in:
parent
e72f23d92a
commit
2b7af8e999
17
common.pri
17
common.pri
|
@ -70,7 +70,8 @@ macx{
|
|||
# Our solution was to distribute the OpenSSL DLLs along with our application (~1.65 MB). The alternative is to compile
|
||||
# Qt from scratch without OpenSSL support.
|
||||
win32 {
|
||||
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 11):greaterThan(QT_PATCH_VERSION, 3) {
|
||||
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 10) {
|
||||
versionAtLeast(QT_VERSION, 5.12.4){
|
||||
# Minimal supported OpenSSL version since Qt 5.12.4 is 1.1.1.
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
INSTALL_OPENSSL += \
|
||||
|
@ -85,6 +86,20 @@ win32 {
|
|||
INSTALL_OPENSSL += \
|
||||
../../../dist/win/msvcr120.dll
|
||||
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
INSTALL_OPENSSL += \
|
||||
../../../dist/win/openssl/win64/libeay32.dll \
|
||||
../../../dist/win/openssl/win64/ssleay32.dll
|
||||
} else {
|
||||
INSTALL_OPENSSL += \
|
||||
../../../dist/win/openssl/win32/libeay32.dll \
|
||||
../../../dist/win/openssl/win32/ssleay32.dll
|
||||
}
|
||||
}
|
||||
} else {
|
||||
INSTALL_OPENSSL += \
|
||||
../../../dist/win/msvcr120.dll
|
||||
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
INSTALL_OPENSSL += \
|
||||
../../../dist/win/openssl/win64/libeay32.dll \
|
||||
|
|
|
@ -369,7 +369,8 @@ win32:*g++* {
|
|||
package.files += $$[QT_INSTALL_BINS]/Qt5WinExtras.dll
|
||||
}
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 11):greaterThan(QT_PATCH_VERSION, 3) {
|
||||
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 10) {
|
||||
versionAtLeast(QT_VERSION, 5.12.4){
|
||||
# Minimal supported OpenSSL version since Qt 5.12.4 is 1.1.1.
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
package.files += \
|
||||
|
@ -394,6 +395,20 @@ win32:*g++* {
|
|||
$$PWD/../../../dist/win/openssl/win32/ssleay32.dll
|
||||
}
|
||||
}
|
||||
} else {
|
||||
package.files += \
|
||||
$$PWD/../../../dist/win/msvcr120.dll \
|
||||
|
||||
contains(QMAKE_HOST.arch, x86_64) {
|
||||
package.files += \
|
||||
$$PWD/../../../dist/win/openssl/win64/libeay32.dll \
|
||||
$$PWD/../../../dist/win/openssl/win64/ssleay32.dll
|
||||
} else {
|
||||
package.files += \
|
||||
$$PWD/../../../dist/win/openssl/win32/libeay32.dll \
|
||||
$$PWD/../../../dist/win/openssl/win32/ssleay32.dll
|
||||
}
|
||||
}
|
||||
|
||||
package.CONFIG = no_check_exist
|
||||
INSTALLS += package
|
||||
|
|
Loading…
Reference in New Issue
Block a user