Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there a tool for converting qmake and cmake files to each other? One-click conversion, easy to use!
Is there a tool for converting qmake and cmake files to each other?
Conversion tool between .pro file and .CMakeLists.txt file，One-click conversion, easy to use!
Does the official Qt development team have plans to develop this tool?
I don't know of such tool and I have not heard of any plans to develop it. I may be missing some information though.
In any case, I think it's good to learn both if you are developing Qt apps. qmake is the (still) Qt standard, easy to use. cmake is the c++ standard - super powerful, with crazy and annoying syntax, but it makes some tasks actually easier than qmake.
Qt has a script for easy pro files in the qt repo: qtbase/util/cmake/pro2cmake.py
The direct link is: https://code.qt.io/cgit/qt/qtbase.git/tree/util/cmake/pro2cmake.py
@Christian-Ehrlicher Is there a tool for cmake2pro?
@firecat Not that I'm aware of.
@aha_1980 ok，thank you！