如何确保我将我的应用程序动态链接到Qt Creator中的Qt框架?

时间:2021-08-09 22:48:57

How do I ensure that I am dynamically linking my application to the Qt framework in Qt Creator?

如何确保我将我的应用程序动态链接到Qt Creator中的Qt框架?

Thanks!

1 个解决方案

#1


Click the "Projects" sidebar item and in the Build Settings tab, see what Qt version you are linking against.

单击“项目”侧栏项,然后在“构建设置”选项卡中,查看要链接的Qt版本。

Chances are, you're linking against the version which came with Qt when you installed it, which is dynamic. If you've made your own static build of Qt, this is where you switch between them.

有可能,你正在链接Qt安装时附带的版本,这是动态的。如果您已经创建了自己的Qt静态构建,那么您可以在它们之间切换。

#1


Click the "Projects" sidebar item and in the Build Settings tab, see what Qt version you are linking against.

单击“项目”侧栏项,然后在“构建设置”选项卡中,查看要链接的Qt版本。

Chances are, you're linking against the version which came with Qt when you installed it, which is dynamic. If you've made your own static build of Qt, this is where you switch between them.

有可能,你正在链接Qt安装时附带的版本,这是动态的。如果您已经创建了自己的Qt静态构建,那么您可以在它们之间切换。