This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 157761 - Qt: IDE generates header files after rebuild only
Summary: Qt: IDE generates header files after rebuild only
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 3 votes (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-02 11:18 UTC by soldatov
Modified: 2010-11-12 22:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2009-02-02 11:18:06 UTC
Code Assistance works wrongly in new Qt form before ui_*.h file is created. I need to rebuild project in order to fix
this problem.

Scenario:
- Create 'Qt Application' project
- Create 'Main C++ file for Qt application'
- Create 'Qt Form' ('Create C++ wrapper class' check box is set as true, form type is set as 'Dialog with Buttons Bottom')
- Open newform.h file
==> IDE can't find "ui_newform.h" file
In order to generate this file I need to rebuild project.

I see 2 solutions:
- Generate ui_newform.h automatically
- Add "Generate source file" menu item for *.ui files
Comment 1 Alexey Vladykin 2009-02-04 16:00:59 UTC
I prefer to have menu item. It allows to regenerate ui_newform.h at any time user desires, e.g. when newform.ui is modified.
Comment 2 Alexey Vladykin 2009-02-17 10:23:22 UTC
After discussion with Stepan we came to the following solution:
- generate ui_newform.h automatically and silently whenever newform.ui is created or modified
- have option to disable this behavior in project properties
- on-demand regeneration of ui_newform.h is still possible with "Build" button
Comment 3 Alexey Vladykin 2010-01-11 01:59:55 UTC
Will try to solve with the new project system.