goldendict-ng/howto/how to debug html with qtcreator.md
2022-01-09 15:03:46 +08:00

14 lines
447 B
Markdown

Developers need to check the html occassionly.
based on qtcreator.
Steps:
1. set enviroment variable QTWEBENGINE_REMOTE_DEBUGGING=10000
![image](https://user-images.githubusercontent.com/105986/142788556-f97a6d21-21ea-4e65-862a-5f63bd198bae.png)
2.run goldendict project
3.open chrome ,and navigate to http://localhost:10000
4.in goldendict ,right mouse menu ,select "Inspect",this will navigate to the corresponding element in the chrome.