Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Mailer: 21.2  (beta41) "Polyhymnia" XEmacs Lucid (via feedmail 8 I)
To: chris@parm.net
Cc: cygwin@sources.redhat.com
Subject: Re: QT
References: <Pine.BSF.4.21.0102111612530.6216-100000@matrix.active-high.co.uk>
X-Face: I-*}xvwusAv%MlABo'jVNP7TDXf5bb*L[q,r{DnsR1GoL07^Wf)sAu%>!LjXAFlZZN+`OQu
	}?#du]C)[*%ERKR#+l#sX'EoNbSO~|.x@ogoS5|"-u?<s5ViLslvYMlj7_n!Tq1m@xt2Bhj4[Zg+e?
	/Yy\SE`V?%v~kRU3GoS1f&U]}
From: "Dr. Volker Zell" <Dr.Volker.Zell@oracle.com>
Date: 12 Feb 2001 00:46:23 +0100
In-Reply-To: chris@parm.net's message of "Sun, 11 Feb 2001 16:18:12 +0000 (GMT)"
Message-ID: <kvitmgsrzk.fsf@vzell.de.oracle.com>
Lines: 39
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Polyhymnia)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

>>>>> "chris" == chris  <chris@parm.net> writes:

    chris> Hi;
    chris> Just a quick query - has anyone had any luck compiling QT 1.x with
    chris> CygWin? I'm assured it's possible (I'm trying to build 1.45, I think) but
    chris> the moc meta-object parser thing keeps breaking it - bison won't parse the
    chris> .y file at all, and byacc seems to generate broken code.

I just compiled

 o qt-x11-2.2.4 - http://www.trolltech.com/

I copied

 /usr/local/qt/configs/linux-g++-static to /usr/local/qt/configs/cygwin-g++-static

and added platform support in /usr/local/qt/configure

     CYGWIN_NT-4.0:*)
	PLATFORM=cygwin-g++
	;;

In /usr/local/qt/src/kernel/qapplication_x11.cpp I added

#if defined(_OS_CYGWIN_)
#  include <sys/socket.h> // for FIONREAD on Cygwin
#endif

In /usr/local/qt/src/network
the file qdns.cpp needed the header files from bind to compile.

And for the examples (ftpclient, httpd, mail and networkprotocol) I added
 -L/usr/local/bind/lib -lbind 
in the appropriate Makefile.

All examples and tutorials are working

Ciao
  Volker


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

