diff options
| author | Katja Marttila <katja.marttila@qt.io> | 2025-12-04 13:39:15 +0200 |
|---|---|---|
| committer | Katja Marttila <katja.marttila@qt.io> | 2025-12-09 06:12:50 +0200 |
| commit | 014dcd1168bbc5e20f8bd68b8331bcd8ad1248d0 (patch) | |
| tree | 0a9f4d1edc8ba13999ba8698feae202bf7816615 | |
| parent | 086045736323f3467f4071b81cc4cb93b23fadf4 (diff) | |
Set linker flag to tell Windows to load the system dll:s from System32
-folder. The flag prevents the possible malicious dll loading from the
directory from which installer is launched.
Task-number: QTIFW-2445
Change-Id: Ibced98f1535acbc7d6ab505d575cdfaa5337ac16
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
| -rw-r--r-- | installerfw.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installerfw.pri b/installerfw.pri index 91f084765..106359bc9 100644 --- a/installerfw.pri +++ b/installerfw.pri @@ -99,6 +99,7 @@ win32 { warning("Resource compiler '$$RCC' not found.") } win32-g++*:QMAKE_CXXFLAGS += -Wno-attributes +win32:msvc: QMAKE_LFLAGS += /DEPENDENTLOADFLAG:0x800 macx:QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden INCLUDEPATH += \ |
