** Description changed:

+ [Impact]
+ The plugin is broken (does not load) since qtbase has been rebuilt with 
XInput2 support in 
https://launchpad.net/ubuntu/+source/qtbase-opensource-src/5.12.2+dfsg-4.
+ 
+ [Test Case]
+ 1. Install deepin-screenshot or any other graphical Qt application.
+ 2. Run it with QT_QPA_PLATFORM=dxcb environment variable set.
+ 3. It should run correctly.
+ 
+ [Proposed Fix]
+ deepin-qt5dxcb-plugin is rebuilt against the current qtbase version.
+ Build-Dependency on libxcb-xinput-dev is added, otherwise it FTBFS.
+ 
+ [Regression Potential]
+ I cannot imagine regressions compared to the “does not load” state.
+ 
+ ------------------------------------------------------------------------
+ Original Description
+ 
  $ deepin-screenshot
  qt.qpa.plugin: Could not load the Qt platform plugin "dxcb" in "" even though 
it was found.
  This application failed to start because no Qt platform plugin could be 
initialized. Reinstalling the application may fix this problem.
  
  Available platform plugins are: wayland-org.kde.kwin.qpa, dxcb, eglfs,
  linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland,
  wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
  
  $ dpkg -S /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libdxcb.so
  qt5dxcb-plugin:amd64: 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libdxcb.so
  
  $ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libdxcb.so 
deepin-screenshot
  deepin-screenshot: symbol lookup error: 
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libdxcb.so: undefined symbol: 
_ZN22deepin_platform_plugin15WindowEventHook11windowEventEP6QEvent
  
  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: qt5dxcb-plugin 1.1.22-1ubuntu1
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Apr 27 09:25:01 2019
  InstallationDate: Installed on 2017-08-28 (606 days ago)
  InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
  SourcePackage: deepin-qt5dxcb-plugin
  UpgradeStatus: Upgraded to disco on 2018-02-08 (442 days ago)
  modified.conffile..etc.default.apport:
-  # set this to 0 to disable apport, or to 1 to enable it
-  # you can temporarily override this with
-  # sudo service apport start force_start=1
-  enabled=0
+  # set this to 0 to disable apport, or to 1 to enable it
+  # you can temporarily override this with
+  # sudo service apport start force_start=1
+  enabled=0
  mtime.conffile..etc.default.apport: 2018-07-03T12:21:32.224223

** Also affects: deepin-qt5dxcb-plugin (Ubuntu Disco)
   Importance: Undecided
       Status: New

** Changed in: deepin-qt5dxcb-plugin (Ubuntu Disco)
       Status: New => In Progress

** Changed in: deepin-qt5dxcb-plugin (Ubuntu Disco)
     Assignee: (unassigned) => Dmitry Shachnev (mitya57)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826629

Title:
  deepin-screenshot: can't find dxcb Qt plugin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/deepin-qt5dxcb-plugin/+bug/1826629/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to