Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtCreator 2.4.1, autocomplete issue with menu actions
Qt 6.12 LTS is out! See what's new in the release blog

QtCreator 2.4.1, autocomplete issue with menu actions

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

    I'm using QtCreator 2.4.1 with Qt 4.7.4 on Windows 7 on one machine.

    I've started a new project.

    • entered a few actions
    • renamed them
    • added additional actions & renamed them
    • assigned slots

    Then I've wanted to enabled/disable some according to specific conditions.
    a) first, I've noted that autocomplete offers me old names - before renaming them
    to compile had to correct to new action name
    b) second, only part of the actions are listed (missing ones from step 3 in above list)

    Tried to clean the project, run qmake, rebuild it, restart QtCreator,... but nothing helped

    Any idea?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Consider updating Qt Creator, the latest version is 3.1

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gkavrecic
        wrote on last edited by
        #3

        Thanks for your answer. But...

        It would require upgrade to Qt5 and rewrite part of old projects I have there.

        Meanwhile, I remembered I had this problem in the past and have a workaround for it.
        The problem is fully reproducible:

        • when you have multiple projects opened, containing files with same filenames (e.g.: mainwindow.h/cpp)
        • then QtCreator (at least predecesors of 3.X) reads variables/functions/etc. from wrong files, not from the active project

        So, I removed other projects and overcome the problem.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Not at all, Qt Creator doesn't impose such a restriction. The Qt version used to build Qt Creator has nothing to do with the one you use for development e.g. you can use the same for desktop/Android/iOS/embedded linux development. Except that if you want to use Qt 5.2 and upper you have to use Qt Creator 3 or above.

          I remember having a similar problem, but I haven't tried with the latest version.

          Anyway, glad you found a workaround

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gkavrecic
            wrote on last edited by
            #5

            I can differentiate between QtCreator and Qt itself.
            But when I've tried this step I had some issues, so I kept the QtSDK 1.2.1 as it is.

            Will probably retry using the new IDE with old framework.

            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
            • Unsolved