Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.1
-
None
-
baddc0a19 (dev), 858bb5df1 (6.9), b5e21105b (6.8)
Description
Configuring and building qtbase with
qtbase/configure -debug-and-release -force-debug-info -prefix $PWD/../installed ninja install
And then trying to build qtopcua with
$qt/bin/qt-configure-module ../../../worktrees/dev/qtopcua -- -GNinja -DCMAKE_BUILD_TYPE=Release ninja
will skip building all qtopcua tools, one of which is qopcuaxmldatatypes2cpp.
This happens because of code in
EXCLUDE_FROM_ALL skips any config that is not RelWithDebInfo, which is not the configured Release.
The code should build all tools, when it detects that a single-config generator is used to build a repo that is built against a debug-and-release qtbase.
Originally reported as a comment on QTBUG-132338
Attachments
Issue Links
- relates to
-
QTBUG-132338 QtOpcUa Required QtVersion Wrong
-
- Closed
-
For Gerrit Dashboard: QTBUG-132609 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
615397,3 | CMake: Build executables in single-config debug-and-release builds | dev | qt/qtbase | Status: MERGED | +2 | 0 |
618848,2 | CMake: Build executables in single-config debug-and-release builds | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
618954,2 | CMake: Build executables in single-config debug-and-release builds | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |