[Solved] Editor in QtCreator 3.2.1 doesn't see variables



  • Hi! I use QtCreator 3.2.1 with Qt 5.3.2 from qt-opensource-linux-x64-5.3.2 SDK on Gentoo. I have strange bug - editor doesn't see any variables of Qt classes or my custom classes. As a consequence - complete and autocomplete for methods of these variables isn't working. But if i write valid code which use these variables it compile and running without problems. Any ideas what is happens?

    Thanks for your help.



  • I found that problem in parentheses when I use creation on heap:
    @
    QWidget *widget = new QWidget(); // don't parse
    QWidget *widget = new QWidget; // parse correctly
    @
    But first expression is correct expression. This is bug in QtCreator?



  • Try to switch C++ code model to clang or to qt-creator built-in depending what is set now.
    Does it help?



  • Thanks but this was bug and he is already fixed in upcoming release.


Log in to reply
 

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