PDA

View Full Version : Slight problem with Qt Creator



justin123
17th October 2010, 23:50
I'm having to small problem with Qt Creator. No matter how many times I recompile my project, it doesn't seem to make any changes to ui_MainWindow.h. I added some icons and some toolbar buttons to my MainWindow.ui, but when I compile their not there. Does anyone know how to fix this?

wysota
18th October 2010, 00:06
Delete the file manually. And make sure you are changing the proper file and not some stale copy :)

marcvanriet
18th October 2010, 21:38
When the program runs, do you see the changes or not ? If you do, then the ui_mainwindow.h is generated some place else.

In QtCreator, press the 'projects' icon on the left. There may be an icon 'shadow build' that is set. It makes Qt build your project in some other location.

Also, you could just search your harddisk for the ui_mainwindow.h.

Best regards,
Marc