久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

應用程序無法啟動,因為它無法找到或加載 QT 平

Application failed to start because it could not find or load the QT platform plugin quot;windowsquot;(應用程序無法啟動,因為它無法找到或加載 QT 平臺插件“windows)
本文介紹了應用程序無法啟動,因為它無法找到或加載 QT 平臺插件“windows"的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我已經查看了似乎與堆棧溢出相關的所有問題,但似乎沒有任何解決方案對我有幫助.

I have looked through all of the questions that appear to be related on stack overflow, and none of the solutions seem to help me.

我正在使用此設置構建 Qt 應用程序:

I am building a Qt application with this setup:

  • Windows 7 專業(yè)版 x64
  • Visual Studio 2012
  • 使用 configure -developer-build -debug-and-release -opensource -nomake examples -nomake tests -platform win32-msvc2012 -no-opengl
  • 構建的 Qt 5.2.0
  • 項目使用 QtSingleApplication (qt-solutions)
  • 應用程序是一個 32 位應用程序
  • qmake 使用以下命令運行:-makefile -spec win32-msvc2012
  • .pri 使用 QMAKE_CXX +=/D_US??ING_V110_SDK71_

我可以在我的開發(fā)機器上很好地構建和運行我的程序(如上所述);我也可以從開發(fā)機器上的 Program Files 目錄安裝和運行包.

I can build and run my program fine on my development machine (noted above); I can also install and run the package from Program Files directory on dev machine.

當我在一臺 Windows Vista 機器(多臺機器)上安裝并運行時

When I install and run on a Windows Vista machine (multiple machines)

  • VC++ redist 2012 11.0.61030.0 已安裝
  • VC++ redist 2010 10.0.40219 已安裝
  • 加上 2005、2008 版本的 redist

(在全新安裝 Windows 7 時也會失敗)

(also fails on a clean install of Windows 7)

我明白了:

應用程序無法啟動,因為它無法找到或加載 QT 平臺插件windows"

所以我按照說明添加了一個.platforms/目錄,并添加了qwindows.dll(也添加了qminimal.dll和qoffscreen.dll);我還添加了 libEGL.dll、libGLESv2.dll(盡管我認為不需要它們)

So I followed the instructions and added a .platforms/ directory, and added qwindows.dll (also added qminimal.dll and qoffscreen.dll); I also added libEGL.dll, libGLESv2.dll (even though I shouldn't need them I don't think)

添加 qoffscreen.dll 后,我現(xiàn)在收到附加消息:可用的平臺插件是:offscreen

Once I added qoffscreen.dll I now get the additional message: Available platform plugins are: offscreen

如果我運行 Dependency Walker,則會列出此錯誤:

If I run through Dependency Walker I get this error listed:

GetProcAddress(0x76CA0000 [KERNEL32.DLL], "GetCurrentPackageId") called from "MSVCR110.DLL" at address 0x6AC6FDFA and returned NULL. Error: The specified procedure could not be found (127).

然后進一步向下得到:

GetProcAddress(0x745A0000 [UXTHEME.DLL], "BufferedPaintUnInit") called from "COMCTL32.DLL" at address 0x745FFBF8 and returned 0x745AE18C.
This application failed to start because it could not find or load the Qt platform plugin "windows".

Available platform plugins are: offscreen.

Reinstalling the application may fix this problem.

任何想法如何解決這個 dll 問題?

Any ideas how to fix this dll issue?

推薦答案

好吧,我解決了我的問題,雖然我不確定有什么區(qū)別:

Well I solved my issue, although I'm not sure what the difference is:

我將 qt 目錄中的每個 dll 都復制到了應用程序目錄的 ./和 ./platforms 中.

I copied every dll from my qt directory into both ./ and ./platforms of my application directory.

應用程序克服了錯誤,但隨后崩潰了.

The application got past the error, but then crashed.

VERSION.dll 導致崩潰(在依賴項walker 中注明),所以我從兩個地方都刪除了它.

VERSION.dll was causing the crash (noted in dependency walker), so I removed it from both places.

應用程序啟動了,所以我系統(tǒng)地刪除了所有不需要的 dll.

The Application started up, so I systematically removed all unneeded dll's.

這讓我回到了最初的狀態(tài).

This got me back to the same state I had originally.

然后我卸載了我的應用程序并重新安裝(只剩下 ./platforms/qwindows.dll 文件),應用程序正常工作.

I then uninstalled my application and re-installed (with only the ./platforms/qwindows.dll file remaining), application works correctly.

所以我只能假設我在平臺目錄中的 qwindows.dll 版本不正確.

So all I can assume is that I had an incorrect version of qwindows.dll in the platforms directory.

這篇關于應用程序無法啟動,因為它無法找到或加載 QT 平臺插件“windows"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯(lián)網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

相關文檔推薦

How can I read and manipulate CSV file data in C++?(如何在 C++ 中讀取和操作 CSV 文件數(shù)據?)
In C++ why can#39;t I write a for() loop like this: for( int i = 1, double i2 = 0; (在 C++ 中,為什么我不能像這樣編寫 for() 循環(huán): for( int i = 1, double i2 = 0;)
How does OpenMP handle nested loops?(OpenMP 如何處理嵌套循環(huán)?)
Reusing thread in loop c++(在循環(huán) C++ 中重用線程)
Precise thread sleep needed. Max 1ms error(需要精確的線程睡眠.最大 1ms 誤差)
Is there ever a need for a quot;do {...} while ( )quot; loop?(是否需要“do {...} while ()?環(huán)形?)
主站蜘蛛池模板: 女同久久另类99精品国产 | 日本视频一区二区 | 一级一片在线观看 | 精品福利在线 | 免费看一级毛片 | 婷婷91| 国产一区欧美 | 在线观看av网站 | www.日本国产| 亚洲视频www | 国产激情一区二区三区 | 91免费观看在线 | av片免费 | 精品欧美乱码久久久久久 | 在线日韩av电影 | www.黄色网 | 四季久久免费一区二区三区四区 | 国产免费国产 | 成年人网站免费视频 | 视频三区 | 精品在线一区 | 黄色在线播放视频 | 一区在线视频 | 国产精品成人一区 | 一本大道久久a久久精二百 欧洲一区二区三区 | av一级久久| 欧美午夜精品理论片a级按摩 | 精品一二区 | 久草视频在线播放 | 一二三区av| 欧美日韩在线视频一区二区 | 欧美精品乱码久久久久久按摩 | 99精品国产一区二区青青牛奶 | 妞干网视频 | 亚洲一区二区三区四区五区中文 | 91久久久久久久久久久 | 欧美一区二区三区在线视频 | 欧美激情视频一区二区三区在线播放 | 中文一级片 | 亚洲精品福利视频 | 久久久99精品免费观看 |