Hi there! Qt Creator is correct in that there are no targets defined anywhere in the reply CMake generated. You seem to expect that: So is that indeed something you intended to do? What is the use-case you have here?
Creator treats this case as an error since I could not imagine that any CMake project would do this, but I learn something new about CMake every day, so I might have been wrong with that assumption. Best Regards, Tobias On Tue, Mar 31, 2020 at 1:12 PM Gena Bug <[email protected]> wrote: > > 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. _______________________________________________ Qt-creator mailing list [email protected] https://lists.qt-project.org/listinfo/qt-creator
