Qt Creator & static libqt-mt.a

Phil Bouchard philippe@fornux.com
Wed Jul 13 19:54:00 GMT 2011


On 7/13/2011 1:16 AM, Yaakov (Cygwin/X) wrote:
>
> 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.

As I mentioned here:
http://bugreports.qt.nokia.com/browse/QTBUG-20342?focusedCommentId=158731#comment-158731

There is a lot of missing libraries when compiling an executable. I had 
to add the following in mkspecs/cygwin-g++/qmake.conf:
QMAKE_LIBS_X11 = -lXext -lX11 -lz -lfreetype -lXrender -lfontconfig 
-lICE -lSM

And I had to pass x11 to CONFIG in the project file. Now it works!


--
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