summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2019-01-08 10:46:18 +0100
committerMitch Curtis <mitch.curtis@qt.io>2019-01-08 13:26:20 +0000
commitc556903f7571e9f533dc016a97f2189767058c70 (patch)
treea05970707dfe04b484f6e08bc40d289b4aed28a8
parentbfe541139193dafed078c31469e5640ca4c74216 (diff)
macdeployqt: document how to affect the volume name
Change-Id: Ie617fe25a33928719f290844c1533b16bf2431f0 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--doc/src/platforms/macos.qdoc32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/src/platforms/macos.qdoc b/doc/src/platforms/macos.qdoc
index 6d071942b..db4039d55 100644
--- a/doc/src/platforms/macos.qdoc
+++ b/doc/src/platforms/macos.qdoc
@@ -1226,5 +1226,37 @@
default, \c macdeployqt uses the older HFS+ file system for compatibility
with all versions of macOS currently supported by Qt. Use the \c{-fs} option
to specify a different file system.
+
+ \section1 Volume Name
+
+ The volume name of a disk image (the text displayed in the window title of
+ an opened \c .dmg file) created with \c -dmg is based on the path to the
+ application when \c macdeployqt is run. For example, consider the following
+ command that creates a disk image for a Qt Quick application:
+
+ \badcode
+ macdeployqt /Users/foo/myapp-build/MyApp.app -qmldir=/Users/foo/myapp/qml -dmg
+ \endcode
+
+ The resulting volume name will be:
+
+ \badcode
+ /Users/foo/myapp-build/MyApp.app
+ \endcode
+
+ To ensure that the volume name only contains the application name and not
+ the path on the deployment machine, run \c macdeployqt in the same
+ directory:
+
+ \badcode
+ cd /Users/foo/myapp-build
+ macdeployqt MyApp.app -qmldir=/Users/foo/myapp/qml -dmg
+ \endcode
+
+ The resulting volume name will then be:
+
+ \badcode
+ MyApp.app
+ \endcode
*/