> Tim, > > Can you help or shed light how to fix this error? Thanks. > > xparthost_kpart.cpp: In constructor > 'XPartHost_KPart::XPartHost_KPart(TQWidget*, const char*, TQObject*, const > char*)': > xparthost_kpart.cpp:24: error: invalid use of incomplete type 'struct > TQXEmbed' > xparthost_kpart.h:10: error: forward declaration of 'struct TQXEmbed' > xparthost_kpart.cpp:25: error: no matching function for call to > 'XPartHost_KPart::setWidget(TQXEmbed*&)' > /opt/trinity/include/kparts/part.h:268: note: candidates are: virtual void > KParts::Part::setWidget(TQWidget*) > xparthost_kpart.cpp: In member function 'virtual DCOPRef > XPartHost_KPart::registerXPart(const DCOPRef&)': > xparthost_kpart.cpp:48: error: invalid use of incomplete type 'struct > TQXEmbed' > xparthost_kpart.h:10: error: forward declaration of 'struct TQXEmbed' > xparthost_kpart.cpp:50: error: invalid use of incomplete type 'struct > TQXEmbed' > xparthost_kpart.h:10: error: forward declaration of 'struct TQXEmbed' > make[4]: *** [xparthost_kpart.lo] Error 1 > > > Darrell IIRC TQXEmbed should be QXEmbed. Tim