summaryrefslogtreecommitdiffstats
path: root/qmake/doc/snippets/qmake/qtconfiguration.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/doc/snippets/qmake/qtconfiguration.pro')
-rw-r--r--qmake/doc/snippets/qmake/qtconfiguration.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/qmake/doc/snippets/qmake/qtconfiguration.pro b/qmake/doc/snippets/qmake/qtconfiguration.pro
new file mode 100644
index 0000000000..55e13be352
--- /dev/null
+++ b/qmake/doc/snippets/qmake/qtconfiguration.pro
@@ -0,0 +1,18 @@
+# Show information about the Qt installation.
+#! [0]
+message(Qt version: $$[QT_VERSION])
+message(Qt is installed in $$[QT_INSTALL_PREFIX])
+message(Qt resources can be found in the following locations:)
+message(Documentation: $$[QT_INSTALL_DOCS])
+message(Header files: $$[QT_INSTALL_HEADERS])
+message(Libraries: $$[QT_INSTALL_LIBS])
+message(Binary files (executables): $$[QT_INSTALL_BINS])
+message(Plugins: $$[QT_INSTALL_PLUGINS])
+message(Data files: $$[QT_INSTALL_DATA])
+message(Translation files: $$[QT_INSTALL_TRANSLATIONS])
+message(Settings: $$[QT_INSTALL_SETTINGS])
+message(Examples: $$[QT_INSTALL_EXAMPLES])
+#! [0]
+
+# Show configuration information.
+message(CONFIG = $$CONFIG)