I needed to install Qt SDK to Redhat backend machine which does not have a GUIs. (Amazon ec2). When I tried to install it failed due to fail to connect display.
Then I tried to download the source and compile. If I use configure -debug, it only compile debug libraries. Same as it compiles and install release binaries only if I specify -release. Also in my *.pro file it links the last installed build without considering CONFIG += debug or CONFIG += release
I need both formats. libQt5Core.so and libQt5Core.d.so. And need to link separate libs according to the CONFIG.