This application failed to start because it could not find or load the Qt platform plugin «windows»
Ошибка not find or load the Qt platform plugin «minimal» в Ubuntu IDE (qtcreator)
Здравствуйте. В основных сообщениях при компиляции это: Не удалось загрузить типы из модуля.
Ошибка This application failed to start because no Qt platform plugin could be initialized
Здравствуйте. При запуске QT приложения возникает такая ошибка: This application failed to start.
Could not find the Qt platform plugin «windows» in «»
у меня ошибка : Could not find the Qt platform plugin «windows» in «» This application failed to.
«Failed to start application (Code:4)». Я не могу войти в аську
У меня ISQ 6.5. При входе выдает ошибку. Пишет «Failed to start application (Code:4)». Я могу войти.
А можно поконкретней? В общем, все как обычно
Добавлено через 1 час 11 минут
Сообщение об ошибке выглядит вот так
Если создать переменную QT_QPA_PLATFORM_PLUGIN_PATH и задать путь к папке, где лежит plugins или platforms или qwindows, то пустые кавычки покажут этот путь.
Добавлено через 6 минут
Такой вариант тоже ничего не дает
Насколько я знаю, достаточно положить нужные dll’ки (минимум qwindows.dll) в папку platforms рядом с exe-файлом. И у меня это всегда работает.
PS
А статический вариант вроде платный, как бы. Был, во всяком случае.
Тематические курсы и обучение профессиям онлайн Профессия Разработчик на C++ (Skillbox) Архитектор ПО (Skillbox) Профессия Тестировщик (Skillbox) |
Заказываю контрольные, курсовые, дипломные и любые другие студенческие работы здесь или здесь.
Ошибка при запуске GTA4 «secuLauncher: failed to start application»
Windows 7. GTA 4. Ребят,подскажите пожалуйста игруля установилась,кликаю на ярлык выдаёт ошибку.
Ошибка при установке Windows на ноутбук HP Pavilion Sleekbook 15: «Windows failed to start»
При установки WIN-10 с USB-флеш загрузчик потребовал отформатировать диск, а после этого сообщил.
Не запускается система на нетбуке «windows failed to start»
windows failed to start.A recent hardware or software change might be the cause.To fix problem: .
Что является причиной появления сообщения «Windows failed to start»?
Играл в игру на ноутбуке , после чего он завис. После рестарта вылазит при загрузке это. Носителя.
(Qt 5.7.0) Could not find or load the qt platform plugin “windows”
Bear in mind that all of this is with Qt Creator (5.6.1 and 5.7):
I have a project made in my work machine (Win7, 64bits, compiled with MinGW 5.3.0 32bits in Qt 5.6.1). It works perfectly both in debug and release mode.
Soon after, I decided to test my program in another machine (WinXp, 32bits). I just passed the executable and the .dll. Still working like a charm.
Later, i tested the SAME version of my program in my gaming machine (Win10, 64bits). Weirdly, it didn’t work at all. I received the following error:
«could not find or load the qt platform plugin «windows»».
I remembered that if there is a .dll missing, this error occurs. So I passed all the .dll from Qt folder to my program folder (with the intension of deleting the unwanted latter). Much to my surprise, it still didn’t work. But the error was diferent:
«could not find or load the qt platform plugin «windows». Available platform plugins are: minimal, offscreen, windows, minimal, offscreen, windows.»
It very clearly found the platform plugin windows (either qwindows or qwindowsd. or both in that matter), but it could not load it. Any ideias why?
EDIT: All .dll in C:\Qt\5.7\mingw53_32\bin was copied and pasted to the folder with the executable.
All folders in C:\Qt\5.7\mingw53_32\plugins were copied and pasted to the folder with the executable.
Find or load the qt platform plugin windows
Up to recent, my windows 10 64bit laptop worked fine. However, suddently I get this error after loading certain .exe programs:
This application failed to start because it could not find or load the Qt platform plugin «windows»in «», Available platform plugins are: minimal, offscreen, windows.
Reinstalling the application may fix this problem.
I’m not a coder, I never used the Qt environment ever and other forum entries didn’t help so far, since as far as I went down the rabbit hole, this is all about building code in Qt.
All I like to do is run my programs again. This error occured with multiple programs: MikTex & Texworks and converter tools. So far this error is really denying my work and I have no clue.
Thanks in advance.
Kind regards,
J. Muller
All I like to do is run my programs again. This error occured with multiple programs: MikTex & Texworks and converter tools. So far this error is really denying my work and I have no clue.
Hi @jrmmuller, the most likely cause here is that your system PATH contains a folder that contains Qt DLLs. Have you installed any new software recently or modified your PATH (shortly before this issue began)?
If I’m right, then the short version of the solution is this: You must remove the offending folder from your PATH.
(NOTE: I said «most likely». There are many possible reasons for this error).
If you do not know how to check and edit your PATH, then we can guide you through the process. However, be prepared: This will involve multiple steps — I give you some instructions, then you carry them out and report back the details, then I give you further instructions based on what you found, then you carry them out and report back the details. iterating as many times as needed until the issue is resolved.
Hi and welcome to devnet forum
You are right and it is a Qt related issue.
However, the problem is with an application using Qt and therefore, they are probably the only devs being able to you.
The problem I see is that they have used a particular version of Qt and part of your installation may have been corrupted by whatever reason.
The Programs you are listing are probably all from the same open source project and tex related.
I have MikTex and stuff installed as well, but even though I am a developer and know parts of Qt application development, I would go the route and check the MikTex forum and eventually reinstall MikTex again.
Thanks for your response. Actually it is partly for MikTex, the conversiontools are for converting photo files.
I tried installing and reinstalling Miktex and trying Texlive, but that didn’t help unfortunately.
All I like to do is run my programs again. This error occured with multiple programs: MikTex & Texworks and converter tools. So far this error is really denying my work and I have no clue.
Hi @jrmmuller, the most likely cause here is that your system PATH contains a folder that contains Qt DLLs. Have you installed any new software recently or modified your PATH (shortly before this issue began)?
If I’m right, then the short version of the solution is this: You must remove the offending folder from your PATH.
(NOTE: I said «most likely». There are many possible reasons for this error).
If you do not know how to check and edit your PATH, then we can guide you through the process. However, be prepared: This will involve multiple steps — I give you some instructions, then you carry them out and report back the details, then I give you further instructions based on what you found, then you carry them out and report back the details. iterating as many times as needed until the issue is resolved.
OK, that sounds as that might be the case. Unfortunately I don’t know how to edit the path or which could be the cause that modified the PATH. I’m not sure which applications I’ve installed since the error began.
If you could help me with the steps, that would be great!
If you could help me with the steps
Open cmd and type echo %QT_PLUGIN_PATH% if it’s not empty then delete it (just google: delete environmental variable windows #, where # is your windows version)
Open cmd and type echo %PATH% and press enter. You’ll see a list separated by ; of folder paths. Go line by line and make sure they do not point to a folder that contains a platforms folder that has qwindows.dll in it. If you find such a path edit the PATH variable and remove it (just google: edit environmental variable windows #, where # is your windows version)
What version of MiKTeX are you using?
If you could help me with the steps, that would be great!
- Download ListDLLs from https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls
- Extract the contents of the zip file into C:\ListDLLs
- Try to launch MiKTeX. When the error dialog appears («Could not find or load. «), leave it open; don’t close the dialog.
- Press Windows+R (this launches the «Run» window)
- Type «cmd» into the «Run» window and press Enter (this launches the Command Line, cmd, that @VRonin mentioned)
- In cmd, type cd C:\ListDLLs and press Enter
- In cmd, type ListDLLs.exe miktex and press Enter. You should see a long list of DLLs.
- In cmd, type ListDLLs.exe miktex > output.txt and press Enter. You should see a new text file.
- Open C:\ListDLLs\output.txt and copy+paste its contents here in this forum.
- You can close the error dialog now.
- In cmd, type echo %QT_PLUGIN_PATH% and press Enter. What gets shown after that? Write it here in this forum. (this is related to @VRonin’s suggestion)
I followed your steps and looked up the environmental variable. It turns out that the %Qt_Plugin_path% was indeed set by a certain program (numerical model) which I had installed. I deleted the variable and rebooted the system. As a result all the programs were functioning again without errors.
Considered this solved. Thanks a lot!
@JKSH
Hi JKSH, I appreciate your help. Thanks to your help and VRonin, my issue has been resolved.
@JKSH Your steps seem useful. However, I am working on pyzo. So I replaced all the words with ‘miktex’ with ‘pyzo’ (I’m amateur at coding as well). The cmd window spat out a long list of DLLs and the txt file was created after step 8.
However, I am not sure what you mean by copy and paste the contents ‘here’ in step nine.
I copied the text file info to the cmd window, but the programme says «. is not recognized as an internal or external command, operable program or batch file».
Not sure how to continue from here. Thanks
However, I am not sure what you mean by copy and paste the contents ‘here’ in step nine.
I’ve updated the post to clarify: Copy + paste its contents in this forum
I notice this thread — which I found searching the error msg in Google — just kind of died without coming to a resolution others could follow.
JKSH — I’m having the same issue with several programs. I’m not sure what I installed that did the damage, but I suspect it might be drivers for a pen display. I followed the steps you listed, but instead of for Krita, an open source paint program I use for testing. The following big list is what was in the output. I see several instances of QT in there, but I’m not sure what to do from there.
It may also be of interest that when I tried the «echo %QT_PLUGIN_PATH%» step, it just echoed «%QT_PLUGIN_PATH%» on it’s own line. Also, when I tried the process with another program name with the same problem — Medibang Paint Pro, with the executable named «MediBangPaintPro.exe» as C:\ListDLLs>ListDLLs.exe MediBangPaintPro or MediBangPaintPro.exe it returns «No matching processes were found.»
Thanks in advance, if you’re still in the mood to look into this. 🙂
I notice this thread — which I found searching the error msg in Google — just kind of died without coming to a resolution others could follow.
The OP’s (@jrmmuller) problem was resolved. In their case, the %QT_PLUGIN_PATH% variable was hijacked by another program so the variable had to be cleared
@KKekana was a different user.
when I tried the «echo %QT_PLUGIN_PATH%» step, it just echoed «%QT_PLUGIN_PATH%» on it’s own line.
This is good. It shows that the %QT_PLUGIN_PATH% variable has not been hijacked by another program. It means the root cause of your problem is different from the OP.
I’m having the same issue with several programs. I’m not sure what I installed that did the damage, but I suspect it might be drivers for a pen display.
Do all of these programs use Qt? Does the pen display driver use Qt?
Also, how did you install Krita? Does uninstalling + reinstalling it help?
The following big list is what was in the output.
2 things stood out to me:
- qwindows.dll is missing. Can you see if it’s on your system somewhere? I’d expect it to be at C:\Program Files\Krita (x64)\bin\platforms\qwindows.dll (unless Krita’s developers did something different)
- Krita is loading DLLs from C:\Program Files (x86)\Stardock\ — is this expected? What happens if you temporarily rename the Stardock folder; does Krita load properly then?
Do all of them use Qt? — I’m not sure, and I’m not sure how to find out.
How did I install Krita? — It would be non-helpful if I said «in the normal way» wouldn’t it? I’m definitely not a proper programmer, though I’m «programmer adjacent» in some aspects of my work, learning enough from programmers to describe it to non-programmers in pictures. Anyway, I downloaded an executable installer from Krita.org and let it do its thing. Is that the right information?
Does uninstalling and reinstalling help? — On the others I have encountered this problem with, it has. I haven’t done Krita yet, because I was hoping to find the original culprit, and thought there might be clues.
qwindows.dll is missing — Hey, I think Krita uses Qt! I found qwindows.dll in C:\Program Piles\Krita (x64)\bin\platforms
Using that newfound knowledge, I looked for it in Autodesk Sketchbook and MediBang Pro (other programs this has happened with) and found it in C:\Program Files\Autodesk\Sketchbook\platforms and C:\Program Files\Medibang\Medibang Paint Pro\platforms
I also looked for «qwindows» in the «program files» and «program files (x86) folders and found it in the folders of:
- MeshLab (Same error when I try to launch it — that means it’s not the culprit, right?)
- Logitech Gaming Software (I use a gaming mouse because it has lots of assignable buttons)
- Hamstersoft ZIP Archiver (which is Russian and scary as hell, but does a really good job)
- Allgorithmic Substance painter, Substance Designer, and Substance Player
- Several Photoshop plugins by Alien Skin (iirc, that may have been the first thing that threw this error, but they’ve been reinstalled)
- Autodesk Mudbox
- Adobe Bridge
- Explorer actually crashed once while doing this, and it still claims to be searching the program files folder — I’ll come back and edit this with any others it finds, or that it finds in Program Files (x86)
I did not find qwindows in the folder of the pen display driver / control software I suspected of having monkeyed things up. Am I right in thinking that means that driver / control software is innocent? With no more evidence than I had before, I now suspect Logitech. I’m sure this is how witch trials get started. 😉
Logitech suffers the same error on reboot, when it’s executable «LCore» can’t find the windows (qwindows?) platform plugin that is, in fact, in the platform folder. So I guess they’re innocent, too, right?
The other question asked — if it was expected for Krita to access Stardock — I guess so? Stardock makes Windows modification software, to change the look and behaviors of windows, menus, the desktop, icons, etc. So I guess Krita is getting instructions for things like menu animations.
Do all of them use Qt? — I’m not sure, and I’m not sure how to find out.
In general, you check for the presence of Qt DLLs (Qt5Core.dll, qwindows.dll) in the program’s folders.
How did I install Krita? — It would be non-helpful if I said «in the normal way» wouldn’t it? I’m definitely not a proper programmer, though I’m «programmer adjacent» in some aspects of my work, learning enough from programmers to describe it to non-programmers in pictures. Anyway, I downloaded an executable installer from Krita.org and let it do its thing. Is that the right information?
Yes, that’s the right information 🙂 Other possible ways to install Krita include «compile it from source».
Anyway, since you used the «normal way», that rules out the possibility of the error being caused by incorrect installation/compilation/deployment
Does uninstalling and reinstalling help? — On the others I have encountered this problem with, it has. I haven’t done Krita yet, because I was hoping to find the original culprit, and thought there might be clues.
From the symptoms you’ve described and the ListDLLs output you posted, I can’t see an easy way to find the root culprit, unfortunately.
The easiest thing to do might be to reinstall the affected software and move on with your life.
One other thing you could try: If you create a new user account on your PC, does that account manage to run the affected programs normally? If it does, that means something has gone wrong in your current Windows account itself. (I can’t explain how though)
qwindows.dll is missing — Hey, I think Krita uses Qt! I found qwindows.dll in C:\Program Piles\Krita (x64)\bin\platforms
Using that newfound knowledge, I looked for it in.
. I’ll come back and edit this with any others it finds, or that it finds in Program Files (x86)
That’s OK, you don’t have to give us a comprehensive list.
I asked about other Qt-based software because sometimes, problems occur when a piece of Qt-based software adds itself to the system-wide PATH (or QT_PLUGIN_PATH). This can cause other Qt-based software to load the wrong version of Qt DLLs.
However, given that you can repair individual programs by re-installing them, that probably means your problem is caused by something else.
I did not find qwindows in the folder of the pen display driver / control software I suspected of having monkeyed things up. Am I right in thinking that means that driver / control software is innocent? With no more evidence than I had before, I now suspect Logitech. I’m sure this is how witch trials get started. 😉
It is difficult to prove that someone/thing didn’t do it.
I’m sure this is how witch trials get started. 😉
Double double toil and trouble.
But seriously if you want to find the culprit you have to see if it floats. So measure it against other things that float. Like ducks, wood, and tiny tiny pebbles.
(Apologies in advance for my complete disdain for seriousness in this serious topic. Far too much silliness in my post.)
Other possible ways to install Krita include «compile it from source».
I knew that one! Or, I knew that was a thing, in an abstract, not-something-I-know-how-to-do way 😉
I can’t see an easy way to find the root culprit, unfortunately.
Ah. This gives me a sad. It would be somehow satisfying to be able to say «Ah ha! It’s your fault, you little. » but, alas. Moving on is, as you say, the best course of action if that’s not possible.
Thank you for your help and patience. 🙂
So measure it against other things that float. Like ducks, wood, and tiny tiny pebbles.
This new learning amazes me. Do you know of a way sheep’s bladders may be employed to prevent earthquakes?
I solved it:
add system environment
QT_QPA_PLATFORM_PLUGIN_PATH
C:\Qt\Qt5.12.2\5.12.2\msvc2017_64\plugins\platforms
That’s not a solution. You should not modify your system environment like that.