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

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

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

問(wèn)題描述

我正在使用 Visual Studio 2012 在 Windows 上編寫(xiě) Qt 應(yīng)用程序.使用 Qt 插件和 Qt 5.0.2 的自定義構(gòu)建的靜態(tài) 分發(fā)版.每當(dāng)我運(yùn)行應(yīng)用程序時(shí),我都會(huì)遇到可怕的 無(wú)法加載平臺(tái)插件窗口" 錯(cuò)誤.我在鏈接器輸入中添加了以下內(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"也添加到該列表中,但這并沒(méi)有解決問(wèn)題.我需要做什么才能使我的應(yīng)用程序運(yùn)行?

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?

推薦答案

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

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)生無(wú)法加載平臺(tái)插件“windows"的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(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++ 中獲得控制臺(tái)輸出?)
How do I calculate the week number given a date?(如何計(jì)算給定日期的周數(shù)?)
OpenCV with Network Cameras(帶有網(wǎng)絡(luò)攝像機(jī)的 OpenCV)
Export all symbols when creating a DLL(創(chuàng)建 DLL 時(shí)導(dǎo)出所有符號(hào))
Getting started with OpenCV 2.4 and MinGW on Windows 7(Windows 7 上的 OpenCV 2.4 和 MinGW 入門(mén))
主站蜘蛛池模板: 国产成人综合亚洲欧美94在线 | 国产成人精品综合 | 国产一区亚洲 | 亚洲免费精品 | 一级毛片在线播放 | 久久国产欧美日韩精品 | 中文字幕在线观看一区二区 | av免费网站在线观看 | 免费看的黄网站 | 九九热在线精品视频 | 国产一区视频在线 | 国产97久久 | 国产传媒 | 成年人在线视频 | 精品国产乱码久久久久久88av | 久久中文高清 | 99在线播放 | 中文字幕一区二区三区四区 | 成人黄色在线 | 亚洲高清免费观看 | 免费中文字幕 | 日本久久精品视频 | 欧美精品乱码久久久久久按摩 | 国产一区二区久久 | 免费日韩av网站 | 成人免费观看男女羞羞视频 | 亚洲国产精品人人爽夜夜爽 | 欧美性网 | 国产成人综合在线 | 亚洲国产欧美一区 | 精品久久久一区二区 | 久久人体视频 | 91精品国产综合久久婷婷香蕉 | 精品国产一区二区三区日日嗨 | 2023亚洲天堂| 国产乱码精品1区2区3区 | 日韩在线视频一区 | 黄色网址在线免费播放 | 爱操影视| 欧美日韩综合 | 国产成人99久久亚洲综合精品 |