if (USE_MSYSTEM AND Qt${qtver}Widgets_VERSION VERSION_EQUAL 6.5.0)
# windeployqt released with Qt 6.5.0 is broken.
# https://bugreports.qt.io/browse/QTBUG-112204
- message(WARNING "Qt Deploy Tool 6.5.0 is broken, skipping translations.")
- list(APPEND QT_WINDEPLOYQT_EXTRA_ARGS --no-translations)
- set(SKIP_QT_TRANSLATIONS True)
+ message(WARNING "Qt Deploy Tool 6.5.0 is broken, please upgrade to a later version.")
+ # lconvert will fail
endif()
add_custom_command(TARGET copy_qt_dlls
POST_BUILD
$<$<CONFIG:Debug>:/DBUNDLE_DEBUG_DLLS>
$<$<BOOL:${MSVC}>:/DUSE_VCREDIST>
$<$<BOOL:${BUILD_etwdump}>:/DHAVE_ETWDUMP>
- $<$<BOOL:${SKIP_QT_TRANSLATIONS}>:/DSKIP_QT_TRANSLATIONS>
wireshark.nsi
WORKING_DIRECTORY ${_nsis_source_dir}
)
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Paths\${PROGRAM_NAME_PATH}" "Path" '$INSTDIR'
!include wireshark-qt-manifest.nsh
-!ifndef SKIP_QT_TRANSLATIONS
- ${!defineifexist} TRANSLATIONS_FOLDER "${QT_DIR}\translations"
- SetOutPath $INSTDIR
- !ifdef TRANSLATIONS_FOLDER
- ; Starting from Qt 5.5, *.qm files are put in a translations subfolder
- File /r "${QT_DIR}\translations"
- !else
- File "${QT_DIR}\*.qm"
- !endif
+${!defineifexist} TRANSLATIONS_FOLDER "${QT_DIR}\translations"
+SetOutPath $INSTDIR
+!ifdef TRANSLATIONS_FOLDER
+ ; Starting from Qt 5.5, *.qm files are put in a translations subfolder
+ File /r "${QT_DIR}\translations"
+!else
+ File "${QT_DIR}\*.qm"
!endif
; Is the Start Menu check box checked?