X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <95455e980802210322g3e4dd1adycb2b498b6283054d@mail.gmail.com> Date: Thu, 21 Feb 2008 22:22:19 +1100 From: hce To: cygwin AT cygwin DOT com Subject: Re: Building C++ program with QT under cygwin In-Reply-To: <47BD549D.3030304@pacific.net.sg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <95455e980802201631t62ff6b6pd8074e93d40fa7a7 AT mail DOT gmail DOT com> <47BCCC17 DOT 2090304 AT pacific DOT net DOT sg> <95455e980802201733u19f0b02at14ac05dda3ff0256 AT mail DOT gmail DOT com> <47BCDAC7 DOT 6080101 AT cygwin DOT com> <95455e980802201824r66d12064pcc812e3a81206e4d AT mail DOT gmail DOT com> <47BCF106 DOT 3080204 AT cygwin DOT com> <95455e980802202016r212f1847vf3b5fe8251d57523 AT mail DOT gmail DOT com> <47BD0EF4 DOT 5CE7D62B AT dessent DOT net> <95455e980802202220h7e7256f7p2f7e948978b27a0c AT mail DOT gmail DOT com> <47BD549D DOT 3030304 AT pacific DOT net DOT sg> 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 2/21/08, Erich Dollansky wrote: > Hi, > > > hce wrote: > > On Thu, Feb 21, 2008 at 4:41 PM, Brian Dessent wrote: > >> hce wrote: > >> > >> > I actually tried QT 4.3 linux packaget, but could not build it could > >> > not find cygwin-g++ in makespec directory. The QT seems only support > >> > minGW on Windows. > >> > >> Note that a QT you build for Cygwin will be an X11 app, so you'll need > >> to have an X11 server running in order to use it. It won't have a > >> Windows GUI like the MinGW flavor. > > > > I've tried to build the QT linux package, it could not find X11 event. > > I think I have installed X11, but I did not running X11 server. It is > > too much to using X11 server on window. Can the QT window package be > > compiled under Cygwin alternatively? > > > you can install X under cygwin together with a small window manager. > > You must also install the X sources - or at least the headers - if you > want to compile any X applications. Yes, I did install X11 on Cynwin and resolved that issue. But I got another following error: src-4.3.3/src/corelib/global/qglobal.cpp /home/Tools/Qt/Linux/qt-x11-opensource-src-4.3.3/src/corelib/global/qglobal.cpp:1676:24: qt_windows.h: No such file or directory /home/Tools/Qt/Linux/qt-x11-opensource-src-4.3.3/src/corelib/global/qglobal.cpp:1678: error: expected init-declarator before "winVersion" /home/Tools/Qt/Linux/qt-x11-opensource-src-4.3.3/src/corelib/global/qglobal.cpp:1678: error: expected `,' or `;' before "winVersion" /home/Tools/Qt/Linux/qt-x11-opensource-src-4.3.3/src/corelib/global/qglobal.cpp:1774: error: expected init-declarator before "QSysInfo" /home/Tools/Qt/Linux/qt-x11-opensource-src-4.3.3/src/corelib/global/qglobal.cpp:1774: error: expected `,' or `;' before "QSysInfo" make: *** [qglobal.o] Error 1 ~/project/yudehu/Tool$ I compiled a QT linux X11 package, not sure why it still requires a qt_windows.h. Thank you. Kind Regards, Jim -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/