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

XCB Error while running with QT5.15 build file in Ubuntu. #344

Open
Narayanhegde14 opened this issue Jan 9, 2024 · 0 comments
Open

XCB Error while running with QT5.15 build file in Ubuntu. #344

Narayanhegde14 opened this issue Jan 9, 2024 · 0 comments

Comments

@Narayanhegde14
Copy link

After cloning from the repository I built the static version of QT5.15 as suggested and finally
when i ran ./build_lin it gave error as

Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
qmlimportscanner: No such file or directory: "/home/username/xxxxx/vesc_tool/res/firmwares/res_fw.qrc"
/opt/Qt/5.15-static/mkspecs/features/qt.prf:326: Error parsing JSON at 1:1: illegal value
Project ERROR: Failed to parse qmlimportscanner output.

For this error i was not able to find res_fw.qrc file in res/firmwares path, so i removed that path resource from vesc_tool.pro files "!exclude_fw" .

By doing this build was sucessful and when i ran that build file it fave me error

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

QT version : 5.15-static

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

1 participant