-
Notifications
You must be signed in to change notification settings - Fork 89
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
Qt platform plugin not found for joint-state-publisher-gui
#576
Comments
wentasah
added a commit
to wentasah/nix-ros-overlay
that referenced
this issue
Feb 15, 2025
#577 should fix this. Or you can add: shellHook = ''
export QT_PLUGIN_PATH=${pkgs.qt5.qtbase}/${pkgs.qt5.qtbase.qtPluginPrefix}
''; as an argument to |
Thank you, the Thought I tried something similar as in the change #577, however I had no success. Perhaps I made some kind of mistake on the way. I can verify that using the branch from #577 it is also working. Thanks and great support! |
lopsided98
pushed a commit
that referenced
this issue
Feb 17, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Running the humble
joint_state_publisher_gui
I get the following error and the GUI does not startMinimal
flake.nix
sample:Expected behavior
The GUI should start and the output should look similar to the following
Observations and Workaround
It seems that the
ros2
execution does not have the correctQT_PLUGINS_PATH
environment variable set. Thus the Qt QPA plugins cannot be found.When I search for the Qt platform plugins and set the
QT_PLUGINS_PATH
thejoint_state_publisher_gui
starts up like expected.With my limited knowledge of nix and nix-ros-overlay, I could not fix this in the package on my own.
I think the same issue prevents from starting the demos and working with the Humble URDF tutorial when using the
urdf-tutorial
.The text was updated successfully, but these errors were encountered: