diff --git a/src/qtdiag/qtdiag.cpp b/src/qtdiag/qtdiag.cpp
index f72b1847c9c3ef0b86359d01e61f79e267ccda3b..e41793bc286991708cc66db0b42ede6d6762b919 100644
--- a/src/qtdiag/qtdiag.cpp
+++ b/src/qtdiag/qtdiag.cpp
@@ -64,6 +64,7 @@
 #include <QtCore/QTextStream>
 #include <QtCore/QStandardPaths>
 #include <QtCore/QDir>
+#include <QtCore/QFileSelector>
 
 #include <private/qsimd_p.h>
 #include <private/qguiapplication_p.h>
@@ -268,7 +269,11 @@ QString qtDiag(unsigned flags)
     DUMP_STANDARDPATH(str, GenericCacheLocation)
     DUMP_STANDARDPATH(str, GenericConfigLocation)
 
-    str << "\nNetwork:\n  ";
+    str << "\nFile selectors (increasing order of precedence):\n ";
+    foreach (const QString &s, QFileSelector().allSelectors())
+        str << ' ' << s;
+
+    str << "\n\nNetwork:\n  ";
 #ifdef NETWORK_DIAG
 #  ifndef QT_NO_SSL
     if (QSslSocket::supportsSsl()) {