mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-07 15:36:54 +08:00
Fix missing .qch files when building documentation in the CI
We need to build the target "docs", not "generate_docs". The latter only creates html documentation. Creating .qch files is done with qhelpgenerator, and qhelpgenerator needs proper platform plugins and the sqlite plugin. To keep things simple, we build all the platform plugins and SQL plugins. Fixes: COIN-659 Change-Id: Ief8f71f27836e7667e3a96e0b2654bdd45647ed4 Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
@@ -24,13 +24,13 @@ instructions:
|
||||
- type: Group
|
||||
instructions:
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target qttools/all --parallel -v"
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target qtbase/src/plugins/platforms/all qtbase/src/plugins/sqldrivers/all qttools/all --parallel -v"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to build sources.
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target generate_docs -v"
|
||||
command: "{{.Env.ENV_PREFIX}} cmake --build . --target docs -v"
|
||||
maxTimeInSeconds: 12000
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
|
||||
Reference in New Issue
Block a user