Is it possible to use jQuery and bootstrap in our Qt app as java script code?(my mean does Qt support all methods of java script?)
-
wrote on 18 Nov 2015, 18:59 last edited by stackprogramer
hi dears,i know that Qt support html ,css,xml,json ,javascript,my question is supporting them is overlap all and full language, or special tag and API,method is in Qt .
in other words,
Is it possible to use jQuery and bootstrap in our Qt as java script code?(my mean does Qt support all methods of java script?)
thanks for reply -
wrote on 18 Nov 2015, 19:14 last edited by Hamed.Masafi
Qt support a ecmascript based language named qml, jquery use some features from browser dom that is other than pure js, like getElementById, so answer is No browser dom like window or document is not exist in qt context.
Qt css in not web css, it's simplicity has same syntax, so qt can not use bootstrap as it doesn't recognize some new css declares. -
wrote on 18 Nov 2015, 19:29 last edited by stackprogramer
much bad!therefore we had to translate code from javascript to QML....
-
wrote on 18 Nov 2015, 22:04 last edited by
Hi,
if you already have a HTML5/CSS3 application you can always embed it in a WebView
-
wrote on 19 Nov 2015, 06:14 last edited by
@mcosta its good idea,thanks for reply
-
wrote on 11 Dec 2015, 07:59 last edited by stackprogramer 12 Nov 2015, 08:00
an example for browser that uses jquery is Fancy Browser Example(an example Qt)
it works properly. -
This post is deleted!