Another attempt at fixing the .ui header mess

Dirk Hohndel dirk at hohndel.org
Thu Oct 3 15:57:27 UTC 2013


On Thu, 2013-10-03 at 15:47 -0700, Dirk Hohndel wrote:
> On Thu, 2013-10-03 at 15:38 -0700, Thiago Macieira wrote:
> > This now enforces running of uic before any C++ source gets
> > compiled. It seems to work for me here. All my attempts at compilation
> > ended in success.
> > 
> > Now all headers created from uic are stored in the .uic subdir, so all
> > ui_xxxx.h includes must be done without a leading path.
> 
> Close, but not quite, yet.
> 
> The .uic directory appears not to be created:
> 
> /usr/lib64/qt4/bin/uic qt-ui/renumber.ui -o .uic/qt-ui/ui_renumber.h
> Could not create output file
> make: *** [qt-ui/ui_renumber.h] Error 1

Actually, it was the .uic/qt-ui directory that was missing.
Pushed a crude hack to fix that. Better patches welcome.

/D



More information about the subsurface mailing list