X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,TW_BQ,TW_IB,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Phil Bouchard Subject: Re: Qt Creator & static libqt-mt.a Date: Wed, 13 Jul 2011 15:54:03 -0400 Lines: 15 Message-ID: References: <1310452987 DOT 8576 DOT 47 DOT camel AT YAAKOV04> <1310524874 DOT 3528 DOT 8 DOT camel AT YAAKOV04> <1310534182 DOT 3528 DOT 17 DOT camel AT YAAKOV04> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 In-Reply-To: <1310534182.3528.17.camel@YAAKOV04> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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