Commit c556903f authored by Mitch Curtis's avatar Mitch Curtis
Browse files

macdeployqt: document how to affect the volume name


Change-Id: Ie617fe25a33928719f290844c1533b16bf2431f0
Reviewed-by: default avatarPaul Wicking <paul.wicking@qt.io>
Showing with 32 additions and 0 deletions
...@@ -1226,5 +1226,37 @@ ...@@ -1226,5 +1226,37 @@
default, \c macdeployqt uses the older HFS+ file system for compatibility 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 with all versions of macOS currently supported by Qt. Use the \c{-fs} option
to specify a different file system. 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
*/ */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment