Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Getting started with Qt HTML5

Getting started with Qt HTML5

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 3 Posters 15.4k 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.
  • Y Offline
    Y Offline
    youval
    wrote on 21 Feb 2011, 11:23 last edited by
    #1

    I'd like to create a Qt application based on HTML, Javascript and CSS

    What would be the best way to start (using a QML and a WebView, using a C++ wrapper around WebKit)?
    Is there a relevant example or tutorial?

    Is there a Javascript API for native functionality (e.g. camera)?

    Thanks,

    Youval

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on 21 Feb 2011, 11:28 last edited by
      #2

      If you want to do a HTML 5 app, why do you want to make it a Qt application? What do you expect from Qt, if all you use is web technology?

      QML can embed a webview, but so can any C++ based application. There is, AFAIK, no Javascript API for native functionality like the camera, but there is QtMobility that gives you a API to it. You can use Qt to give access to that from WebKit and/or QML, if not done already for you. However, that takes some C++ coding.

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        youval
        wrote on 21 Feb 2011, 12:02 last edited by
        #3

        Two reasons for using Qt:

        • Access to device capabilities
        • Deployment as a stand-alone application
        1 Reply Last reply
        0
        • S Offline
          S Offline
          sfilippidis
          wrote on 21 Feb 2011, 12:23 last edited by
          #4

          [quote author="youval" date="1298289774"]Two reasons for using Qt:

          • Access to device capabilities
          • Deployment as a stand-alone application[/quote]

          Yes, these are two interesting reasons. :)

          Well, to begin with, check the tutorials and/or educational materials. For example, you could start with http://qt.nokia.com/services-partners/qt-in-education/qt-in-education-course-material [qt.nokia.com]

          https://www.filippidis.name/

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on 21 Feb 2011, 12:27 last edited by
            #5

            If you only want to use web technology, I think using a thin C++ wrapper would be preferable to using a QML environment (which also needs a thin C++ wrapper).

            1 Reply Last reply
            0

            5/5

            21 Feb 2011, 12:27

            • Login

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