Important: Please read the Qt Code of Conduct -

Qt Creator complete code

  • Hi,
    i derivate a class with private access, like

    class A {
    public: int aVal;
    class B : private A {
    public: int bVal;

    In this case i can't acces aVal from outside the class B. But the auto complete of Qt Creator doesn't show the member as private in the selection:

    I use Qt Creator 4.2.1.

Log in to reply