vedderb/vesc_tool

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

Narayanhegde14 opened this issue · 0 comments

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