| 57 | |
| 58 | == Building QtWebkit on QtCreator == |
| 59 | |
| 60 | * To better debug QtWebkit, we can use QtCreator. |
| 61 | * Open webkit/webkit.pro in QtCreator. |
| 62 | * Click Projects->Build Settings, In "GENERAL" un-check shadow build as it is not needed. |
| 63 | * In Build Steps, remove qmake and make, add a custom process step |
| 64 | * Check the "Enable custom process set up" checkbox. |
| 65 | * fill the "command" box with Tools/Scripts/build-webkit path |
| 66 | * fill the "working directory" with webkit/WebKitBuild/Debug/bin path |
| 67 | * command arguments as "-qt". |
| 68 | * In build environment you need to update PATH variable by appending QtSDK/Desktop/Qt/4.8.1/gcc/bin path to existing value. |
| 69 | * Then add a new variable QMAKEPATH to /home/ssandela/QtWebKit/webkit/Tools/qmake. |