QT: Hide QML Debugging warning

2019-07-11 20:44发布

QML debugging is enabled. Only use this in a safe environment.

I'm actually working on a test software in Python for a QtCreator project which need to use the QML Debugging. The python software is running the built project and test it's features. I would like to actually hide that message without disabling the QML debug. Is it possible to do it?

1条回答
孤傲高冷的网名
2楼-- · 2019-07-11 21:27

You can specify

DEFINES += QT_QML_DEBUG_NO_WARNING

in the .pro file to disable the warning.

查看更多
登录 后发表回答