[Qt-creator] Code completion issue

Kris Wong wongk at seapine.com
Mon Jan 12 15:52:32 CET 2009


Code completion does not function correctly when importing a class via the "using" keyword.  Example:

namespace foo {
class bar {
public:
        void test() {}
};
}

This works fine:

int main() {
        using namespace foo;
        bar b;
        bar.    // completion invoked
}

This does not:

int main() {
        using foo::bar;
        bar b;
        b.      //completion not invoked
}

Kris Wong




More information about the Qt-creator-old mailing list