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.
Hello everybody, congratulations for the developing, the last qt plugin is awesome. Well, to the bug: I am using qt to develop, but I have already a project in visual c++, I am importing it to gcc++. I added the source and header files, I saw an example using qt and the developer put the qt files in the resource files, I made the same, I added an existed file in another directory to my project, the file added is in the resource file, well I just cant add in my main because the netbeans cant found it in resource files, now I will try to move it to source file and test. Well I have a tip, try to make a option to not import a file from another directory, but to import it direct, to put it in the project, it will be best. Finishing, my English is nearly disgusting, but I hope I could explain my problem. Bye bye and thanks for netbeans.
I'm afraid I didn't understand the problem.
Could you please copy-paste here an error message that you see? Could you also zip and attach nbproject/ directory of your project?
Jorge's response from private email: Thanks for your help, I will try to explain again. I've been following this example, http://www.netbeans.org/kb/docs/cnd/qt-applications.html Everything is going ok with it until now. Well, after that, I tried to import my project from visual c++ to netbeans, then I selected the project files into netbeans using the menu "Add existing item" Well, I added everything, but when I tried to compile I received an error because the main didnt find the include "HelloForm" if we use the example for an example ^^. And what I did? I just entered in project properties and added the directory where my original files was ;) In short, Netbeans cant find directly a file if it was in a diferent directory, my imported files was within the Resource files, maybe because that too.
Thank you for explanation. This is expected behavior and does not sound like a defect. Include directories must be configured in project properties for NetBeans to work correctly. It is possible to make NetBeans configure these directories for you by using New->C/C++ Project with Existing Sources wizard. Another solution is to make NetBeans help to resolve failed includes. There is issue 96207. *** This issue has been marked as a duplicate of 96207 ***