diff --git a/cmake/modules/NSIS.template.in b/cmake/modules/NSIS.template.in index 98d5a3df6..8bd8e7968 100644 --- a/cmake/modules/NSIS.template.in +++ b/cmake/modules/NSIS.template.in @@ -40,6 +40,7 @@ !define QT_DLL_PATH "${MING_BIN}" !define ACCESSIBLE_DLL_PATH "${MING_LIB}/qt5/plugins/accessible" !define SQLITE_DLL_PATH "${MING_LIB}/qt5/plugins/sqldrivers" +!define BEARER_DLL_PATH "${MING_LIB}/qt5/plugins/bearer" !define IMAGEFORMATS_DLL_PATH "${MING_LIB}/qt5/plugins/imageformats" !define PLATFORMS_DLL_PATH "${MING_LIB}/qt5/plugins/platforms" @@ -406,6 +407,10 @@ Section "${APPLICATION_NAME}" SEC_APPLICATION SetOutPath "$INSTDIR\sqldrivers" File "${SQLITE_DLL_PATH}\qsqlite.dll" + SetOutPath "$INSTDIR\bearer" + File "${BEARER_DLL_PATH}\qgenericbearer.dll" + File "${BEARER_DLL_PATH}\qnativewifibearer.dll" + SetOutPath "$INSTDIR" ;License & release notes. File "@CPACK_RESOURCE_FILE_LICENSE@"