Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] Editor in QtCreator 3.2.1 doesn't see variables
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 865 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    blacky
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      blacky
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • B Offline
          B Offline
          blacky
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved