[Qt-interest] How to deploy Application successfully compiled using QT in Cygwin in Windows?

John McClurkin jwm at nei.nih.gov
Mon Sep 7 16:36:41 CEST 2009


Wilson Pok wrote:
> Good day,
>  
> May I know how can I deploy an Application that I have successfully 
> compiled using QT in Cygwin in Windows?
>  
> As it requires a X server to run QT in Cygwin, when I try to run the 
> application.exe in Windows platform, I get the message "Cannot Connect 
> to X Server".
>  
> Thanks,
> Wilson

Why did you compile QT in cygwin on Windows? Why not just install Qt for 
windows. If you compile your Qt application using MinGW, all you have to 
deploy with your application is the mingw10.dll. Your application won't 
need an X-server. An application compiled under cygwin will require 
users to install cygwin on their computers and start cygwin's X-server 
prior to using your application.



More information about the Qt-interest-old mailing list