Re: [CMake] Automatically pull in dependencies from QtDesigner plugins

2011-12-05 Thread Michael Jackson
On Dec 5, 2011, at 8:29 AM, David Doria wrote: > On Sun, Dec 4, 2011 at 11:34 AM, Michael Jackson > wrote: >> Do you have "MyWidget" packaged as a true library, or did you just create >> the Designer Plugin and then have a "loose" .cpp/.h file? >> >> The is a project called Qwt* that has a si

Re: [CMake] Automatically pull in dependencies from QtDesigner plugins

2011-12-05 Thread David Doria
On Sun, Dec 4, 2011 at 11:34 AM, Michael Jackson wrote: > Do you have "MyWidget" packaged as a true library, or did you just create the > Designer Plugin and then have a "loose" .cpp/.h file? > >  The is a project called Qwt* that has a similar setup. It has a Designer > plugin for its various w

Re: [CMake] Automatically pull in dependencies from QtDesigner plugins

2011-12-04 Thread Michael Jackson
Do you have "MyWidget" packaged as a true library, or did you just create the Designer Plugin and then have a "loose" .cpp/.h file? The is a project called Qwt* that has a similar setup. It has a Designer plugin for its various widgets and it has a qwt.dylib/.dll/.so that your program links

[CMake] Automatically pull in dependencies from QtDesigner plugins

2011-12-04 Thread David Doria
I have created a QT widget, MyWidget, and a QtDesigner plugin for MyWidget. Now I want to use MyWidget in bigger project, MyProject. I created a ui file for MyProject with QtDesigner and add a MyWidget in the designer. Now when I try to compile MyProject, I get (of course) "error: can't find MyWidg