diff options
| author | Alexey Edelev <alexey.edelev@qt.io> | 2024-01-19 12:24:10 +0100 |
|---|---|---|
| committer | Liang Qi <liang.qi@qt.io> | 2024-01-19 20:44:59 +0000 |
| commit | 6ce6ff1c529a7a4a09f211980cc749c2b3aa0dab (patch) | |
| tree | e5e1c765b22967a49ceaab1f69f108c27ce84fde /src/corelib/kernel/qmetaobjectbuilder.cpp | |
| parent | b211d8a8c0196a96b2aa324c9e3d991ae378c7f4 (diff) | |
Force CMake to look for static versions of xcb components
Add the USE_XCB_<component>_STATIC switches that force using the
static versions of xcb components if necessary.
The xcb components needs to be built with -fPIC option, to make the
static linking possible.
When Qt is built staticaly USE_XCB_<component>_STATIC needs to be
passed to the application command line, since in static case xcb
libraries are resolved and linked when configuring application, but
not when building Qt.
Pick-to: 6.7 6.6 6.5
Task-number: QTBUG-120769
Change-Id: I274e9cf4a6a111dc87ad84bb7f49cad76a3d364a
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetaobjectbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
