Qt Lite and configuration changes in Qt 5.8

后端 未结 3 1115
一个人的身影
一个人的身影 2020-12-09 19:10

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 se

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 19:57

    Per to the changelog:

    • The configuration system has been rewritten almost from scratch. This improved the consistency between builds on Unix and Windows, but some subtle unintended behavior changes are also possible. Also, some obsolete options have been entirely removed and will now cause errors.
    • It is not permissible any more to manually #define QT_NO_ anywhere. Instead, configure's -no-feature-* options must be used. Note that this does not apply to defines which modify behavior rather than entirely removing features.
    • The -no-feature-* option family was integrated with the rest of the configuration system. Numerous existing features were made optional, and build problems in various reduced configurations were fixed. This is an ongoing effort known as "Qt Lite".

    Features for -no-feature-* lists are in qtbase\src\corelib\global\qfeatures.txt.

    All features are enabled by default.

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

    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).

提交回复
热议问题