Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved 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?)

    Mobile and Embedded
    4
    7
    4804
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stackprogramer
      stackprogramer 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

      1 Reply Last reply Reply Quote 0
      • Hamed.Masafi
        Hamed.Masafi 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.

        Remote object sharing (OO RPC)
        http://forum.qt.io/topic/60680/remote-object-sharing-oo-rpc-solved

        Advanced, Powerful and easy to use ORM for Qt5
        https://forum.qt.io/topic/67417/advanced-powerful-and-easy-to-use-orm-for-qt5

        1 Reply Last reply Reply Quote 0
        • stackprogramer
          stackprogramer last edited by stackprogramer

          much bad!therefore we had to translate code from javascript to QML....

          1 Reply Last reply Reply Quote 0
          • M
            mcosta last edited by

            Hi,

            if you already have a HTML5/CSS3 application you can always embed it in a WebView

            Once your problem is solved don't forget to:

            • Mark the thread as SOLVED using the Topic Tool menu
            • Vote up the answer(s) that helped you to solve the issue

            You can embed images using (http://imgur.com/) or (http://postimage.org/)

            1 Reply Last reply Reply Quote 0
            • stackprogramer
              stackprogramer last edited by

              @mcosta its good idea,thanks for reply

              1 Reply Last reply Reply Quote 0
              • stackprogramer
                stackprogramer last edited by stackprogramer

                an example for browser that uses jquery is Fancy Browser Example(an example Qt)
                it works properly.

                1 Reply Last reply Reply Quote 0
                • S
                  supriyala Banned last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post