ros-industrial / ros_qtc_plugin

ROS Qt Creator Plug-in (https://ros-qtc-plugin.readthedocs.io)
396 stars 213 forks source link

cannot be loaded in windows #461

Closed zk8514 closed 2 years ago

zk8514 commented 2 years ago

Screenshot 2022-03-01 161224

christian-rauch commented 2 years ago

It is hard to fix this without details. Which version of the plugin is this? Which version of Qt Creator are you using? Do you have all the dependencies installed?

zk8514 commented 2 years ago

It is hard to fix this without details. Which version of the plugin is this? Which version of Qt Creator are you using? Do you have all the dependencies installed?

plugin 0.5.0 qt6.0.2 and about dependencies, github only shows what is needed in ubuntu, these packages i can't find via chocolatey image

christian-rauch commented 2 years ago

Please, don't paste screenshots of text. Paste the text instead directly.

These are build dependencies. They are only required if you want to build the plugin from source. I assume you are trying to use the binary Windows builds (*.dll).

plugin 0.5.0 qt6.0.2

The Qt version is not important. The Qt Creator version has to match the plugin version because of API differences. That is why I was asking for the Qt Creator version.

From where did you download Qt Creator?

christian-rauch commented 2 years ago

I downloaded Qt Creator 6.0.2 for Windows 64-bit and ROSProjectManager-0.5.0-Windows-AMD64.zip.

After extracting the plugin zip file to C:\Qt\qtcreator-6.0.2, I can start Qt Creator and see the ROS plugin in the list of plugins: ros_qtc_windows

zk8514 commented 2 years ago

I downloaded Qt Creator 6.0.2 for Windows 64-bit and ROSProjectManager-0.5.0-Windows-AMD64.zip.

After extracting the plugin zip file to C:\Qt\qtcreator-6.0.2, I can start Qt Creator and see the ROS plugin in the list of plugins: ros_qtc_windows

thank you
i installed a new Qt creator in C:\ ,then it loaded the plugin successfullly

zk8514 commented 2 years ago

I'm sorry, but I have met another trouble: QQ截图20220303110621 it can't detect the ROS distribution although I set the ROS Distros. I tried many paths ,such asC:\opt\ros\melodic\x64, C:\opt\ros\melodic\x64\bin, but it also didn't work I installed the ros by wiki:https://wiki.ros.org/Installation/Windows

christian-rauch commented 2 years ago

I have no experience with ROS on Windows and can therefore give no answer for this. I recommend that you use Ubuntu.

You probably have to make sure that ROS has been installed correctly and you have to provide the full path of the installation. I would try to run some ROS nodes from the command line before working with the ROS Qt Creator plugin.

If you need more help with generic ROS questions, use https://answers.ros.org and https://robotics.stackexchange.com. This issue tracker is only for the Qt Creator plugin and we also only provide rudimentary support for other operations systems than Ubuntu.