When we add files to QT с++ project all *.qrc files are not added to the netbeans/Release.pro and therefore are not compiling.
1. they are shown in the project tree, but not added to *.pro
2. all the projects where files where added in 7.0.1 are complied ok in 7.1.0
The defect in process of addition of *.qrc files only.
I can reproduce this issue in NetBeans 7.1. *.qrc files are ignored in both cases: if existing file is added or new one is created.
It's quite a serious regression, but still this is not a P1 issue.
Downgrading to P2.
> still this is not a P1 issue
What's the matter with you? This issue makes Netbeans 7.1 impossible to make QT projectes at all! This issue is about complete feature loss: netbeans 7.1 can not make QT projects anymore.
Such simple tasks like set an application icon are now just impossible for nb 7.1.
(In reply to comment #2)
> > still this is not a P1 issue
> What's the matter with you? This issue makes Netbeans 7.1 impossible to make QT
> projectes at all! This issue is about complete feature loss: netbeans 7.1 can
> not make QT projects anymore.
> Such simple tasks like set an application icon are now just impossible for nb
1) I think you speaks about '71patch-candidate' special keyword
2) Why you can't restart NetBeans in order to fix build?
> I think you speaks about '71patch-candidate' special keyword
I do not know what "patch candidate" means, but if anybody downloads the current stable version of c++ netbeans (which is 7.1) he won't be able to make qt applications with resources at all. For our qt projects nb 7.1 is completly useless. It's not about comfort, it's about complete unablity to develop qt applications.
> Why you can't restart NetBeans in order to fix build?
What d'you mean by "restart" and what is "fix build"? I do not understand you.
For now we rolled back all our nb back to 7.0.1. and go on delepment as usual.
In our qt projects the file structure of the project has the meaning and therefore we add everything through file tree first and then everytime before each build we remove everything from the project and use "Add existing items ...". That's why it is impossible for us to use 7.1 - it will not add resoures to our projects.
For qt projects it is impossible to add new items in project tree, cause in this case every item is save in the project root that that is not acceptable for us. We have strict rules for file structure of our qt projects.
(In reply to comment #4)
> What d'you mean by "restart" and what is "fix build"? I do not understand you.
> For now we rolled back all our nb back to 7.0.1. and go on delepment as usual.
- Create new Qt project
- Create new Qt Form and Qt Resource files
- Update source code
- Clean and Build project
==> Build fails. *.pro file contains:
- Push File|Exit menu item
- Launch Netbeans again (/usr/local/netbeans-7.1/bin/netbeans command)
- Clean and Build project
- Check *.pro file
==> *.pro file contains:
FORMS += newForm.ui
RESOURCES += newresource.qrc
> Clean and Build project
No, thank you. We'd better stick to 7.0.1. and wait while the defect will be fixed.
We have priority definitions and this is a P2 (a high priority issue). I do not know how priority matter for you. I think what matters is the fix. There is an engineer assigned and looking into the issue. It is also already nominated for the next patch. So playing with priority may help to reflect your level of disappointment, but will not affect the fix delivery timeframe.
Your problem is important for us and I can ensure you that we are doing our best to make sure it is fixed.
Thank you for using the product, providing feedback, as well as for your understanding and patience.
> 2 Leonid
I got no claim to nb dev team, cause nb is free and it would be at least not polite to claim anything. The core idea I transfer and protect is a whole feature loss in 7.1. It can be P1, P2, P3 or anything else, but from production point of view it IS a feature loss.
Soldatov's option is not acceptable, cause some of our projects take 12-15 minutes to clean & build and that would be a hige stress for developers to fulfill all these "tambourine dances" each time they edit file structure.
I've found simple workaround for this issue: you just need to close the project with broken *.qrc and open it again.
This issue was introduced while Bug #200743 "meta files for Hotspot are regenerated during clean&build all the time" fixing. So I'll re-assign this one to Alexander for further investigation.
> simple workaround for this issue:
> you just need to close the project
> with broken *.qrc and open it again.
That's much improved solution comparing to Soldatov's one, but still comfort of doing things in 7.0.1 is much natural and productive. Thank you.
The issue is resolved:
verified in NetBeans IDE Dev (Build 201201220600)
QA thinks fix can be integrated into NB 7.1.1
The fix is safe and resolves issue.
The fix is transplanted to release71_fixes branch:
*** Bug 208512 has been marked as a duplicate of this bug. ***
verified in NetBeans IDE 7.1 (Build 201112071828)
Verified in NetBeans 7.1 with updates from 201202141941