Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Creator: Handling 1 header : n source files
Asperamanca last edited by
As soon as I split the implementation in such a way that the declarations within one header file are defined in multiple different cpp files, Creator gets a bit confused.
Something like this:
Definitions for base methods: myclass.cpp
Definitions for I/O methods: myclass_io.cpp
Definitions for test methods: myclass_test.cpp
Is there a way to tell Creator which files belong together, so that e.g. I can press "F4" in any of the cpp files, and get to the header file?
ChrisW67 last edited by
You can't make F4 work like that. However, F2 should switch between the declaration and the relevant definition without issue.