This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
Classes and tools for remote QtScript debugging |
| 2 |
|
| 3 |
This project needs to be compiled against the qt/master sources: |
| 4 |
http://qt.gitorious.org/qt/qt |
| 5 |
|
| 6 |
The classes need some symbols that are not exported by default from the |
| 7 |
QtScriptTools module in Qt. In order to export the necessary symbols, define |
| 8 |
QT_BUILD_INTERNAL before building QtScriptTools, for example by adding the |
| 9 |
following line to $QTDIR/src/scripttools/scripttools.pro: |
| 10 |
|
| 11 |
DEFINES += QT_BUILD_INTERNAL |
| 12 |
|
| 13 |
After QtScriptTools is built in this fashion, you should be able to run |
| 14 |
qmake && make in this project's top-level folder and everything should |
| 15 |
build and link. If you get a compile error saying that it can't find |
| 16 |
private/* headers, you're not compiling against the Qt _sources_ (you can't |
| 17 |
compile against an _installed_ Qt because private headers are not installed). |
| 18 |
|
| 19 |
An example debuggable application is provided in examples/debuggee. |
| 20 |
An example debugger is provided in examples/debugger. |
| 21 |
To try them, first start examples/debuggee, then start examples/debugger. |