Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator problem
Forum Updated to NodeBB v4.3 + New Features

Qt Creator problem

Scheduled Pinned Locked Moved General and Desktop
12 Posts 3 Posters 3.5k 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.
  • J Offline
    J Offline
    jack249
    wrote on last edited by
    #3

    sierdzio:
    I dun really understand what u talking. I just suddenly found that my Qt Creator's auto completion function is not functioning well. The "ui" is a pointer of a object where it is generated automatically. Few days ago, it will automatically change the "." to "->" since the "ui" is a pointer of object. But now, it remains as ".".

    I had also found that after i type 3 character after it, it will change to "->".
    For example:

    ui.xxx will become ui->xxx

    Why the auto completion not running immediately? Any setting on it?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #4

      Ah, ok. I thought you might have changed your project.

      You might try going to Tools->C++->Update code model, but I doubt it would help. I don't think that kind of thing has ever happened to me. Also, try rebuilding your project - maybe if ui_*.h file is missing, QtC cannot extract object info?

      (Z(:^

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jack249
        wrote on last edited by
        #5

        The problem now is the auto completion not function immediately...
        It will only function after 3 characters are key in.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #6

          Standard setting in Qt Creator is for auto completion to be triggered after 4 characters. You can force it to be run earlier by using Ctrl+Space.

          (Z(:^

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jack249
            wrote on last edited by
            #7

            But i rmb tat last time the "." symbol will change to "->" immediately.

            Btw, the changing of "." to "->" is it the function of auto completion?

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #8

              Doh, I don't know :) I'm just throwing some random ideas hoping that any would be helpful to you :P I know it used to change immediately for you and as I've already said, I don't know why that behaviour changed for you, nor do I know how to fix it.

              (Z(:^

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jack249
                wrote on last edited by
                #9

                Then I have to wait for other professionals T_T
                Anyway thx for ur reply :)

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

                  I recently had a similar issue in Qt Creator from master branch. It is fixed by now. So if you are using a build from master you might want to try updating.

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jack249
                    wrote on last edited by
                    #11

                    What does it means by "build from master"?

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

                      "master" is the branch where all our development happens. So anything build from that branch has all the latest and greatest features and of course bugs;-)

                      Currently the version number used in the master branch is 2.5.81.

                      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