1 diff --git a/configure.ac b/configure.ac
2 index 2c11703cb3ff..302a006bbf75 100644
5 @@ -13444,8 +13444,6 @@ then
9 - qt5_incdirs="`$QMAKE5 -query QT_INSTALL_HEADERS` $qt5_incdirs"
10 - qt5_libdirs="`$QMAKE5 -query QT_INSTALL_LIBS` $qt5_libdirs"
11 qt5_platformsdir="`$QMAKE5 -query QT_INSTALL_PLUGINS`/platforms"
12 QT5_PLATFORMS_SRCDIR="$qt5_platformsdir"
14 @@ -13585,8 +13583,6 @@ then
15 AC_MSG_NOTICE([Detected Qt6 version: $qmake6_test_ver])
18 - qt6_incdirs="`$QMAKE6 -query QT_INSTALL_HEADERS` $qt6_incdirs"
19 - qt6_libdirs="`$QMAKE6 -query QT_INSTALL_LIBS` $qt6_libdirs"
20 qt6_platformsdir="`$QMAKE6 -query QT_INSTALL_PLUGINS`/platforms"
21 QT6_PLATFORMS_SRCDIR="$qt6_platformsdir"