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. Web Application development...
QtWS25 Last Chance

Web Application development...

Scheduled Pinned Locked Moved Unsolved Qt WebKit
7 Posts 3 Posters 5.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.
  • U Offline
    U Offline
    U7Development
    wrote on last edited by
    #1

    Hello!

    I'm a bit confused about Webkit, does it serves to me to create web application?.. for instance, i need to create an e-learning application where multiple users connect using their browser to a server i own via dyndns service, the idea is that they can log in and read pdf documents, then do tests answering a question with the typical a,b,c,d,e exclusive answer selection mode..

    This is pretty much the same as can be done in Asp.net or Razon (C# +html), but i LOVE C++, and don´t want to switch to another language, so Qt is a great option....

    I have read that there is another framework called "Wt", but have even no idea how it works, neither if it integrates to Qt or do they are two diferent things... etc.

    Where do i start?

    Any help will be grantly appreciated...
    Mike

    sierdzioS 1 Reply Last reply
    0
    • U U7Development

      Hello!

      I'm a bit confused about Webkit, does it serves to me to create web application?.. for instance, i need to create an e-learning application where multiple users connect using their browser to a server i own via dyndns service, the idea is that they can log in and read pdf documents, then do tests answering a question with the typical a,b,c,d,e exclusive answer selection mode..

      This is pretty much the same as can be done in Asp.net or Razon (C# +html), but i LOVE C++, and don´t want to switch to another language, so Qt is a great option....

      I have read that there is another framework called "Wt", but have even no idea how it works, neither if it integrates to Qt or do they are two diferent things... etc.

      Where do i start?

      Any help will be grantly appreciated...
      Mike

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @U7Development said in Web Application development...:

      I'm a bit confused about Webkit, does it serves to me to create web application?.

      No. WebKit (or rather - WebEngine) is the web browser implementation in Qt. You can use it to display (and interact with) web pages in Qt GUI applications. But the web content needs to be provided by a web server of some sort. It can be written in any technology. If you want to write it in C++ and Qt - check out Cutelyst, it's awesome.

      You can also serve Qt applications via web in 2 more ways:

      • Qt web streaming https://blog.qt.io/blog/2018/11/23/qt-quick-webgl-release-512/
      • Qt for WebAssembly https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/

      Both quite experimental.

      (Z(:^

      U 1 Reply Last reply
      4
      • sierdzioS sierdzio

        @U7Development said in Web Application development...:

        I'm a bit confused about Webkit, does it serves to me to create web application?.

        No. WebKit (or rather - WebEngine) is the web browser implementation in Qt. You can use it to display (and interact with) web pages in Qt GUI applications. But the web content needs to be provided by a web server of some sort. It can be written in any technology. If you want to write it in C++ and Qt - check out Cutelyst, it's awesome.

        You can also serve Qt applications via web in 2 more ways:

        • Qt web streaming https://blog.qt.io/blog/2018/11/23/qt-quick-webgl-release-512/
        • Qt for WebAssembly https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/

        Both quite experimental.

        U Offline
        U Offline
        U7Development
        wrote on last edited by
        #3

        @sierdzio said in Web Application development...:

        @U7Development said in Web Application development...:

        I'm a bit confused about Webkit, does it serves to me to create web application?.

        No. WebKit (or rather - WebEngine) is the web browser implementation in Qt. You can use it to display (and interact with) web pages in Qt GUI applications. But the web content needs to be provided by a web server of some sort. It can be written in any technology. If you want to write it in C++ and Qt - check out Cutelyst, it's awesome.

        You can also serve Qt applications via web in 2 more ways:

        • Qt web streaming https://blog.qt.io/blog/2018/11/23/qt-quick-webgl-release-512/
        • Qt for WebAssembly https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/

        Both quite experimental.

        Thanks, that last is interesting, does that means that with Qt Web streaming i can créate my program as desktop reléase and share it through web using WebGL ? I remember using WebGL in the past with Unity, seems to load the whole program (or game) into web and be renderer on browser... that could be fantastic with Qt!...

        If i missundertood it, please tell me, and i Will switch to Cutelyst
        Thanks!

        sierdzioS 1 Reply Last reply
        1
        • U U7Development

          @sierdzio said in Web Application development...:

          @U7Development said in Web Application development...:

          I'm a bit confused about Webkit, does it serves to me to create web application?.

          No. WebKit (or rather - WebEngine) is the web browser implementation in Qt. You can use it to display (and interact with) web pages in Qt GUI applications. But the web content needs to be provided by a web server of some sort. It can be written in any technology. If you want to write it in C++ and Qt - check out Cutelyst, it's awesome.

          You can also serve Qt applications via web in 2 more ways:

          • Qt web streaming https://blog.qt.io/blog/2018/11/23/qt-quick-webgl-release-512/
          • Qt for WebAssembly https://blog.qt.io/blog/2018/11/19/getting-started-qt-webassembly/

          Both quite experimental.

          Thanks, that last is interesting, does that means that with Qt Web streaming i can créate my program as desktop reléase and share it through web using WebGL ? I remember using WebGL in the past with Unity, seems to load the whole program (or game) into web and be renderer on browser... that could be fantastic with Qt!...

          If i missundertood it, please tell me, and i Will switch to Cutelyst
          Thanks!

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @U7Development said in Web Application development...:

          Thanks, that last is interesting, does that means that with Qt Web streaming i can créate my program as desktop reléase and share it through web using WebGL ?

          Yes, more or less.

          The difference between streaming and webassembly approach is that in Qt WebGL streaming the server will run your application and only stream the UI to your browser (so it will do something like "screen share" but it's fully interactive and clickable etc.). This means that if 1000 people connect at the same time, the app will be started 1000 times == server will have a lot to do.

          With webassembly approach, you compile the Qt application into web assembly which your server then distributes as a "normal" web page - it will send the assembly code to your web browser, and your browser will run it. Result is: the server is less busy (can handle more connections at the same time) but it will take longer to load for users (because web browser needs to download the code and run it).

          With Cutelyst - well it's just a web framework, similar to Django, Ruby on Rails etc. but written with Qt and C++. So the server sends HTML, CSS data to web browser and the browser handles it just like any other web page. Big advantage is that your whole backend is C++ - fast, small and hard to hack.

          There are more differences than that, of course, I'm just pointing out the biggest ones.

          (Z(:^

          1 Reply Last reply
          4
          • U Offline
            U Offline
            U7Development
            wrote on last edited by
            #5

            @sierdzio said in Web Application development...:

            With Cutel

            That's good, so i guess the better option is Cutelyst. Just a last question: can i develope my app using Qt Creator but with Cutelyst framework ?..

            Thanks again..

            sierdzioS 1 Reply Last reply
            0
            • U U7Development

              @sierdzio said in Web Application development...:

              With Cutel

              That's good, so i guess the better option is Cutelyst. Just a last question: can i develope my app using Qt Creator but with Cutelyst framework ?..

              Thanks again..

              sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              @U7Development said in Web Application development...:

              can i develope my app using Qt Creator but with Cutelyst framework ?

              Yes. Stock Qt Creator understands the default cmake project that Cutelyst creates quite well. I think Cutelyst also provides their own, customized version, but I have never used it.

              (Z(:^

              1 Reply Last reply
              2
              • A Offline
                A Offline
                Aliona Miller
                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