gpt4 book ai didi

c++ - 在 Windows 上安装 QJson

转载 作者:太空宇宙 更新时间:2023-11-04 14:15:53 25 4
gpt4 key购买 nike

现在我正在将我的项目从 Linux 移植到 Windows。

我通过 instructions 使用 QtCreator 构建了 QJson ,现在我有一个简单的问题:我应该将库 dll 文件移到哪里,以及我应该在 .pro 文件的 LIBS += 行中指定什么?

Linux 中该行的内容如下:

LIBS += -L/usr/local/lib -lqjson

最佳答案

只需在您的配置文件中添加 LIBS += YourPathTodllFile/Yourdll.dll

关于c++ - 在 Windows 上安装 QJson,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11382832/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com