-
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
Upgrade to Qt Creator 4.10 #387
Upgrade to Qt Creator 4.10 #387
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution. The only request I have is just refactor the code to use FilePath
instead of using FileName = class utils::FilePath
.
Hi @Levi-Armstrong , would you mind telling us why not submit ros_qtc_plugin to codereview.qt-project.org to get automatic update? |
@iohanaan Thank you for your contribution. |
@vincent-hui If someone wants to sign up for addressing all of the requested changes from the Qt Creator developers then I would, because right now my time is focused on Tesseract and TrajOpt repositories. |
Hi @Levi-Armstrong , I think after you submit ros_qtc_plugin to codereview.qt-project.org, many people are willing to help polishing ros_qtc_plugin and focus on polishing. A Qt Creator developer André Pönitz said he can help porting ros_qtc_plugin to new Qt Creator API, let me post the reply from him
As I said before I think other people cannot submit ROS plugin code for you because other people cannot accept Qt Contribution Agreement on your behalf. Would you mind putting the plugin code at codereview.qt-project.org first? Thank a lot. |
Ok, I will work on getting it posted. Because I need to sign there document I will need to get approval from my work first before signing. |
@Levi-Armstrong thank you very much for your contribution to ROS and Qt community |
Hi @Levi-Armstrong, Would you mind telling us the progress? Did you submit ros_qtc_plugin to codereview.qt-project.org ? Thank you |
Do you need helps for submitting ros_qtc_plugin to codereview.qt-project.org ? Thank you |
I am currently still waiting on approval. I will follow up again. |
Hi @Levi-Armstrong, Did you get approval? |
ping @Levi-Armstrong , any response? Also, for (very minor) new contributions, I'm currently unclear whether they should be contributed to the 4.9 (default) or 4.10 (latest) branch. |
Hi @Levi-Armstrong , |
@Levi-Armstrong @gavanderhoorn Are there plans to continue support for this plugin in the context of ros-industrial and what is the state of getting it submitted upstream to qt-project? qt-creator 4.12 is released by now (and actually required for llvm 10.0.0) and APIs changed quite a bit again. Even with 4.10 I had the feeling some features do not work as they should. I just recently started using the plugin and it is quite a difference to plain vim 😎 . |
It is. Is there something in 4.12 that is needed? The main reason I have not spent time on upgrading it is the current release version supports my needs. If there is something that the community needs from 4.12 I will see what I can do. |
As I said, my distribution recently upgraded to llvm 10 and qt-creator only supports this in version 4.12.
I also tried patching qt-creator 4.10 to support the new version, but it's a bit more than the usual clang-format parameter changes
and upgrading the whole qt-creator is conceptually the better solution of course.
|
The way this is distributed in most case it should not matter what is on your system. It should be bundling everything it needs similar to a snap package. Can you post the error from Qt Creator that is complaining about llvm10? |
I build from source using your setup.sh (although I had to modify things a bit to remove the debian-system assumption). The qt-creator this downloads can be configured to use a custom clang version, but then I would package and build another random clang version, e.g., in Digging through the qt-creator history, I found this commit which actually applies on top of qt-creator 4.10 to get support for llvm 10. With this I have a working qt-creator with llvm 10. Of course, it still remains important to move forward to qt-creator 4.12 upwards, but at least I have a working ide for the moment. There seem to be quite a lot of API changes in the |
yes, and this is (partly) the problem with Qt Creator and maintaining plugins for it: they break API every *** release. It's not just a matter of recompiling for a new version, it's essentially checking "everything" every time. |
they break API every *** release.
It's not just a matter of recompiling for a new version, it's essentially checking "everything" every time.
Reading previous comments in this thread, I am under the impression that submitting the plugin to the qtproject can alleviate these problems because upstream could/would support the migration.
|
It's not a magical process. There's actually still work involved. |
It's not a magical process. There's actually still work involved.
I never said so. https://www.merriam-webster.com/dictionary/alleviate
Anyway, I'm looking forward to functional support for more current versions of qt-creator.
|
Yes, of course. There's actually still work involved like testing.
|
I will have sometime in the near future to get this working on the latest version. I am interested in trying to push this upstream but before I do I would at least like to update it to conform to there style guide before doing so. I will not have the time to do this but if someone else wants to take on the effort of doing so after I get it updated to the latest version, I will make time to support. |
Could you link to the guide you mean? I found this linking to a qt-creator guideline, but the link is dead. What exactly needs to be cleaned up in your opinion? |
Address issue #386