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. Qt Creator - Autocomplete & variable recognition
Qt 6.11 is out! See what's new in the release blog

Qt Creator - Autocomplete & variable recognition

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 3.7k 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.
  • F Offline
    F Offline
    Firehand
    wrote on last edited by
    #1

    Hello,

    Yesterday i decided to update Qt Creator to the last rep version to test if there is anything interesting and new. The previous one was also compiled from source. I noticed that some classes which i uncluded are not colored anymore. When i declare a variable with them it doesnt append their object after "->" or "." its strange that it happens only for some of the classes and i didnt find any reason.
    For example i have a project where QTextEdit, QMenuBar, QToolBar, QMainWindow and QTreeWidgetItem are not recognized by Qt Creator when the rest ten are perfectly recognized and autocompleted.
    The problem persist only in the IDE itself because the compiler is working with this source without any errors/warnings. When i install QTC from the .bin installer everything is OK. This problem is only when compiled from source. Is there any script in the .bin installer which makes any additional settings for the Qt dirs?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      What is the last rep version? A build from master branch?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Firehand
        wrote on last edited by
        #3

        Ubuntu 12.04 (Beta)
        Qt Creator version 2.5.81 (fetched with git clone)
        Qt 4.8.1 (32bit)

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          There were some changes to the c++ preprocessor recently in master which might have caused problems like this... "please report a bug":http://bugreports.qt-project.org/.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            Firehand
            wrote on last edited by
            #5

            Thanks, Tobias.
            I reported it as a bug here https://bugreports.qt-project.org/browse/QTCREATORBUG-7237

            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