QT: Hide QML Debugging warning

浪尽此生 提交于 2019-12-12 17:55:07

问题


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:


You can specify

DEFINES += QT_QML_DEBUG_NO_WARNING

in the .pro file to disable the warning.



来源:https://stackoverflow.com/questions/37996105/qt-hide-qml-debugging-warning

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!