I am just trying to get started with QT and I am using C++ on cygwin(gcc-g++). Can anyone please let me know the packages I need to install from the cygwin setup to have a proper working QT environment to make it work with C++ or point me to the information please?
If you want to develop Qt for Windows applications, you need to download and install Qt for Windows development packages from https://qt.io/ , as well as build tools (such as MinGW-w64 GCC) and SDKs for Windows, not Cygwin.
Compilers, other build tools and Cygwin SDKs in the Cygwin environment, are for Cygwin development, they can't be used with Qt for Windows.
You can still install Qt for Cygwin development packages from Cygwin repo, if you want. But remember the resulting Qt applications from this platform are Cygwin programs, and can't be used independently on Windows without Cygwin. And Qt GUI applications for Cygwin will requiring an X server to run, so it is probably not the thing that you expecting.
In most cases, please consider Cygwin and Windows are 2 separated platforms.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With