No arrow/dot autocomplete for C structs?

  • Hello,

    I'm used to having this nice little autocompletion that transforms a dot (".") to an arrow ("->") when I'm accessing a class data by using a pointer.
    This seems to not to work for C structures pointers:

    typedef struct _C {
    int a;
    int b;
    } MyStruct;

    int function(){
    MyStruct toto = (MyStruct)malloc(sizeof(MyStruct));
    toto. // <- won't change to an arrow automatically


    Is this a bug on my side? Or is it normal?

    My setup: QTCreator 2.7.0 built with Qt 4.8.4 on Windows 7 64b.

  • Moderators

    Please "file a bug report": for things like this.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.