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

Qt5 靜態(tài)構(gòu)建產(chǎn)生無法加載平臺插件“windows"

Qt5 Static Build yields Failed to load platform plugin quot;windowsquot;(Qt5 靜態(tài)構(gòu)建產(chǎn)生無法加載平臺插件“windows)
本文介紹了Qt5 靜態(tài)構(gòu)建產(chǎn)生無法加載平臺插件“windows"的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在使用 Visual Studio 2012 在 Windows 上編寫 Qt 應(yīng)用程序.使用 Qt 插件和 Qt 5.0.2 的自定義構(gòu)建的靜態(tài) 分發(fā)版.每當(dāng)我運行應(yīng)用程序時,我都會遇到可怕的 無法加載平臺插件窗口" 錯誤.我在鏈接器輸入中添加了以下內(nèi)容:

I am writing a Qt application on Windows using Visual Studio 2012. Using the Qt Add-in and a custom built static distribution of Qt 5.0.2. I am running into the dreaded "Failed to load platform plugin windows" error whenever I run the application. I have added the following to the linker input:

imm32.lib
winmm.lib
Ws2_32.lib
qtmaind.lib
Qt5Cored.lib
Qt5Guid.lib
Qt5Widgetsd.lib

起初我想也許我應(yīng)該將qwindowsd.lib"也添加到該列表中,但這并沒有解決問題.我需要做什么才能使我的應(yīng)用程序運行?

At first I thought that maybe I should add "qwindowsd.lib" to that list as well however that did not fix the problem. What do I need to do in order to make my application run?

推薦答案

我解決了.多虧了這個,我才能讓一切正常工作.我添加了以下庫:

I solved it. Thanks to this I was able to get everything to work. I added the following libraries:

opengl32.lib
Qt5PlatformSupport.lib
qwindows.lib

我還在我的代碼中添加了以下內(nèi)容:

I also added the following to my code:

#include <QtPlugin>
Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin);

這篇關(guān)于Qt5 靜態(tài)構(gòu)建產(chǎn)生無法加載平臺插件“windows"的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

相關(guān)文檔推薦

boost_1_60_0 .zip installation in windows(Windows 中的 boost_1_60_0 .zip 安裝)
How do I get console output in C++ with a Windows program?(如何使用 Windows 程序在 C++ 中獲得控制臺輸出?)
How do I calculate the week number given a date?(如何計算給定日期的周數(shù)?)
OpenCV with Network Cameras(帶有網(wǎng)絡(luò)攝像機的 OpenCV)
Export all symbols when creating a DLL(創(chuàng)建 DLL 時導(dǎo)出所有符號)
Getting started with OpenCV 2.4 and MinGW on Windows 7(Windows 7 上的 OpenCV 2.4 和 MinGW 入門)
主站蜘蛛池模板: 日韩欧美网站 | 国产精品久久久久久久久久 | 蜜臀久久99精品久久久久久宅男 | 欧美在线观看视频 | 亚洲国产成人精品女人久久久 | 成人午夜毛片 | 久久精品伊人 | 黄色免费一级片 | 天天综合天天做天天综合 | 久久久久国产一区二区三区 | 91看片在线观看 | 亚洲色欧美 | 亚洲三级在线观看 | 黄色免费网站在线观看 | 日韩精品无 | 免费高清av | 男女瑟瑟视频 | 在线亚洲天堂 | 国产精品美女久久久久久久久 | 国产精品911 | 三级网站在线 | 免费黄色小视频 | 四虎在线播放 | 九九国产 | 日韩一级欧美一级 | 欧美性猛交xxxx免费看久久久 | 精品蜜桃一区二区三区 | 日韩免费网站 | 一级做a视频 | 成人小网站 | 中文字幕免费 | 久久综合99| 四虎黄色影院 | 日韩欧美在线观看 | 97精品在线观看 | 国产视频一区二区在线 | 五月婷婷婷 | 日本一区二区不卡 | 日本免费网站 | 99爱视频| 亚洲精品一级 |