X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Phil Bouchard <philippe@fornux.com>
Subject: Re: Qt Creator & static libqt-mt.a
Date: Wed, 13 Jul 2011 15:54:03 -0400
Lines: 15
Message-ID: <ivkt4r$dou$1@dough.gmane.org>
References: <ivg4ok$9o1$1@dough.gmane.org>		 <1310452987.8576.47.camel@YAAKOV04> <ivhvun$q1t$1@dough.gmane.org>	 <1310524874.3528.8.camel@YAAKOV04> <ivj1bb$esl$1@dough.gmane.org> <1310534182.3528.17.camel@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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

