Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run test program on Ubuntu after installed qt #100

Closed
hsiang-lee opened this issue Aug 8, 2021 · 6 comments
Closed

Cannot run test program on Ubuntu after installed qt #100

hsiang-lee opened this issue Aug 8, 2021 · 6 comments

Comments

@hsiang-lee
Copy link

I use install-qt-action to install qt environment.In step test to run the test program which depends on Qt, it failed.I guess some plugin not installed successfully, or some environment variables not set correctly.Could you please have a look?

Here is the log:
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/runner/work/gerber_render/gerber_render/build/tests/platforms" ...
loaded library "/home/runner/work/gerber_render/Qt/5.14.2/gcc_64/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" 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: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

@pzhlkj6612
Copy link
Contributor

Hi.

Maybe you need to install libxcb-xinerama0.

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

Google the above error message and you can find more information about it.

@jurplel
Copy link
Owner

jurplel commented Aug 11, 2021

I will have install-qt-action install those packages if you guys think it is worth it.

@pzhlkj6612
Copy link
Contributor

I will have install-qt-action install those packages if you guys think it is worth it.

Hi, I think it would be great. Let's see #88 .

@jurplel
Copy link
Owner

jurplel commented Aug 11, 2021

Ok, will do.

@jurplel
Copy link
Owner

jurplel commented Aug 14, 2021

Done!

@jurplel jurplel closed this as completed Aug 14, 2021
@hsiang-lee
Copy link
Author

Done!

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants