Active Topics

 


Reply
Thread Tools
Posts: 36 | Thanked: 45 times | Joined on Jan 2010 @ Belgium
#1
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.
 
Posts: 7 | Thanked: 1 time | Joined on Jun 2010
#2
Originally Posted by mno@8 View Post
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.
I also had constant problems with QTCreator 2.0, several times I had to restart my project from scratch because the designer kept going out of sync with the code resulting in build errors.

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.
 
Posts: 36 | Thanked: 45 times | Joined on Jan 2010 @ Belgium
#3
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:43.