在从源码构建Qt的过程中,我可以制作或提名哪些部件?

问题描述 投票:0回答:1

我下载了 qt-everywhere-src-5.12.7.tar.xz 其中包含一个README,上面写着。

See output of `./configure -help' for documentation on various options to configure.

该输出包括以下内容。

Component selection:

  -make <part> ......... Add <part> to the list of parts to be built.
                         Specifying this option clears the default list first.
                         [libs and examples, also tools if not cross-building,
                         also tests if -developer-build]
  -nomake <part> ....... Exclude <part> from the list of parts to be built.
  1. 我怎样才能找到可以用来作为... part?

如何将Qt编译成静态,我可以看到一些选项是

-nomake demos -nomake tools
  1. 怎樣 -no-webkit -no-script这是不是和 -nomake-webkit -nomake-script?

我尝试了以下方法,得到了一个与以下相关的错误信息 -no-webkit:

$ ./configure -prefix $PWD/qtbase -opensource -release -no-webkit -no-script -no-scripttools -no-qt3support -nomake demos -nomake tools -nomake examples
+ cd qtbase
+ /home/user/Downloads/qt/qt-everywhere-src-5.12.7/qtbase/configure -top-level -prefix /home/user/Downloads/qt/qt-everywhere-src-5.12.7/qtbase -opensource -release -no-webkit -no-script -no-scripttools -no-qt3support -nomake demos -nomake tools -nomake examples
Creating qmake...
............................................................................................Done.
Info: creating super cache file /home/user/Downloads/qt/qt-everywhere-src-5.12.7/.qmake.super
Info: creating cache file /home/user/Downloads/qt/qt-everywhere-src-5.12.7/.qmake.cache
ERROR: Unknown command line option '-no-webkit'.

c++ qt build qt5 qmake
1个回答
1
投票

https:/doc.qt.ioqbsqt-modules.html。

axcontainer axserver 并发核心 dbus 声明式设计器 enginio gui help multimedia multimediawidgets network opengl phon printsupport quick quickcontrols2 qml qmltest script scxml sql svg testlib webkit webkitwidgets widgets xml xmlpatterns

© www.soinside.com 2019 - 2024. All rights reserved.