Important: Please read the Qt Code of Conduct -

Find usages in split include header

  • I have a major class with lots of member access routines or forwarding routines. Those routines are declared in the class definition and the actual code is as inline routines. For this specific class the the header file became bulky and I decided to split off the inlines into seperated include file, which is basically included at the end of the declaration include. For the compiler it is the same, but it is for my internal handling easier.

    It looks a bit like:


    class A
    #include "includeImpl.h"


    inline double A::getMember1() const
        return Member1;

    Unfortunately, this setup is killing the usability of "Find usages" in creator. The inlines are cut off and will not show up.

    Any idea to get around this problem?

Log in to reply