Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Using Qt in on an external Server
Forum Updated to NodeBB v4.3 + New Features

Using Qt in on an external Server

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 234 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.
  • J Offline
    J Offline
    jchirkes
    wrote on last edited by
    #1

    Hello, I am having some issues. I have an old file that I created using QTDesigner that works perfectly on my computer. Now, I want to open the same .py file on an external server.
    I downloaded an app called XQuartz on my computer to me able to have a graphic interface, but it doesn't work. The error I am getting is the following:

    QObject::moveToThread: Current thread (0x55e88722e160) is not the object's thread (0x55e888be2e70).
    Cannot move to target thread (0x55e88722e160)

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/jchirkes/clam/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.

    Did any of you have similar trouble? Do you know if there are other things that I need to download to my server in order for this to work? I only imported the file I created and have downloadad PyQt5.
    Any comments would be a great help!

    jsulmJ 1 Reply Last reply
    0
    • J jchirkes

      Hello, I am having some issues. I have an old file that I created using QTDesigner that works perfectly on my computer. Now, I want to open the same .py file on an external server.
      I downloaded an app called XQuartz on my computer to me able to have a graphic interface, but it doesn't work. The error I am getting is the following:

      QObject::moveToThread: Current thread (0x55e88722e160) is not the object's thread (0x55e888be2e70).
      Cannot move to target thread (0x55e88722e160)

      qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/jchirkes/clam/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.

      Did any of you have similar trouble? Do you know if there are other things that I need to download to my server in order for this to work? I only imported the file I created and have downloadad PyQt5.
      Any comments would be a great help!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @jchirkes said in Using Qt in on an external Server:

      qt.qpa.plugin: Could not load the Qt platform plugin "xcb"

      Is X11 running on your machine?
      To get more information about why xcb plug-in could not be loaded set QT_DEBUG_PLUGINS env variable to 1 in the terminal where you're starting your app, then start your app and check the output in the terminal. See https://doc.qt.io/qt-6/debug.html

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

      1 Reply Last reply
      2

      • Login

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