Qt Lite和Qt 5.8中的配置更改 [英] Qt Lite and configuration changes in Qt 5.8

查看:98
本文介绍了Qt Lite和Qt 5.8中的配置更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,据称,Qt的配置工具进行了一些更改,这是为了能够简化Qt的版本(也称为 Qt Lite)所必需的。但是,似乎没有关于如何使用该功能的任何文档,或者至少我没有找到任何文档,再查看发布公告中的评论,其他人也不会。

So allegedly, the configuration tool for Qt went through some changes, necessary to be able to make more streamlined Qt builds, a.k.a "Qt Lite". However, there doesn't seem to be any documentation about how to use that feature, or at least I don't find any, and looking at the comments from the release announcement, others can't neither.

此外,根据我过去几年一直使用的配置以多种方式失败的事实判断,这些更改肯定已经存在。我不确定内置帮助的最新性,因为我上次尝试使用它作为指导时,事实证明它在很大程度上已经过时并且包含不再受支持的选项。

What's more, the changes are definitely in there, judging by the fact that the configuration that I've been using for the last couple of years fails in a bunch of ways. I am not sure how up-to-date the built in help is, since the last time I tried using it for guidance, it turned out it was largely outdated and contained options that were no longer supported.

因此,如果有人可以阐明更改的内容,更改的方式以及如何为 Lite构建进行配置,这将是很好的。尤其是关于模块和功能的依赖关系,因为我认为我们都希望避免浪费时间,尽管配置不当会忽略需要的依赖关系,以免不可避免地失败并导致浪费时间,但即使不正确的配置,它也会开始构建。

So it would be nice if someone could shed some light on what has changed and how, and how to configure for "Lite" builds. And especially on module and feature dependencies, because I think we'd all like to avoid wasting time on builds that will start building despite an improper configuration that omits necessary dependencies just to have it inevitably fail and result in nothing but a waste of time.

推荐答案

根据变更日志:


  • 几乎完全从头重写了配置系统。这样可以提高Unix和Windows上的版本之间的一致性,但是也可以进行一些微妙的意外行为更改。另外,一些过时的选项已被完全删除,现在会导致错误。

  • 在任何地方手动#define QT_NO_
    都不再允许。相反,必须使用configure的-no-feature- *选项。
    请注意,这不适用于定义哪个行为而不是完全删除功能而不是

  • -no-feature- *选项家族已与其余组件集成在一起
    配置系统。许多现有功能都变为可选功能,
    并解决了各种简化配置中的构建问题。
    这是一项持续不断的工作,称为 Qt Lite。

的功能-no- feature-* 列表位于 qtbase\src\corelib\global\qfeatures.txt 中。

默认情况下启用所有功能。

All features are enabled by default.

更多信息,请参见 Qt Lite概述演示及其幻灯片

More information can be found in the Qt Lite Overview Presentation and its slides.

您还可以使用新的UI工具,称为Qt配置工具,它是Qt for Embedded Device的一部分。软件包-请参见其文档。此配置工具仅在当前(Qt 5.8)可供商业Qt客户使用。

You can also use the new UI Tool which is known as Qt Configuration Tool and which is a part of Qt for Embedded Devices package - see its documentation. The configuration tool is available for commercial Qt customers only at the moment (Qt 5.8).

这篇关于Qt Lite和Qt 5.8中的配置更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆