开发者

Qt - Switching from shared build to static build? (VS 2005)

开发者 https://www.devze.com 2022-12-09 16:26 出处:网络
The situation is this: I have a shared (DLL) build of Qt 4.5.1 and some reason开发者_运维知识库s given by the project lead, I have to convert to Qt 4.5.2 static. I am using the Qt Visual Studio plug-i

The situation is this: I have a shared (DLL) build of Qt 4.5.1 and some reason开发者_运维知识库s given by the project lead, I have to convert to Qt 4.5.2 static. I am using the Qt Visual Studio plug-in to manage my project.

1) Would DLLs (Qwt 5.2 and other Qt solutions) compiled with the shared Qt 4.5.1 work with an EXE compiled with static Qt 4.5.2, or do I have to re-complie all those third party DLLs?

2) Is it possible to compile a DLL from a static build?

3) Are there any additional dependencies for a static build of an existing Qt 4.5 solution?


We compile our app ->debug as dynamic and ->release as static in order to prevent users from dll hell in Windows and using one file only. 1) We compiled both versions of all libraries. As release=static and debug=dynamic, like our own app.

2) Not that I can imagine.

3) Not that I can imagine.

0

精彩评论

暂无评论...
验证码 换一张
取 消