Compiling errors
-
I get errors when compiling because the Qt Designer failed to delete parts of the button. Deleting in the debug builds work fine untill Designer reloads and adds the case back in, however removing it in the release moc file does not work that way. Is there anyway to fix this? Heres pictures of errors:
Debug:
!http://i.imgur.com/5WSM5iA.png!Release:
!http://i.imgur.com/oeqxXHM.png! -
Hi and welcome to devnet,
How did you remove the button in the first place ?
-
[quote author="SGaist" date="1382817297"]Hi and welcome to devnet,
How did you remove the button in the first place ?[/quote]
Thanks, in the Qt Designer I pressed the del key with the button selected.
-
Then just to be sure, re-run quake to see if it helps.
If still not, remove the build directory and rebuild
-
I ran qmake, clean, deleted directories, cleaned again, deleted the file, and tried this multiple times to no success.
-
I am still getting these errors upon compiling. Does anyone have other ideas?
-
Another thing you can try is to remove your project.pro.user file and re-open it in Qt Creator.
-
[quote author="SGaist" date="1382904771"]Another thing you can try is to remove your project.pro.user file and re-open it in Qt Creator. [/quote]
It still is regenerating. Any other ideas?
-
Are you sure your ui file doesn't contain this button ? And did you also remove the slot from your code ?
-
[quote author="SGaist" date="1382909443"]Are you sure your ui file doesn't contain this button ? And did you also remove the slot from your code ?[/quote]
The slot is not in my .cpp and there is no button named pushButton. If you want ill add you on skype and we can try solving this problem faster.
-
Well, I am still having this problem with this terribly auto generated part of qt. Anyone got any ideas?
-
Do you call cache() in you pro file ?