Qt Creator & static libqt-mt.a

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed Jul 13 05:16:00 GMT 2011

On Tue, 2011-07-12 at 22:53 -0400, Phil Bouchard wrote:
> On 7/12/2011 10:41 PM, Yaakov (Cygwin/X) wrote:
> >
> > You don't need to distribute the Qt DLLs, just have your users get them
> > from the distro.
> I meant some people would like to distribute an executable to systems 
> with no Cygwin or Qt installed.
> > False.  While some plugins can be builtin to the libraries, the
> > following absolutely require plugin support:
> >
> > - CJK language support,
> > - QML (QtDeclarative),
> > - QCA,
> > - QtDesigner widgets,
> > - Phonon,
> > - third-party QStyle engines,
> > - and last, but not least, KDE.
> What I am trying to say is to include both the DLL and the static 
> library in the package, this way we'll be able to use Qt Designer and 
> linking the final executable dynamically or statically.

The other major distributions don't do this, and there's a reason why:
a static Qt build is different from a shared one, and you can't install
them both in the same place.

> As it is right now I've been rebuilding Qt from source 2 or 3 times 
> because the configure script deletes all objects files when it's run and 
> each build took 96 minutes.  

The Qt build is very configurable; you may want to consider disabling
whichever components you don't need in order to save time.

> Not to mention I had the following bugs:
> http://bugreports.qt.nokia.com/browse/QTBUG-20342?focusedCommentId=158621#comment-158621

Needless to say, our Qt includes patches which fix all these errors.  I
have yet to push these upstream, so in the meantime, please direct Qt
bug reports to these lists.


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list