> myplugin.h > > Why is all the code extern "C"? - Qt is purely a C++ library, so using > it in C is likely to cause major headaches. Telling it extern > "C" means > to compile it as an external C source. > > I would say it should read > > #include <scribus.h> > extern void Run(QWidget *d, ScribusApp *plug); > extern QString Name(); > extern int Type();
I'll look at it after xmass eve :) I take it from Scripter plugin and didn't think over it... > > There is also no header called Scribus.h - it's scribus.h huh, just auto replacement by text editor :-/ I'll fix it. Petr
