summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qmake/qtconfiguration.pro
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/qmake/qtconfiguration.pro')
-rw-r--r--doc/src/snippets/qmake/qtconfiguration.pro19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/snippets/qmake/qtconfiguration.pro b/doc/src/snippets/qmake/qtconfiguration.pro
new file mode 100644
index 0000000..0c854d9
--- /dev/null
+++ b/doc/src/snippets/qmake/qtconfiguration.pro
@@ -0,0 +1,19 @@
+# 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])
+message(Demonstrations: $$[QT_INSTALL_DEMOS])
+#! [0]
+
+# Show configuration information.
+message(CONFIG = $$CONFIG)