Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.4.3
-
None
-
Compiler- MinGW 11.2.0 64bit
OS- Windows10 v21H2
Qt 6.4.3 with Qt Creator 10.0.0
Description
I recently installed Qt6.4.3 and I was trying to use QNetworkInformation class. Code didn't worked when building with MinGW but it worked when building same code with MSVC2019. I found out that qnetworkinformation plugin is not available at <QTDIR>\6.4.3\mingw_64\plugins but it is available at <QTDIR>\6.4.3\msvc2019_64\plugins. I reinstalled Qt6.4.3 but it didn't helped. So, it seems qnetworkinformation plugin is missing for MinGW.
// code placeholder #include <QCoreApplication> #include<QNetworkInformation> #include<QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); qInfo()<<QNetworkInformation::availableBackends(); qInfo()<<QNetworkInformation::loadDefaultBackend(); return a.exec(); }
Output for MinGW build-