Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#180 closed defect (wontfix)

Location of ui_*.h

Reported by: rudi Owned by:
Priority: major Milestone: Qt Enhanced
Component: qmake Version: 4.6.2
Severity: low Keywords:


With 4.6.3, qmake places the generated ui_*.h files in the objects directory. While appears to be a good choice not to mix the generated files with the source, it caused a compile break here. In order to fix this, I had to add "." to the compiler's include path. Is that working as designed ?

Change History (2)

comment:1 Changed 10 years ago by Dmitry A. Kuminov

Resolution: wontfix
Status: newclosed

Yes, it is as designed. You should use the qmake's INCLUDE_PATH statement for that (many standard .pro files contain it out of the box BTW). The thing is that we had to remove "." from the default compiler's include path (see comment 11 in #110 for details) while on other platforms it seems to always be there by default so it works w/o the additional INCLUDE_PATH.

comment:2 Changed 10 years ago by rudi

Actually I did use qmake's INCPATH. What still puzzles me is that in Windows these files are placed in the current directory. BTW, the *.pro file was generated by QtCreator? 1.3 or so. Only an os2:RC_FILE line added manually.

Note: See TracTickets for help on using tickets.