-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
No support of VS Qt projects #121
Comments
It's hard to support VS Qt solutions because of many Qt specific things there. It has been asked for full verbose logs. Have you missed it? |
Thanks for fast feedback! About Qt, there's only a few steps in the build process requiring Qt, so I hope we could have a “partial CMakeLists.txt” regarding Qt projects, only containing standard build processes, and stuff like comments regarding manual Qt implementation, but I have no idea how easy it is to do. Otherwise, I'll just have to write the whole CMakeLists.txt by hand it sounds like. |
I would not like to implement partial solution. It's not so easy to support Qt and all versions of it at VS solutions. Also I have no setup of Qt on my machine to develop that. If you propose PR with our idea I could consider to apply your work. Your solution is small and you can easily change some lines there to achieve your "partial CMakeLists.txt". Verbose mode will help you. |
The error quoted here is simply a result of an overly-permissive regex here: https://github.com/pavelliavonau/cmakeconverter/blob/develop/cmake_converter/visual_studio/vcxproj/parser.py#L287 Changing it to Now whether it produces a ready-to-go Qt build is another story. At least some Qt bits need to be added manually, it seems like. But it's a nice start, thanks for that! As for adding further Qt support, IMHO don't bother at this point... Qt project has switched to CMake so sooner or later seems like their Qt VS Tools extension will need to support exporting to CMake instead of qmake. 🤷🏼♂️ |
Description
cmakeconverter
version2.1.0
<ImportGroup Condition="Exists('$(QtMsBuild)\qt.targets')">
To Reproduce
Steps to reproduce the behavior:
cmakeconverter
Expected behavior
Hopefully, a fully working converter handling Qt projects, but I know even though we manage to fix this issue, some other stuff like Qt MOC will be troublesome.
A workaround would be to have it ignore the Qt build part of the related projects, and put placeholders in the CMakeLists to make it easy filling what's missing by hand.
Does that sound easy to do?
Additional context
Working on a VC++ Qt solution I'm willing to be able to cross-build through a Linux system.
Cross-platform and Linux build would be for later.
The text was updated successfully, but these errors were encountered: