summaryrefslogtreecommitdiffstats
path: root/examples/widgets/richtext
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-10-08 11:35:06 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-10-10 13:26:37 +0200
commita6ece9e88a3b227b7359d85d2641e9aab9be1c7b (patch)
treed9603a6daf4f81e80003b1fa4e873852f2a25585 /examples/widgets/richtext
parent386768298cf2be024de673f5329c94a23dab4b90 (diff)
Fix relocatable prefix for hardware-specific Linux builds
Since Qt 5.3.0 we recommend that Linux distributions place a SSE2-enabled copy of QtCore in a $PREFIX/lib/sse2 subdirectory (see Qt 5.3.0 changelog for details). Same for other hardware capabilities like AVX2 and AVX512. This use case was broken with the introduction of the 'relocatable' feature, because the prefix is determined from the location of libQt5Core.so and the relative path from libdir to prefix, which is baked in at configure time. We now try to locate the libdir below the prefix, and if that fails try again in the upper directories. Fixes: QTBUG-78948 Change-Id: Ieec6e1484974e19335cf08ae0df3ee5c0e316d28 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/richtext')
0 files changed, 0 insertions, 0 deletions