Hi, Tobias,QtC prints "Invalid codemodel file generated by CMake: No targets.". Indeed, by default there is no targets defined, however I expect to see a list of variables on the Project pane. Running QtC cmake-command manually and then cmake-gui at this folder gives me the list.
On 3/30/20 8:46 PM, Tobias Hunger wrote:
Sorry, I somehow lost the mailing list in my reply: ---------- Forwarded message --------- From: Tobias Hunger <[email protected]> Date: Sun, Mar 29, 2020 at 7:19 PM Subject: Re: [Qt-creator] can't parse cmake project To: Gena Bug <[email protected]> CMake 3.16 will ise file-api. On Sat, Mar 28, 2020, 16:55 Gena Bug <[email protected]> wrote:By default (i.e. call cmake w/o args) the project doesn't add any target to build. Could that be the problem?The esasiest way to test this is to just copy the commands creator runs into a terminal amd try them that way. Then you will know for sure whether or not that is the problem. Are there files in .cmake in your build directory? File-api mode should have created some files in folders below that. They are in json and semi-readable, so you might want to check whether the information in those files makes sense for your project. Feel free to mail them to me if you are comfortable with sharing that information. Best Regards, Tobias _______________________________________________ Qt-creator mailing list [email protected] https://lists.qt-project.org/listinfo/qt-creator
<<attachment: dot.cmake.zip>>
_______________________________________________ Qt-creator mailing list [email protected] https://lists.qt-project.org/listinfo/qt-creator
