当前位置:网站首页>QT generation connection Library
QT generation connection Library
2022-07-24 16:42:00 【Liu-Eleven】
One 、Qt How to generate dynamic leveling Library
1). stay Linux Generate Library under
①. stay Linux Generate dynamic link library under
stay Qt Configure in the project file :TEMPLATE = lib. The default generated dynamic library has soft connection .

If you don't want to have a soft connection , Then configure :CONFIG += plugin
![]()
②. stay Linux Generate static connection Library under
Just in .pro File configuration :
TEMPLATE = lib
CONFIG += staticlib

2). stay Windows Generate Library under
Ⅰ. Use MinGw Build a library
①. Generate dynamic library
pro The file configuration is the same , The generated format is different
②. Generate static libraries
pro The file configuration is the same , The generated format is different
Ⅱ. Use MSVC Build a library
①. Generate dynamic library
pro The file configuration is the same , But to generate xxxx.lib The file needs to be exported in the code .
For example, the problem I encountered below :
![]()
Only generated at this time qtnotify.dll.
So add... To the code :
![]()
Compile again to generate

②. Generate static libraries
pro The file configuration is the same , The generated format is different
Other :
look down NotificationWidget The effect of

边栏推荐
- Jia Yueting's Faraday will receive another financing of US $225million in the future, and ff91 will be mass produced soon!
- Win10 download address
- 随笔记:同步、异步和微任务、宏任务的打印顺序
- Causes and solutions of QT signal and slot connection failure
- Intel plans to sell baseband chip business, but Apple has given up?
- Thinkphp3.2.5 cannot jump to external links
- MODIS data WGet Download
- Envi SHP to ROI and mask the grid
- [machine learning basics] - another perspective to explain SVM
- 图片浏览器?Qt也可以实现!
猜你喜欢

EF LINQ Miscellany

Servlet framework (servlet+jsp) + addition, deletion, modification and query + paging implemented by MySQL (function package student information entry, addition, deletion, modification and query of st

我们为什么要推出Getaverse?
[email protected]"/>ZBar source code analysis - img_ scanner. c | [email protected]

jvm类加载子系统

EMQ Yingyun technology was listed on the 2022 "cutting edge 100" list of Chinese entrepreneurs

Comparison of array and object merging methods assign, merge, defaults, defaultsdeep in lodash

Mcd12q1 data shows multiple classifications in envi

ArcGIS layer annotation display

Thinkphp3.2.5 cannot jump to external links
随机推荐
Creation and inheritance of JS class
随笔记:同步、异步和微任务、宏任务的打印顺序
【机器学习基础】——另一个视角解释SVM
安全的证券公司有哪些?我想在手机上买股票
Codeforces round 690 (Div. 3) C. unique number conventional solution
AMD锐龙7000预计9月15日上市 3D缓存版还要再等等
双指针滑动窗口法解析及LeetCode相关题解
ArcGIS layer annotation display
EF miscellaneous
TCP协议调试工具TcpEngine V1.3.0使用教程
简单使用 MySQL 索引
15、ARM嵌入式系统:如何用PC调试单板
Problems encountered in upgrading chrome to version 80 - solutions to system login failure
我们为什么要推出Getaverse?
ArcGIS pixel size changed from 0.00025 to meters
1163: SongGe's score splitting (C language)
With notes: printing order of synchronous, asynchronous, micro task and macro task
Cache penetration, cache breakdown, cache avalanche differences and solutions [easy to understand]
File browser? QT can also be achieved!
Envi SHP to ROI and mask the grid