问题
I'm trying to use QML Profiler to find out what is slowing my program down, but when I start it, I get this message:
QML Profiler: Connecting to debug server at 127.0.0.1:50540 ... QML Profiler: Resolving host QML Profiler: Establishing network connection ... QML Profiler: Network connection dropped
which repeats for a few second, and eventually a popup appears saying:
Could not connect to the in-process QML Profiler. Do you want to retry?
I have checked Enable QML Debugging and Profiling in qmake build steps and rebuilt, and I also have Enable QML checked in Debugger Settings.
来源:https://stackoverflow.com/questions/30200747/qml-profiler-fails-to-connect-to-server