問(wèn)題描述
有些人開(kāi)始將我的問(wèn)題標(biāo)記為重復(fù).不要忘記當(dāng)我問(wèn)這個(gè)問(wèn)題時(shí)存在許多類(lèi)似的問(wèn)題(參見(jiàn)例如下面的列表).但是,這些答案都沒(méi)有解決我的問(wèn)題.經(jīng)過(guò)長(zhǎng)時(shí)間的搜索,我發(fā)現(xiàn)了一條評(píng)論,所有用戶(hù)都忽略了該評(píng)論,指向缺失的庫(kù).現(xiàn)在,幾個(gè)月后,評(píng)論已更改為答案.但是,當(dāng)我自己回答這個(gè)問(wèn)題時(shí),我打算通過(guò)直接提供解決方案來(lái)幫助其他人.這不應(yīng)該被遺忘,到目前為止,我的回答幫助了很多人.因此,我的問(wèn)題絕對(duì)不是重復(fù)的.順便說(shuō)一句:頂部提供的鏈接中接受的答案不能解決問(wèn)題!
Some people started to mark my question as a duplicate. Do not forget that many similar questions existed when I asked this one (see e.g. the list below). However, none of these answers solved my problem. After a long search I found a comment which had been ignored by all users pointing to the missing lib. Now, many months later, the comment has been changed to an answer. However, when I answered this question by msyself I intended to help other people by directly providing the solution. This should not be forgotten and so far my answer helped a lot of people. Therefore my question is definitely not a duplicate. By the way: The accepted answer within the provided link on top does not solve the problem!
是的,我使用了搜索:
無(wú)法加載平臺(tái)插件windows";.可用平臺(tái)有:錯(cuò)誤
從 Visual Studio qwindows 部署 Qt C++ 應(yīng)用程序.dll錯(cuò)誤
加載平臺(tái)插件失敗窗戶(hù)"可用平臺(tái)有:windows、minimum
但是,就我而言,問(wèn)題仍然存在.我在 Visual Studio 2012 中使用 Qt 5.1.1,并在 Windows 7 上使用 Qt Creator 2.8.1 開(kāi)發(fā)了我的應(yīng)用程序.應(yīng)用程序以發(fā)布"模式編譯,如果直接使用 Qt Creator 啟動(dòng)即可執(zhí)行.
However, in my case the problem still persists. I am using Qt 5.1.1 with Visual Studio 2012 and developed my Application on Windows 7 with Qt Creator 2.8.1. Application is compiled in "Release"-mode and can be executed if directly started with Qt Creator.
但是,當(dāng)從發(fā)布"文件夾開(kāi)始時(shí),我收到以下消息:
However, when starting from the "release"-Folder, i get the following message:
此應(yīng)用程序無(wú)法啟動(dòng),因?yàn)樗鼰o(wú)法找到或加載Qt 平臺(tái)插件windows".可用的平臺(tái)插件有:最小、屏幕外、窗口.
This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows.
文件夾結(jié)構(gòu)如下:
release
+ gui.exe
+ icudt51.dll
+ icuin51.dll
+ icuuc51.dll
+ libGLESv2.dll
+ Qt5Core.dll
+ Qt5Gui.dll
+ Qt5Widgets.dll
+ platforms
Platforms 是直接從 QtQt5.1.15.1.1msvc2012pluginsplatforms 復(fù)制的文件夾,包括例如qwindows.dll.如果我像其他一些用戶(hù)那樣將其重命名為平臺(tái)",則無(wú)關(guān)緊要.Qt還是沒(méi)有找到平臺(tái)插件窗口",我錯(cuò)在哪里?
Platforms is the folder directly copied from QtQt5.1.15.1.1msvc2012pluginsplatforms including e.g. qwindows.dll. Does not matter if I rename it to "platform" as some other users did. Qt is still not finding the "platform plugin windows", where is my mistake?
推薦答案
好的,正如這里發(fā)布的 https://stackoverflow.com/a/17271172/1458552 沒(méi)有被其他用戶(hù)過(guò)多關(guān)注:
Okay, as posted here https://stackoverflow.com/a/17271172/1458552 without much attention by other users:
libEGL.dll 丟失了!即使在嘗試啟動(dòng)應(yīng)用程序時(shí)沒(méi)有報(bào)告此問(wèn)題(所有其他 *.dll 文件,如 Qt5Gui.dll 均已報(bào)告).
The libEGL.dll was missing! Even though this has not been reported when trying to start the application (all other *.dlls such as Qt5Gui.dll had been reported).
這篇關(guān)于Qt 5.1.1:應(yīng)用程序無(wú)法啟動(dòng),因?yàn)槠脚_(tái)插件“windows"無(wú)法啟動(dòng)不見(jiàn)了的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!