将 QtLua 添加到 QtCreator 项目
好吧,我有一个名为 libqtlua-1.4 的文件夹,其中有 libqtlua.so(qtlua 可执行文件),在 libqtlua-1.4/src/QtLua 中有标头。
我如何将它包含在 qtcreator 项目中? (我正在 ubuntu 11.10 中运行)
任何建议将不胜感激。
Well i have a folder called libqtlua-1.4 in which i have the libqtlua.so, the qtlua executable, and in libqtlua-1.4/src/QtLua i have the headers.
How can i include it in a qtcreator project?
(I am running in ubuntu 11.10)
Any suggestion would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须在项目文件(扩展名为 .pro 的文件)中指定库,以便 qmake 在编译时能够看到它们:
参考文献: LIBS,包含路径。
You have to specify the library in you project file (file with .pro extension) to qmake be able to see them when compile:
References: LIBS, INCLUDEPATH.