Debugging Qt 5.7.0 that compiled as static
I compiled the Qt 5.7.0 with visual studio 2015 as a static (with qtwebkit).
My problem is debugging. The Debugging take a very long time to start.
I am using Qt creator.
It can take more then 10 minutes.
What should i do?
You need to check in creator "Tools"->"Options"->"Build&Run" all tabs for warnings and error messages with the parts involved in your tool chain.
Do you have also another pre-build with the same compiler on your machine?
My linker takes more then 20 minutes.
Linker flags: /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /LTCG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='184.108.40.206' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''"
How can I fix it?
As silly as it may sound: use a dynamic build for debugging your application.