Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. 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?)
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 4 Posters 5.6k Views
  • 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.
  • stackprogramerS Offline
    stackprogramerS Offline
    stackprogramer
    wrote on last edited by stackprogramer
    #1

    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
    0
    • Hamed.MasafiH Offline
      Hamed.MasafiH Offline
      Hamed.Masafi
      wrote on last edited by Hamed.Masafi
      #2

      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
      0
      • stackprogramerS Offline
        stackprogramerS Offline
        stackprogramer
        wrote on last edited by stackprogramer
        #3

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mcosta
          wrote on last edited by
          #4

          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
          0
          • stackprogramerS Offline
            stackprogramerS Offline
            stackprogramer
            wrote on last edited by
            #5

            @mcosta its good idea,thanks for reply

            1 Reply Last reply
            0
            • stackprogramerS Offline
              stackprogramerS Offline
              stackprogramer
              wrote on last edited by stackprogramer
              #6

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                supriyala
                Banned
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved