You have created a graphical application. Your application is functionally dependent on your xorg.conf (X server configuration file). The X server is your display windows that are based on your graphics hardware.
When you tried to run the same application on another computer, it wants to read the same configuration as on your old computer. Because each computer has an xconf.org file located in / etc / x 11 / xconf.org. On a new computer, the computer can read information from xconf.org, but it cannot read all the information. That is why it partially works.
Your graphics card improves your X server. Thus, the configuration continues to add your xconf.org based on the installation of the graphics driver. But on a computer without a video card, there is also xconf.org for displaying it.
The following is the FSM connection for connecting the X server (state machine). In your case, _xcb_out happens because it displays something. But the correct _xcb_in (XCB Input) or _xcb_ext (XCB extension) is incorrect.
I canโt say exactly what causes this error. But FSM is an advanced machine based on different contexts. They search for channels of configuration files to complete the XCB connection setup. In your case, the XCB connection has an error, so the XCB setup cannot happen.

On each display of the X-server, you must first complete the connection with the X-server, after which further processing takes place.
Take a look at the code below from Wikipedia: https://en.wikipedia.org/wiki/XCB
#include <xcb/xcb.h>
Here is a link you can explore more: https://xcb.freedesktop.org/tutorial/
So what is the solution here? QT uses dynamic linking when compiling by default. If you use static linking, then the executable package contains all the libraries you need to run, and therefore, anywhere you want to run, you can run. So, on your old machine, compile static links. It creates something like tar. You must install this tar on your computer. It should work.
QT, by default, uses dynamic linking: Does Qt create a default creator to statically or dynamically link its libraries?
How can you change QT to static linking: How to make Qt and Qtcreator link libraries statically rather than dynamically?