Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
Qt Creator 4.7.0
-
None
Description
Right now Qt Creator can be used to edit pure C projects, but that's only possible if the user shoehorns support for C++ to adapt to C's needs. However, that hack only goes so far as some features break in some form or another.
For example, Qt Creator enables adding function definitions to C source files, but if the function is declared to accept structs as inputs the auto-generated function definition will leave out the "struct". That strategy might be valid with C++ but by omitting the "struct" the function definition ceases to be valid C.
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-20838 C Support: Add function in .c file from .h (right click) does not add the "struct" keyword
- Open