Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Could not connect to QML Debugger with kit Desktop Qt 5.14 MingW 64



  • I have qt 5.14.2 installed on my win10 desktop.
    (installed with offline installer, full installation nothing is left to tick)
    Currenly i am trying to debug an empty QT quick application.
    (everything is untouched, only files generated by Qt creator)

    With kit Mingw32 it can be debugged and there will be a blank window pop up. But if i switch to Mingw64, there will be error messages.

    The process hang at "Launching debugger"
    And error messages as

    "Could not connect to the in-process QML debugger, Do you want to retry?"

    There is no useful information on any of the 8 bottom console/output.
    Kit Mingw32 works fine, but 64 version is not.
    I am not very familiar with Qt, I done some searching on the internet.
    I check Enable QML in the Debugger setting
    and i do have gdb debugger (which is specified in the Option -> Kits -> XXX Kits -> Debugger and it is not changeable) installed on my desktop.

    But most of the articals is very old and a lot things don't match.
    I would appreciate it if any one can help pointing the right direction for me.

    mingw 64 build setting

    64 run setting

    32bit build setting

    32bit run setting



  • For those experiencing the same problem as myself, check your path for perivous GNU mingw installation.
    I personally am a GNU user, so i have 64-bit mingw installed on my desktop, that's causes a confliction with the one come with QT creator installation.



  • Just tried all the other examples, none of them can be build with 64bit kit...



  • For those experiencing the same problem as myself, check your path for perivous GNU mingw installation.
    I personally am a GNU user, so i have 64-bit mingw installed on my desktop, that's causes a confliction with the one come with QT creator installation.