Add more descriptions for configure for Windows
authorAndreas Holzammer <andreas.holzammer@kdab.com>
Thu, 10 May 2012 12:37:57 +0000 (14:37 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 10 May 2012 23:42:02 +0000 (01:42 +0200)
Add some more of the prefix options that are
already implemented to the usage information.

Change-Id: I89ee37ebc6deee8b6a5fd5a1c16d26ae3ead1f30
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
tools/configure/configureapp.cpp

index d3084e1..ae8e4b7 100644 (file)
@@ -1469,6 +1469,29 @@ bool Configure::displayHelp()
 
         desc("Installation options:\n\n");
 
+        desc("These are optional, but you may specify install directories.\n\n", 0, 1);
+
+        desc(       "-prefix <dir>",                    "This will install everything relative to <dir> (default $QT_INSTALL_PREFIX)\n\n");
+
+        desc(       "-hostprefix [dir]",                "Tools and libraries needed when developing applications are installed in [dir]. "
+                                                        "If [dir] is not given, the current build directory will be used. (default PREFIX)\n");
+
+        desc("You may use these to separate different parts of the install:\n\n");
+
+        desc(       "-bindir <dir>",                    "Executables will be installed to <dir> (default PREFIX/bin)");
+        desc(       "-libdir <dir>",                    "Libraries will be installed to <dir> (default PREFIX/lib)");
+        desc(       "-docdir <dir>",                    "Documentation will be installed to <dir> (default PREFIX/doc)");
+        desc(       "-headerdir <dir>",                 "Headers will be installed to <dir> (default PREFIX/include)");
+        desc(       "-plugindir <dir>",                 "Plugins will be installed to <dir> (default PREFIX/plugins)");
+        desc(       "-importdir <dir>",                 "Imports for QML will be installed to <dir> (default PREFIX/imports)");
+        desc(       "-datadir <dir>",                   "Data used by Qt programs will be installed to <dir> (default PREFIX)");
+        desc(       "-translationdir <dir>",            "Translations of Qt programs will be installed to <dir> (default PREFIX/translations)");
+        desc(       "-examplesdir <dir>",               "Examples will be installed to <dir> (default PREFIX/examples)");
+        desc(       "-testsdir <dir>",                  "Tests will be installed to <dir> (default PREFIX/tests)");
+
+        desc(       "-hostbindir <dir>",                "Host executables will be installed to <dir> (default HOSTPREFIX/bin)");
+        desc(       "-hostdatadir <dir>",               "Data used by qmake will be installed to <dir> (default HOSTPREFIX)");
+
 #if !defined(EVAL)
         desc("Configure options:\n\n");
 
@@ -1540,6 +1563,7 @@ bool Configure::displayHelp()
         desc(                   "-platform <spec>",     "The operating system and compiler you are building on.\n(default %QMAKESPEC%)\n");
         desc(                   "-xplatform <spec>",    "The operating system and compiler you are cross compiling to.\n");
         desc(                   "",                     "See the README file for a list of supported operating systems and compilers.\n", false, ' ');
+        desc(                   "-sysroot <dir>",       "Sets <dir> as the target compiler's and qmake's sysroot.");
 
 #if !defined(EVAL)
         desc(                   "-qtnamespace <namespace>", "Wraps all Qt library code in 'namespace name {...}");