include legacy pre-multiarch plugin paths
authorSteve Langasek <steve.langasek@ubuntu.com>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
committerUtkarsh Gupta <utkarsh@debian.org>
Mon, 24 Jan 2022 10:55:59 +0000 (10:55 +0000)
commit37a20e5b58c18ca34091eb9aaefd7089a872f6c9
tree37b89ea8018f0fae154c5af663ccf824286c2db9
parent002c17b20968c9fb7ecebc91548e0bc358191cdb
include legacy pre-multiarch plugin paths

Last-Update: 2012-04-25

A full multiarch system requires an architecture-qualified plugin path for
Qt, but installed systems may still have plugins (e.g., from other
distribution packages) in another pre-multiarch directory.  When constructing
the plugin path, include both the configured plugin path and a plugin path
with the architecture triplet stripped out.

This applies to the general plugin loading system, and to the QML one.

Gbp-Pq: Name qt-multiarch-plugin-path-compat.diff
src/corelib/kernel/qcoreapplication.cpp
src/declarative/qml/qdeclarativeimport.cpp