![]() |
QT Creator/Design and header files
As a good newbie, I started by googling but could not find an answer to my problem. However I doubt I am the only one.
I installed QTCreator 2.0.0 using the Nokia QT SDK. I tested a few examples and everything works fine. Then I create a new project with QWidget windows. In Design, I add a lineEdit, a Label and a pushbutton. Build/Run everything is ok. Than use the "Go to slot" menu on the pushbutton and select clicked(). QTCreator returns a error "ui_xxx.h" not found. If I display the generated files in the project window, I discover that the ui_xxx.h is created in the "simulator folder" and not in my project folder. This sounds to me like a bug in QTCreator or like a stupid mistake from my part. Any help will be appreciated. |
Re: QT Creator/Design and header files
Quote:
I found the following workaround. I develop and test my GUI changes using the Simulator, however whenever I make GUI changes I find I have to switch to Maemo mode by clicking on the "Project" icon on the left panel and switching from Qt Simulator to Maemo. When I do this it triggers a scan and I can then rebuild the project successfully. Give this a go and see if it works for you. Cheers, Chris. |
Re: QT Creator/Design and header files
Chris,
Thanks for your reply. As a workaround, I removed the shadow build in the project definition and now everything is ok. For the sake of it I open a bug report at Nokia to have an official opinion: I do believe it is a bug ;-). http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2018 |
All times are GMT. The time now is 19:26. |
vBulletin® Version 3.8.8