![]() ![]() It's also possible to disable support for these libraries by using -no instead of -qt.Ĭonfigure in Qt 6 relies on CMake to locate third-party libraries. For example, to exclude the Qt Wayland Compositor and the Qt Wayland integration plugin from the Qt build, provide -skip qtwayland as an option to configure. Note that some directories contain multiple Qt modules. Excluding Qt ModulesĬonfigure's -skip option allows top-level source directories to be excluded from the Qt build. Furthermore, each Qt module might have features that can also be explicitly enabled or disabled. Users can explicitly exclude specific top-level directories to limit build times. Qt consists of different modules whose sources can be found in different directories inside the top-level source directory. Use of other generators might work, but is not officially supported. Ninja is both cross-platform, feature-rich, and performant, and recommended on all platforms. Therefore, configure automatically selects a generator for you.Ĭonfigure always uses the Ninja generator and build tool if a ninja executable is available. Note that CMake supports generators that cannot be used with Qt. When configuring, you can select a CMake generator. This is called a static build and can be selected when configuring with the -static option. You can also build Qt such that an executable binary will include all Qt modules it links to and all Qt plugins it needs. The matching configure option is -dynamic. ![]() This is called a shared build and is the default configuration on most platforms. Qt Modules can be built as separate libraries that an executable links to and loads at start time (for Qt libraries), or runtime (for Qt plugins).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |