Closed flynneva closed 2 years ago
found this on stack overflow that sounds very similar to my problem: https://stackoverflow.com/questions/20495620/qt-5-1-1-application-failed-to-start-because-platform-plugin-windows-is-missi
going to install 5.15.0 and see if that fixes the problem
same problem with Qt 5.15.0 on windows.
ros2 run turtlesim turtlesim_node
qt.qpa.plugin: Could not find the Qt platform plugin "windows" in "C:\Qt\5.15.0\msvc2019_64\plugins\platforms"
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
I have same problem, this work for me maybe solve your problem. copy "qwindows.dll" from C:\dev\ros2_galactic\bin\platforms and replace it with the same in "C:\Qt\5.15.0\msvc2019_64\plugins\platforms".
I have same problem, this work for me maybe solve your problem. copy "qwindows.dll" from C:\dev\ros2_galactic\bin\platforms and replace it with the same in "C:\Qt\5.15.0\msvc2019_64\plugins\platforms".
It works! thank you
@Ehsan8994 Thanks Your workaround helped.
@Ehsan8994 thanks this savedme
I have same problem, this work for me maybe solve your problem. copy "qwindows.dll" from C:\dev\ros2_galactic\bin\platforms and replace it with the same in "C:\Qt\5.15.0\msvc2019_64\plugins\platforms".
It worked! Thank you so much!
I can reproduce on a fresh Windows machine. Maybe it's caused by the Windows packaging job building with 5.12.0, not 5.15.0 https://github.com/ros-infrastructure/ros2-cookbooks/blob/de9d4cc159f2c4402e4636c458ad4bc535d0610d/cookbooks/ros2_windows/recipes/qt5.rb#L74-L75
Installing Qt 5.12.12 resolves the issue for me. I opened a PR to update the ROS 2 install instructions: https://github.com/ros2/ros2_documentation/pull/2499
ive followed the ros2 galactic installation instructions (installed Qt 6.2.0 instead of 5.15.0) and set the proper env vars as stated in the instructions for windows.
I've confirmed that the
qwindows.dll
exists in the path below when I copy & paste it into a finder window....just it seems I am missing something else.Any advice would be extremely helpful!