Deleted Qlabel still showing on executable
-
Hi. This is my UI file.
And this is my executed file.
Reee comes from a previously deleted QLabel. Currently I have no QLabels on the ui layer.
(Titlebar and Statusbar are two custom objects, which I highly doubt are causing this issue since they are at a different part of the ui file.)
There is no reference to a QLabel with text "Reee" in my cpp code and ui file.
I am not sure what could be causing this. I have tried cleaning the release build (I'm using release), to no success. Unsure how to proceed, please let me know if more information is required. I'm assuming there will be more info needed since I am unsure what information would be relevant.
Edit: I am able to manipulate the QLabel from the cpp file. There is no reference to me creating the QLabel from the cpp files.
-
@Dummie1138 said in Deleted Qlabel still showing on executable:
There is no reference to a QLabel with text "Reee" in my cpp code and ui file.
:) Have a look in the generated
ui_....h
file in the build directory (check both release & debug to be sure!). AnyRee
there? Search across all your source files, anyRee
there? If not, it's a miracle ;-) -
@Dummie1138 said in Deleted Qlabel still showing on executable:
Is it safe for me to delete this line?
Yes.
In such situations you should delete the content of your build folder, run qmake and build.