Compile when QML is disabled


Since QJSValue is part of the QML module then it should check if that is
available before using it so we add a QT_NO_JSVALUE define to help with
this.

Task-number: QTBUG-46850
Change-Id: I1974518a5c134dbb8508a46505b43c820a7a700a
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
commit906d910415454d64ff0b021b06f0df422a8c82bd
parent6a7de61bc15d0cde3a3c91c58f45ba10957aa39b
authorAndy Shaw <andy.shaw@theqtcompany.com>
committerAndy Shaw <andy.shaw@theqtcompany.com>
commit timeTue, 29 Sep 2015 14:49:34 +0000