Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, January 2007
Deployment of custom widget plugins in executable / dll deployment on windows


Message 1 in thread

Hi all,

[Qt 4.2.1 / win32]

I have a single widget plugin (my first!) in a library located in 
(QTDIR)/plugins/designer.  It appears in designer and I use this to place 
into it my form.  I then compile my app and package Qt dlls and the exe etc. 
ready to deploy.  But, I don't have a handy test machine without Qt on it, 
and I am now wondering if I need to separately distribute the widget plugin 
with the rest of my app.

Am I right in assuming that the build process will put my special widget into 
the exe so there is no need to also distribute a dll containing the widget / 
plugin etc? Or do I need to also package up my widget library??

Thanks in advance,


Amit 



--
 [ signature omitted ] 

Message 2 in thread

On 11.01.07 13:06:43, amit wrote:
> I have a single widget plugin (my first!) in a library located in 
> (QTDIR)/plugins/designer.  It appears in designer and I use this to place 
> into it my form.  I then compile my app and package Qt dlls and the exe etc. 
> ready to deploy.  But, I don't have a handy test machine without Qt on it, 
> and I am now wondering if I need to separately distribute the widget plugin 
> with the rest of my app.
> 
> Am I right in assuming that the build process will put my special widget into 
> the exe so there is no need to also distribute a dll containing the widget / 
> plugin etc?

If your applications source filelist also includes the files for the
custom widget you don't need to distribute it. If it doesn't than you
have to, probably creating a shared lib out of the sources along with
the widget-plugin.

Andreas

-- 
 [ signature omitted ]