Unsolved Qt platform plug-in missing
-
I am trying to use new software but each time I try to open it up ,I get a message saying that no Qt platform plug-in could be initialized..
what is this ,where do I get it ?
Everything else on my PC works OK. I am using Windows 10.
The software was written by a person , software has to do with radio hobby related things. There are Qt commands in the software. -
Hello!
It could be this issue: https://forum.qt.io/topic/101157/no-qt-platform-plugin-could-be-initialized
Your application isQML
orWidgets
?You can try my solution for
Qt Widgets
application. Add the code below to your project.pro
file for your app, then clickClean
,Run qmake
,Build
:Widgets app:
QMAKE_POST_LINK = $$(QTDIR)/bin/windeployqt.exe $$shell_quote($$DESTDIR/$$shell_quote($$TARGET).exe) --no-compiler-runtime
QML app:
QMAKE_POST_LINK = $$(QTDIR)/bin/windeployqt.exe $$shell_quote($$DESTDIR/$$shell_quote($$TARGET).exe) --qmldir $$shell_quote($$(QTDIR)/qml) --no-compiler-runtime
Also, check out the documentation for
windeployqt
: https://doc.qt.io/qt-5/windows-deployment.html -
Hi, and welcome!
@aloknj said in Qt platform plug-in missing:
I am trying to use new software
Where did you get the software from?
but each time I try to open it up ,I get a message saying that no Qt platform plug-in could be initialized..
what is this ,where do I get it ?This message is telling you that a Qt DLL could not be loaded correctly. However, we don't have enough information to tell you why your software failed to load the DLL.
The software was written by a person , software has to do with radio hobby related things. There are Qt commands in the software.
Can you contact this person? They should know how to fix the problem.