Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
New Creator Problem
-
I have added two subclasses of QWidget and promoted Widget placeholders to those classes and named them canvas and slider. However, when I try to reference them in MainWindow, namely ui->canvas. I get no member named canvas in Ui::MainWindow. I have been doing this for a long time. What gives.
5.11 Mint Linux
-
@ofmrew I saved what I had, closed Qt and then deleted the build directory. You guessed it, it now works. This is illogical and it is silly to need to do this. I reported the problem with autocomplete for #include in the last version, it seems that it still has that and now this!
-
@ofmrew Everything in ui-> is autogenereated code, you need to build first so the code gets generated.
-
@jsulm Sorry, I thought I had done that.