diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in index 41dbf2c2a2..4b5ac73bce 100644 --- a/src/corelib/Qt5CoreConfigExtras.cmake.in +++ b/src/corelib/Qt5CoreConfigExtras.cmake.in @@ -16,3 +16,7 @@ set(Qt5Core_EXECUTABLE_COMPILE_FLAGS "-fPIE") list(APPEND Qt5Core_DEFINITIONS -DQT_NAMESPACE=$$QT_NAMESPACE) list(APPEND Qt5Core_COMPILE_DEFINITIONS QT_NAMESPACE=$$QT_NAMESPACE) !!ENDIF + +!!IF !isEmpty(QT_LIBINFIX) +set(QT_LIBINFIX \"$${QT_LIBINFIX}\") +!!ENDIF