← Back to team overview

touch-packages team mailing list archive

[Bug 1519927] [NEW] Please backport this patch into qtbase-5.5 for wily

 

Public bug reported:

There's an issue with QCoreApplication::libraryPaths() which always
appends QLibraryInfo::location(QLibraryInfo::PluginsPath) first and only
then it reads/appends QT_PLUGIN_PATH contents. In K/Ubuntu,
QLibraryInfo::location(QLibraryInfo::PluginsPath) returns
"/usr/lib/x86_64-linux-gnu/qt5/plugins" by default.

This makes effectively all custom development outside of /usr impossible
if there is also a system version of some plugin as Qt will /always/
load the system one rather than the one that's being worked on (and
installed to say /opt), even with correct QT_PLUGIN_PATH set.

This is fixed in Qt but apparently in 5.6 only, so I'd like to request
backporting this following commit to Qt 5.5 for wily:

http://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/kernel/qcoreapplication.cpp?id=6129be8a4ba976c42e51012ebaa9005eb402db80

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1519927

Title:
  Please backport this patch into qtbase-5.5 for wily

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  There's an issue with QCoreApplication::libraryPaths() which always
  appends QLibraryInfo::location(QLibraryInfo::PluginsPath) first and
  only then it reads/appends QT_PLUGIN_PATH contents. In K/Ubuntu,
  QLibraryInfo::location(QLibraryInfo::PluginsPath) returns
  "/usr/lib/x86_64-linux-gnu/qt5/plugins" by default.

  This makes effectively all custom development outside of /usr
  impossible if there is also a system version of some plugin as Qt will
  /always/ load the system one rather than the one that's being worked
  on (and installed to say /opt), even with correct QT_PLUGIN_PATH set.

  This is fixed in Qt but apparently in 5.6 only, so I'd like to request
  backporting this following commit to Qt 5.5 for wily:

  http://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/kernel/qcoreapplication.cpp?id=6129be8a4ba976c42e51012ebaa9005eb402db80

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1519927/+subscriptions


Follow ups