[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 ?
-
I've updated all that was pending to update.
I've done a Clean All, Run qmake and Build All.
-
What version of Qt are you currently using ?
-
5.3.2
-
Another strange symptom.
When the debugging starts, appears this message twice on "Application Output":
can't find linker symbol for virtual table for
QSplashScreen' value found
QArrayData::data()' instead -
That looks like something has not been built properly
-
I've reinstalled QT and now runs.
Now, only appears the linker symbol error message when debugging, but runs.
-
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 !