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?)
-
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 -
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. -
much bad!therefore we had to translate code from javascript to QML....
-
@mcosta its good idea,thanks for reply
-
an example for browser that uses jquery is Fancy Browser Example(an example Qt)
it works properly.