[Qt-interest] Error while executing Javascript through Qt script

Karthick sppkarthick at gmail.com
Wed Mar 2 06:51:08 CET 2011


Hi All,

I am trying to execute Java script code through Qt Script. While running
that code, I was getting error like "Reference Error: can't find variable
Google". my Java script contains code for calculating  direction.

While executing JS through HTML, JS code is included in <script
type=text/javascript> tag.
I don't know how to include the following javascript in Qt.
<script type="text/javascript" src="
http://maps.google.com/maps/api/js?sensor=false"></script>
Because of this, I was getting error.
If anyone knows, please help me to resolve this issue.
-- 
*Regards,*
*Karthick
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110302/5ccd2f83/attachment.html 


More information about the Qt-interest-old mailing list