kstvcurve includes kstcurvedialog_i.h which includes curvedialog.h curvedialog.h is built from curvedialog.ui. kstvcurve.o is built as part of libkstmath, which does not include curvedialog as a source.... so, compile error. once curvedialog.h is there, it compiles, but the dependencies are wrong. cbn