Qt 5.1.1:应用程序无法启动,因为平台插件“窗口”不见了 [英] Qt 5.1.1: Application failed to start because platform plugin "windows" is missing

查看:7372
本文介绍了Qt 5.1.1:应用程序无法启动,因为平台插件“窗口”不见了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




编辑:
有些人开始将我的问题标记为重复。不要忘记,当我问这个问题存在许多类似的问题(见例如下面的列表)。但是,这些答案都没有解决我的问题。在长时间搜索后,我发现注释,所有用户都指向缺少的lib。现在,许多个月后,评论已经改为答案。但是,当我回答这个问题由msyself我打算通过直接提供解决方案来帮助其他人。这不应该被忘记,到目前为止我的答案帮助了很多人。因此我的问题绝对不是重复的。 顺便说一下:在顶部提供的链接中接受的答案无法解决问题






是,我使用了搜索:



无法加载平台插件窗口。可用的平台包括:错误



从Visual Studio中部署Qt C ++应用程序qwindows.dll错误



无法加载平台插件窗口可用的平台是:windows,最少



但是,在我的情况下,问题仍然存在。我使用Qt 5.1.1与Visual Studio 2012和开发我的应用程序在Windows 7与Qt Creator 2.8.1。



但是,从release-Folder开始,我得到了以下消息:


此应用程序无法启动,因为无法找到或加载
Qt平台插件windows。可用的平台插件包括:
minimal,offscreen,windows。


文件夹结构如下:

  release 
+ gui.exe
+ icudt51.dll
+ icuin51.dll
+ icuuc51。 dll
+ libGLESv2.dll
+ Qt5Core.dll
+ Qt5Gui.dll
+ Qt5Widgets.dll
+ platforms



平台是直接从 Qt \ Qt5.1.1 \5.1.1\ msvc2012 \plugins\platforms <强>包括例如qwindows.dll。如果我将其重命名为平台作为一些其他用户没有关系。 Qt仍然没有找到平台插件窗口,我的错误在哪里?

解决方案

=http://stackoverflow.com/a/17271172/1458552> http://stackoverflow.com/a/17271172/1458552 其他用户不太注意:



libEGL.dll 丢失了!即使这没有报告,当试图启动应用程序(所有其他* .dlls如Qt5Gui.dll已被报告)。



Edit: 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!


Yes, i used the search:

Failed to load platform plugin "windows". Available platforms are : Error

Deploying Qt C++ Application from Visual Studio qwindows.dll error

failed to load platform plugin "windows" Available platforms are: windows, minimal

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.

However, when starting from the "release"-Folder, i get the following message:

This application failed to start because it could not find or load the Qt platform plugin "windows". Available platform plugins are: minimal, offscreen, windows.

Folder structure looks like this:

release
+ gui.exe
+ icudt51.dll
+ icuin51.dll
+ icuuc51.dll
+ libGLESv2.dll
+ Qt5Core.dll
+ Qt5Gui.dll
+ Qt5Widgets.dll
+ platforms

Platforms is the folder directly copied from Qt\Qt5.1.1\5.1.1\msvc2012\plugins\platforms 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?

解决方案

Okay, as posted here http://stackoverflow.com/a/17271172/1458552 without much attention by other users:

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).

这篇关于Qt 5.1.1:应用程序无法启动,因为平台插件“窗口”不见了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆