久久久久久久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 入門)
主站蜘蛛池模板: 精品国产成人 | 逼逼操 | 亚洲17p| 性色av一区| 色一情一乱一乱一区91av | 精品视频免费观看 | 黑人巨大猛烈捣出白浆 | 五月天综合网 | 久久久精品在线观看 | 久精品视频 | 99re在线观看 | 99cao| 成人免费视频视频 | 久久伊人av | 黄色影音 | 91精品久久久久久久久 | 中文字幕在线视频播放 | 日本欧美亚洲 | 日韩在线小视频 | 91超碰人人| 亚欧洲精品在线视频免费观看 | 中文字幕第一区 | 视频在线观看一区 | 亚洲精品福利视频 | 放几个免费的毛片出来看 | www.午夜| 黄色小视频在线免费观看 | 四色永久访问 | a视频在线观看 | 色精品| 自拍三区| 一级真人毛片 | 欧美精品一二三区 | 成人毛片在线 | 一区视频在线 | 亚洲自拍偷拍视频 | 国产高潮在线观看 | 久久成人精品视频 | 97在线视频免费观看 | 香蕉视频在线看 | 毛片tv|