Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QObject::moveToThread and qt.qpa.plugin
QtWS25 Last Chance

QObject::moveToThread and qt.qpa.plugin

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtpluginqobject
2 Posts 2 Posters 642 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tonystark
    wrote on 17 Apr 2024, 03:33 last edited by tonystark
    #1

    When try to run QtApplcation I wouldget this ERROR:
    QObject::moveToThread: Current thread (0x5cb15add2500) is not the object's thread (0x5cb1627ed760).
    Cannot move to target thread (0x5cb15add2500)

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/media/lenovo/Windows 10/KM/Jarvis_client/.venv/lib/python3.10/site-packages/cv2/qt/plugins" 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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

    Even After installing and re-installing the PyQt5,libxcb-xinerama0 package it would throws this Error

    J 1 Reply Last reply 17 Apr 2024, 05:20
    0
    • T tonystark
      17 Apr 2024, 03:33

      When try to run QtApplcation I wouldget this ERROR:
      QObject::moveToThread: Current thread (0x5cb15add2500) is not the object's thread (0x5cb1627ed760).
      Cannot move to target thread (0x5cb15add2500)

      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/media/lenovo/Windows 10/KM/Jarvis_client/.venv/lib/python3.10/site-packages/cv2/qt/plugins" 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: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

      Even After installing and re-installing the PyQt5,libxcb-xinerama0 package it would throws this Error

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 17 Apr 2024, 05:20 last edited by
      #2

      @tonystark Please do what is usually suggested here in such cases: set QT_DEBUG_PLUGINS env variable before starting your app and post its output here.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      17 Apr 2024, 05:20

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved