Details
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-