summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-04-22 15:09:44 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2021-04-23 21:31:57 +0200
commitddaa7150d85624ab545ccfe098fe8b2d18241940 (patch)
tree13aae164a3684278bc033d411472e396154ee705 /tests/auto
parentb5e9130c44a28ff7891f124865c2f322729b834a (diff)
Switch to target_sources approach for the static library resources
Linking the object resource library to the static library still causes an issue if the static library contains symbols that are used in the resource library. The proposed approach creates the following linker chain: executable <- resource objects <- static library <- Qt::Core For the static qml plugins this means that the qmlcache_loader object file will state in the linker command line before the plugin library that implements '::qmlData' and '::aotBuiltFunctions' functions. We also need to keep the INTERFACE linking of the resource library to the targets that it belongs too, to collect all the dependencies that resouce library supposed to propagate to top-level targets. Pick-to: 6.1 Fixes: QTBUG-93002 Change-Id: Ice0aabb6817317724abeb3db3bb8a954905cfad1 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions