Permit loading plugins built with future major Qt releases (4.x)
authorModestas Vainius <modax@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
committerAdrian Bunk <bunk@debian.org>
Sun, 20 Sep 2020 19:01:50 +0000 (20:01 +0100)
commitbe8a286861b0bfb3af3c7cdb8ebbaf258a63db2e
treef77d2bcb0944eb6f19ddf662b8028c816b1a5089
parent24b7cfbe4ad1415d65b38f82db48a622651c0021
Permit loading plugins built with future major Qt releases (4.x)

Origin: vendor
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586831

This check is too paranoid for us because it prevents from using symbol files
in full potential. Fine-grained package level dependencies should ensure that
the required version of the Qt Library is installed which might not necessarily
be the latest Qt 4.x the plugin was built against because the plugin actually
did not use any of new symbols in the Qt Library.

However, removal of this check might still increase likelihood of crashes when:

1) loading a new incompatible version of plugin into a running process still
using an old Qt Library. This might happen right after upgrade;

2) user tries to load incompatible non-packaged plugin;

but it's an acceptable compromise. Here we trade more bullet proof protection
from rare user faults or weird system misconfigurations for more flexibility,
installability and expand of forward binary compatibility beyond the same Qt
4.x whenever possible.

Gbp-Pq: Name 23_permit_plugins_built_with_future_qt.diff
src/corelib/plugin/qlibrary.cpp