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

如何將 zlib 添加到現(xiàn)有的 qt 安裝

how to add zlib to an existing qt installation(如何將 zlib 添加到現(xiàn)有的 qt 安裝)
本文介紹了如何將 zlib 添加到現(xiàn)有的 qt 安裝的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

如何將 zlib 添加到 Qt 的現(xiàn)有安裝中.我在這方面很新,所以請給我詳細的描述!提前感謝您的幫助!

How can I add zlib to an existing installation of Qt. I m pretty new in this so please give me detailed description! Thanks for your help in advance!

推薦答案

zlib 包含在核心 Qt 庫中.如果你想在 Qt 程序中使用 zlib 函數(shù),你只需要包含在 src/3rdparty/zlib 中的 zlib.h.見例如src/corelib/tools 中 QByteArray 的實現(xiàn).

zlib is contained in the core Qt libraries. If you want to use the zlib functions in a Qt program, you only have to include zlib.h which is in src/3rdparty/zlib. See e.g. the implementation of QByteArray in src/corelib/tools.

如果您想使用 quazip,只需將庫添加到您的項目中.它基于 Qt 庫.注意構(gòu)建與您的 Qt 安裝相對應的正確 qyazip 庫.

If you want to use quazip, just add the library to your project. It is based on the Qt libraries. Take care to build the correct qyazip library that corresponds to your Qt installation.

通過將以下行添加到項目文件中,您可以獲得正確的包含路徑:

You get the correct include path by adding the following line to your project file:

INCLUDEPATH += $$[QT_INSTALL_PREFIX]/src/3rdparty/zlib

對于 Qt5,請參閱 Thorbj?rn 的評論:使用 #include 就足夠了.

For Qt5, see Thorbj?rn's comment: it is sufficient to use #include <QtZlib/zlib.h>.

這篇關(guān)于如何將 zlib 添加到現(xiàn)有的 qt 安裝的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

相關(guān)文檔推薦

How can I read and manipulate CSV file data in C++?(如何在 C++ 中讀取和操作 CSV 文件數(shù)據(jù)?)
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)形?)
主站蜘蛛池模板: 91av视频在线观看 | 一级毛片黄片 | 国产精品高清在线 | 97精品国产一区二区三区 | 一区二区三区精品视频 | 欧美一区二区视频 | 成人免费观看网站 | 99亚洲国产精品 | 国产精品美女久久久免费 | 国产精品久久久乱弄 | 99re视频在线免费观看 | 成人av电影免费在线观看 | 91在线精品视频 | 午夜激情视频在线 | 美女中文字幕视频 | 国产综合欧美 | 国产一区二区麻豆 | 自拍偷拍小视频 | 日韩视频专区 | 亚洲精品欧美一区二区三区 | 午夜影院黄 | 蜜臀久久99精品久久久久野外 | 欧美群妇大交群中文字幕 | 欧美电影在线 | 久久成人亚洲 | 欧美一区二区三区精品 | 成人h电影在线观看 | 日韩一区不卡 | 午夜精品在线观看 | 国产精品免费视频一区 | 久久亚洲精品国产精品紫薇 | 亚洲国产欧美91 | 国产精品久久久久久久久久久久久久 | 爱爱免费视频网站 | 999热视频 | 免费成人高清在线视频 | 久久国产精品色av免费观看 | 精品国产99 | 拍拍无遮挡人做人爱视频免费观看 | 欧美日韩亚| 曰韩一二三区 |