[Qt-interest] Compiling QT projects in Cygwin

John McClurkin jwm at nei.nih.gov
Mon Sep 7 16:45:01 CEST 2009


Wilson Pok wrote:
> Good day,
>  
> I have a program that is compiled in Cygwin and working fine, it is 
> executed using Windows Command Prompt.
>  
> Now, I want to improve my program to become GUI based. I'm going to use 
> QT4 as I need my program to be able to run in Windows and Linux 
> environments.
>  
> When I use QT4 directly to compile my existing program, it cant be 
> compiled as it has some Cygwin dependencies which QT does not have.
>  
> I have read about installing QT4 in Cygwin to accomplish my needs. Can I 
> know how I can install QT4 in Cygwin so that I can compile my GUI 
> application in Cygwin?
>  
> Regards,
> Wilson
> 
>

If you insist on going this route, you will need to download the X11 
version of Qt. This should compile under cygwin. However, to really make 
full use of Qt, get rid of the platform dependencies in your 
application. Then it should compile under windows and under linux. It 
will be less difficult for you windows users.



More information about the Qt-interest-old mailing list