-
Notifications
You must be signed in to change notification settings - Fork 215
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
Does not support Qt Creator Device functionality #497
Comments
@christianrauch what is the best way for me to build and test changes to the plugin on Ubuntu? |
Another option is to just move away from using our build,run and clean steps and just use the Qt Creator built in Custom Process Step, which is what I am currently using to work around this along with the clangd plugin for code completion. |
I updated the README in #498 with information on how to run Qt Creator with the plugin in Debug mode from the command line (section Please have a look at the PR and let me know if this helps or if you need me to add more information. |
Thank you, I will go through the process and let you know how it goes. |
@Levi-Armstrong What's the process you're using to run a custom process in the docker environment? I put a bit of effort into running a |
Thanks. What have you changed for the kit and/or device settings? |
|
@christian-rauch What are your thoughts on removing our custom steps and just have the this populate the build and run with the necessary custom process steps? This may be better long term. |
At the moment we have a "Colcon Step" etc. that can be further extended with colcon or CMake arguments. Are you suggesting that we remove that and automatically create a custom step with a predefined command and arguments? How would we set the environment in this case? This would reduce the maintenance costs for updating the plugin API but it would prevent us from parsing the colcon output for progress. |
I'm also trying to build a project within a docker image with this plugin and am running into some issues. My docker device and corresponding kit seems to be set up correctly as far as I can tell. First it seems like the provided I tried using the custom process step to "manually" invoke
|
There are several things under the hood that run a process to get things like environment and other things which need to be updated to make the call through the device to fix the issue. |
I think everything in the ros_utils.h/cpp take a QProcess and these need to be updated to leverage the active device. |
Qt Creator provides different devices to allow you to build code like on remote device, docker device, etc., but there a few things with this plugin which prevent it from being used with these types of devices. Any where in the plugin where we create a process for calling source to get environment variables, etc. need to be updated to use the device object for running these so they are compatible with Qt Creator device functionality.
The text was updated successfully, but these errors were encountered: