diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-04-30 14:59:47 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2021-05-19 19:13:36 +0200 |
commit | b6c2165cb49f3289639258c0df89657abbd76625 (patch) | |
tree | 7c88e39f38cc1c1f9e062e81e31e8b7e9f34714f /src/qml/compiler/qv4compilerscanfunctions.cpp | |
parent | 1d1910e70778114e5eae586792664cf6c0997ed0 (diff) | |
download | qtdeclarative-b6c2165cb49f3289639258c0df89657abbd76625.tar.gz |
Change the way how QmlDevTools propagate include directories
QmlDevToolsPrivate links QmlDevTools using the INTERFACE linking type.
This means that all PUBLIC/INTERFACE include directories of the
QmlDevTools will be propagated to the targets that link
QmlDevToolsPrivate. Since QmlDevTools is defined as an INTERNAL_MODULE
it should not be linked directly, but only as an interface dependency
of the QmlDevToolsPrivate target. According to the statements above assume
that:
target_include_directories(QmlDevTools PRIVATE ...)
target_include_directories(QmlDevToolsPrivate INTERFACE ...)
could be squashed into:
target_include_directories(QmlDevTools PUBLIC ...)
This is precondition for QTBUG-87775
Change-Id: Icd772f0900191f3972fa7432cdcb06838981b23c
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilerscanfunctions.cpp')
0 files changed, 0 insertions, 0 deletions