diff --git a/mkspecs/common/winrt_winphone/manifests/8.0/WMAppManifest.xml.in b/mkspecs/common/winrt_winphone/manifests/8.0/WMAppManifest.xml.in index 5efb9c7b06d..18d37cf7fce 100644 --- a/mkspecs/common/winrt_winphone/manifests/8.0/WMAppManifest.xml.in +++ b/mkspecs/common/winrt_winphone/manifests/8.0/WMAppManifest.xml.in @@ -1,6 +1,6 @@ - + $${WINRT_MANIFEST.languages} " + + WINRT_MANIFEST.languages = \ + $$join(MANIFEST_LANGUAGES, $$INDENT, \ + "$$escape_expand(\\r\\n) $$INDENT", \ + "$$escape_expand(\\r\\n) ") + } + # Capabilities are given as a string list and may change with the configuration (network, sensors, etc.) WINRT_MANIFEST.capabilities = $$unique(WINRT_MANIFEST.capabilities) WINRT_MANIFEST.capabilities_device = $$unique(WINRT_MANIFEST.capabilities_device) diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index 91629ec9ddc..8032b08d6f7 100644 --- a/qmake/doc/src/qmake-manual.qdoc +++ b/qmake/doc/src/qmake-manual.qdoc @@ -2411,6 +2411,9 @@ \li capabilities_device \li Specifies device capabilities to add to the capability list (location, webcam, and so on). This option is not available on Windows Phone. + \row + \li default_language + \li The default language code of the application. Defaults to "en". \row \li dependencies \li Specifies dependencies required by the package. @@ -2437,6 +2440,10 @@ \li identity \li The unique ID of the app. Defaults to reusing the existing generated manifest's UUID, or generates a new UUID if none is present. + \row + \li languages + \li A list of additional language codes supported by the application. This list + is empty by default. \row \li logo_large \li Large logo image file. Default provided by the mkspec.