qt.qpa.plugin error suddenly occurs after I remove Qt backup folder.
-
wrote on 6 Dec 2018, 02:46 last edited by Aaron Kim 12 Jun 2018, 02:47
Recently I struggled with correctly installing Qt again.
In this post, I managed to solve it by copying all the dlls which were correctly installed from the folder which was installed with offline installer (I'll call it "backup folder")
So, there were two folders, one was installed with online installer, and the latter one was done with offline one.
It seems that these two folders have no connection at all. So, I deleted the backup folder and I suddenly got the following error.qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.It is quite disconcerting that the original one (online-installed) is affected by the backup one(offline-installed).
What can be the problem? -
It is possible that your knowledget something else was working. Can you check the directory <QtInstall>/plugins/platform ? Does this exist ? Does it have windows.dll ?
-
wrote on 6 Dec 2018, 03:00 last edited byThis post is deleted!
-
It is possible that your knowledget something else was working. Can you check the directory <QtInstall>/plugins/platform ? Does this exist ? Does it have windows.dll ?
wrote on 6 Dec 2018, 03:00 last edited by@dheerendra Do you mean qwindows.dll & qwindowsd.dll? Or just windows.dll?
If you mean the latter one, it does not exist. -
qwindows.dll & qwindowsd.dll in plugin directory ?
-
qwindows.dll & qwindowsd.dll in plugin directory ?
wrote on 6 Dec 2018, 04:56 last edited by@dheerendra In Qt/5.11.3/mingw53_32/plugins/platforms
-
Ok.You have qwindows.dll & qwindowsd.dll in Qt/5.11.3/mingw53_32/plugins/platforms. Did you copy these from different installation ?
-
Ok.You have qwindows.dll & qwindowsd.dll in Qt/5.11.3/mingw53_32/plugins/platforms. Did you copy these from different installation ?
wrote on 6 Dec 2018, 08:04 last edited by@dheerendra Maybe that would be the reason. I just installed the new one and it works. Thanks!
-
This is what I was suspecting. Since you copied from smoother place(which I knew), it caused the issue. Enjoy the Qt coding.
9/9