[SOLVED] This application failed to start because it could not find or load the Qt platform plugin "windows".
-
After updating with the QT Maintenance Tool, the error This application failed to start because it could not find or load the Qt platform plugin "windows". appears when start debugging or run from Creator.
The tool update from Creator 3.2.0 to Creator 3.2.2.
What is happening and how can correct it?
-
Hi,
Did you only update Qt Creator ? Did you do a clean rebuild of your project ?
-
What version of Qt are you currently using ?
-
That looks like something has not been built properly
-
My application uses the Firebird database. After installation I must to reinstall the DB driver.
After the installation, the linker symbol error dissapears.
It's very strange, because the application uses the default QSplashScreen without any connection to DB.
@int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPixmap pixmap(":/images/splash");
QSplashScreen splash(pixmap);
splash.show();
splash.showMessage("Loading...", Qt::AlignBottom, Qt::white);
app.processEvents();MainWindow w; w.show(); splash.finish(&w); try { return app.exec(); } catch (std::exception &e) { QMessageBox::critical(0, QLatin1String(QT_TRANSLATE_NOOP("TitleError", "Error")), QLatin1String(e.what())); return 0; }
}
@I don't know what's happen and why, but, all is running again!
-
Gremlins ! Sometimes they're nasty…
Happy coding !