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. Creator very very very slow on finding/creating slot funktion from designer
Forum Updated to NodeBB v4.3 + New Features

Creator very very very slow on finding/creating slot funktion from designer

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 526 Views 3 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.
  • Andy314A Offline
    Andy314A Offline
    Andy314
    wrote last edited by Andy314
    #1

    Hello,
    if I choose from the contexmenü of a QPushButton ->Slots/clicked() I must wait about 25 second for the jump to its code implementation. Its the same time for a new or a existing slot-funktions.

    This worked in old Creator version immediately.

    It is a very annoying situation.

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

      Hi,

      On which version of Qt Creator are you seeing this change ? Which was the last version fast enough ?

      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
      • Andy314A Offline
        Andy314A Offline
        Andy314
        wrote last edited by
        #3

        Now I use Creator 16.0.1 for Windows.
        My previous version was very old 10.0.1.

        1 Reply Last reply
        0
        • Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote last edited by
          #4

          The widgets designer is typically slow finding signals and slots, when either the project structure is complex or custom slots aren’t properly propagated. I have also observed issues with slot connections, if the underlying project has changed in structure. Any of those conditions given in your project?

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          0
          • Andy314A Offline
            Andy314A Offline
            Andy314
            wrote last edited by Andy314
            #5

            What means complex structure ? It seem that it takes nearly exactly the same time in every dialog in dependent of its count of widgets. Nothing seem to be cached. The next call of the same issued costs exactly the same time.

            Cannot really understand what is the complexity to find a funktion with a special signature in some code lines. Esprcialy because the old Creator made this task 25 times faster.

            Besides, a nice feature for the Designer would be, if on can see in the slot list if a slot funktion exists yet. A * sign or so. Sometimes I have not the overview what kind of slots are connected und I must check it all - what is very slow now.

            1 Reply Last reply
            0
            • Axel SpoerlA Offline
              Axel SpoerlA Offline
              Axel Spoerl
              Moderators
              wrote last edited by
              #6

              Whatever it is, it has to do something with your PC or your project.
              I am using Creator every day on a 3 year old HP ZBook with 64 GB of RAM and openSuSE Tumbleweed.
              It literally takes milliseconds to find slot functions.

              Besides, a nice feature for the Designer would be, if on can see in the slot list if a slot funktion exists yet. A * sign or so. Sometimes I have not the overview what kind of slots are connected und I must check it all - what is very slow now.

              The widget designer shows a list of signals. You can use the autoconnect feature with the on_<ui-element>_<signal-name> syntax. You can also manually connect to a slot named differently. You can use multiple connections, which you set up and disconnect at run time. The "Go to slot" function just implements the autoconnect version in the cpp file that includes the code generated from the form. If the slot is already implemented, it makes Creator jump to it. The logic of when to put an asterisk isn't trivial.

              The question makes me think whether the cpp file with your implementation is actually super-huge and somehow slowing Creator down.

              Can you boil the issue down to a small, compilable reproducer?

              Software Engineer
              The Qt Company, Oslo

              1 Reply Last reply
              1

              • Login

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