Currently V8 is built right into the QtDeclarative library. It should instead be built as a shared library so that it can be used in other places of Qt (including QtCore, if appropriate). Turning it into a Qt library also makes it easy to arrange for the V8 headers to be installed, so that e.g. applications that use QtDeclarative private headers – which need v8.h – will build.
To make V8 available, a library/application would add
QT += v8-private
to its .pro file. To use the V8 API, add
to C++/header files.
The API would be private in Qt because we're exposing the V8 API directly, and we cannot make source/binary compatibility guarantees on behalf of a third-party library.
|Field||Original Value||New Value|
|Status||Reported [ 10011 ]||Open [ 1 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Resolution||Done [ 1 ]|
|Status||Resolved [ 5 ]||Verified [ 10007 ]|
|Status||Verified [ 10007 ]||Closed [ 6 ]|
|Workflow||Qt Bug Tracking [ 277853 ]||Qt Bug Tracking v2.0 [ 328145 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|9s||1||Kent Hansen (Inactive)||17/Aug/11 12:36 PM|
|14m 57s||1||Kent Hansen (Inactive)||17/Aug/11 12:51 PM|
|13d 20h 39m||1||Kent Hansen (Inactive)||31/Aug/11 9:30 AM|
|204d 39m||1||Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)||22/Mar/12 9:10 AM|
|4m 22s||1||Jason McDonald (Closed Nokia Identity. Please assign to "macadder" instead) (Inactive)||22/Mar/12 9:14 AM|