Unsolved Pushbutton Name not recognized by Creator editor
-
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?
-
@ofmrew Before you ask: Mint Linux 64 Creator 4.72
-
@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.
-
@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.
-
@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?
-
@ofmrew try updating to Creator 4.8.
Also, do you have the Clang Code Model activated? ( Help > About Plugins > Clang Code Model)?
-
@aha_1980 Its loaded. I have updated Creator and will see. Thanks.
-
@ofmrew i think there are some Clang fixes in 4.8 that might help in that regard. If not, please report back