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

如何將 zlib 添加到現有的 qt 安裝

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

問題描述

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

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 函數,你只需要包含在 src/3rdparty/zlib 中的 zlib.h.見例如src/corelib/tools 中 QByteArray 的實現.

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 庫.注意構建與您的 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>.

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

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

相關文檔推薦

How can I read and manipulate CSV file data in C++?(如何在 C++ 中讀取和操作 CSV 文件數據?)
In C++ why can#39;t I write a for() loop like this: for( int i = 1, double i2 = 0; (在 C++ 中,為什么我不能像這樣編寫 for() 循環: for( int i = 1, double i2 = 0;)
How does OpenMP handle nested loops?(OpenMP 如何處理嵌套循環?)
Reusing thread in loop c++(在循環 C++ 中重用線程)
Precise thread sleep needed. Max 1ms error(需要精確的線程睡眠.最大 1ms 誤差)
Is there ever a need for a quot;do {...} while ( )quot; loop?(是否需要“do {...} while ()?環形?)
主站蜘蛛池模板: 91看片在线观看 | 久久综合久色欧美综合狠狠 | 在线日韩欧美 | 欧美日韩亚洲一区二区三区 | 久久都是精品 | 91麻豆精品 | 久久精品一区二区国产 | 狠狠干婷婷 | 中文在线免费观看 | 中日韩毛片 | 毛片视频免费 | 久久高清免费视频 | 国产1区2区3区 | 日韩精品视频在线 | 国产不卡在线观看 | 福利片在线 | 欧美精品一区在线观看 | 久久人人爽人人爽人人片 | 91精品国产综合久久久久久 | 伊人999 | 超碰在线网站 | 精品国产成人 | 国产毛片一级 | 99国产精品99久久久久久 | 国产伦精品一区二区三区四区免费 | 亚洲免费在线视频 | 国产一级大片 | 精品国产久 | 国产午夜免费视频 | 男女啪啪免费网站 | 第一福利视频导航 | 中国1级毛片 | 婷婷91 | 四虎4hu永久免费网站影院 | 国产一级片免费观看 | 久草手机在线视频 | 久久三级视频 | 国产成人三级在线观看 | 欧美乱强伦 | 夜夜操网站 | 成人免费视频一区二区 |