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. Pushbutton Name not recognized by Creator editor
Qt 6.11 is out! See what's new in the release blog

Pushbutton Name not recognized by Creator editor

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 1.2k 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.
  • O Offline
    O Offline
    ofmrew
    wrote on last edited by
    #1

    I have two push buttons on a form; one is named "run" and the other is "step". I added run and a widget, which was promoted to MyCanvas and then I added step.

    The editor finds run but not step. I have deleted step and added it again with singlestep as the name. I cannot get the editor to recognize step.

    The only difference I see is that in the XML file run has a widget entry with central widget while step only has widget.

    I added another push button called junk and the editor does not fined it and it has the same XML as set.

    What is going on?

    O 1 Reply Last reply
    0
    • O ofmrew

      I have two push buttons on a form; one is named "run" and the other is "step". I added run and a widget, which was promoted to MyCanvas and then I added step.

      The editor finds run but not step. I have deleted step and added it again with singlestep as the name. I cannot get the editor to recognize step.

      The only difference I see is that in the XML file run has a widget entry with central widget while step only has widget.

      I added another push button called junk and the editor does not fined it and it has the same XML as set.

      What is going on?

      O Offline
      O Offline
      ofmrew
      wrote on last edited by
      #2

      @ofmrew Before you ask: Mint Linux 64 Creator 4.72

      O 1 Reply Last reply
      0
      • O ofmrew

        @ofmrew Before you ask: Mint Linux 64 Creator 4.72

        O Offline
        O Offline
        ofmrew
        wrote on last edited by
        #3

        @ofmrew More info. I created a new project added three buttons and a widget. All were seen by the editor, then I promoted the widget to MyCanvas and the editor does not see any of the buttons nor the canvas when I try connect(ui->). Is it the promote or the order in which the widgets are added? In the pass I have done similar operations without a problem. This is occurring after the last update.

        O 1 Reply Last reply
        0
        • O ofmrew

          @ofmrew More info. I created a new project added three buttons and a widget. All were seen by the editor, then I promoted the widget to MyCanvas and the editor does not see any of the buttons nor the canvas when I try connect(ui->). Is it the promote or the order in which the widgets are added? In the pass I have done similar operations without a problem. This is occurring after the last update.

          O Offline
          O Offline
          ofmrew
          wrote on last edited by
          #4

          @ofmrew I give up. In the test project they just appeared and I did nothing! In my real project where the problem first appeared, the step button is still not recognized.

          O 1 Reply Last reply
          0
          • O ofmrew

            @ofmrew I give up. In the test project they just appeared and I did nothing! In my real project where the problem first appeared, the step button is still not recognized.

            O Offline
            O Offline
            ofmrew
            wrote on last edited by
            #5

            @ofmrew Final post. I ignored the editor and added a correct connect() statement. It compiled and ran; however, it is far from satisfactory: it is a bug that sends a developer down a rabbit hole. Does this count as an official bug report?

            aha_1980A 1 Reply Last reply
            0
            • O ofmrew

              @ofmrew Final post. I ignored the editor and added a correct connect() statement. It compiled and ran; however, it is far from satisfactory: it is a bug that sends a developer down a rabbit hole. Does this count as an official bug report?

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @ofmrew try updating to Creator 4.8.

              Also, do you have the Clang Code Model activated? ( Help > About Plugins > Clang Code Model)?

              Qt has to stay free or it will die.

              O 1 Reply Last reply
              1
              • aha_1980A aha_1980

                @ofmrew try updating to Creator 4.8.

                Also, do you have the Clang Code Model activated? ( Help > About Plugins > Clang Code Model)?

                O Offline
                O Offline
                ofmrew
                wrote on last edited by
                #7

                @aha_1980 Its loaded. I have updated Creator and will see. Thanks.

                aha_1980A 1 Reply Last reply
                0
                • O ofmrew

                  @aha_1980 Its loaded. I have updated Creator and will see. Thanks.

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @ofmrew i think there are some Clang fixes in 4.8 that might help in that regard. If not, please report back

                  Qt has to stay free or it will die.

                  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