Debugging Qt 5.7.0 that compiled as static

  • Hi,

    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?

  • Moderators


    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='' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''"

    How can I fix it?

  • Lifetime Qt Champion


    As silly as it may sound: use a dynamic build for debugging your application.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.