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

查看:13
本文介绍了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.

因此,如果有人能够阐明更改的内容、方式以及如何配置精简版"版本,那就太好了.尤其是在模块和功能依赖项上,因为我认为我们都希望避免将时间浪费在将开始构建的构建上,尽管配置不正确,忽略了必要的依赖项,只是为了让它不可避免地失败,只会浪费时间.

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-* 列表的功能在 qtbasesrccorelibglobalqfeatures.txt 中.

Features for -no-feature-* lists are in qtbasesrccorelibglobalqfeatures.txt.

默认启用所有功能.

更多信息可以在中找到Qt Lite 概述演示及其载玻片

您还可以使用新的 UI 工具,它被称为 Qt 配置工具,它是 Qt for Embedded Devices 包的一部分 - 请参阅 其文档.该配置工具目前仅适用于商业 Qt 客户(Qt 5.8).

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天全站免登陆