Building C++ program with QT under cygwin

Thu Feb 21 10:40:00 GMT 2008

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?

>  I'd also like to just point out that at several points in this thread
>  the implication has been made that there is some kind of "inside Cygwin"
>  or "it's a virtual environment".  Cygwin is not some kind of emulator or
>  virtual machine, it is simply a standard win32 DLL.  All Cygwin binaries
>  are standard win32 executables.  Providing you have the Cygwin bin
>  directory to your PATH, you can launch them in any way you would launch
>  any standard Windows program -- from the start menu, from Explorer, from
>  a Windows Command Prompt, etc. -- there is nothing special about the
>  bash window that magically allows things to happen, nor are Cygwin apps
>  in any way obligated to only run there.
>  Brian

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list