[英]How to use premake with a vs2017 Qt project?
I have a Qt project with Visual Studio 2017. I tried to generate project files with premake and used the premake5.lua file from this page " https://wiki.qt.io/Premake_Project_Manager ". I have a Qt project with Visual Studio 2017. I tried to generate project files with premake and used the premake5.lua file from this page " https://wiki.qt.io/Premake_Project_Manager ". this file uses a qt-support.lua module which is available on github.
此文件使用 qt-support.lua 模块,该模块在 github 上可用。 However, when I build my project with premake it shows the following error "qt-support.lua:707: action "qt" needs a description".
但是,当我使用 premake 构建我的项目时,它显示以下错误“qt-support.lua:707:动作“qt”需要描述”。 Next, I download the example repository that is referenced in the official Qt documentation ( https://github.com/annulen/qt-examples-premake ) and tried to generate the project files for that.
接下来,我下载官方 Qt 文档( https://github.com/annulen/qt-examples-premake )中引用的示例存储库并尝试为此生成项目文件。 Even with their repository, it shows the same error.
即使使用他们的存储库,它也会显示相同的错误。 I haven't used premake before and so I might probably be missing something obvious.
我以前没有使用过 premake,所以我可能会遗漏一些明显的东西。
Try this one:试试这个:
https://github.com/dcourtois/premake-qt https://github.com/dcourtois/premake-qt
I've been using it for years and I'm very happy with it.我已经使用它多年了,我对它非常满意。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.