summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2022-12-19 12:23:17 +0100
committerPaul Lemire <paul.lemire@kdab.com>2023-02-10 12:37:17 +0100
commitc889af388062bbee6e52e68a22ac8632fb12ff02 (patch)
tree0b4823adb8ca383e0a55fcbeb6e262363c42e0e8 /examples
parent390f724912eb73461295e68535e053eb27e28af9 (diff)
Remove Qt6 QT_VERSION checks from the code base
Those are left overs from the Qt 5.15 to Qt 6 port. Now that both code based have diverged, there's no much point in keeping those checks. Pick-to: 6.5 Change-Id: I4e83876b6b4cb18b181af32e376f4411054a1183 Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qt3d/3d-text/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/qt3d/3d-text/main.cpp b/examples/qt3d/3d-text/main.cpp
index 4967958aa..9aa44ba60 100644
--- a/examples/qt3d/3d-text/main.cpp
+++ b/examples/qt3d/3d-text/main.cpp
@@ -34,11 +34,7 @@ int main(int argc, char *argv[])
auto *textMaterial = new Qt3DExtras::QPhongMaterial(root);
{ // text
int i = 0;
-#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
const QStringList fonts = QFontDatabase::families();
-#else
- const QStringList fonts = QFontDatabase().families();
-#endif
for (const QString &family : fonts)
{