Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to run my application on web browser
Qt 6.11 is out! See what's new in the release blog

How to run my application on web browser

Scheduled Pinned Locked Moved General and Desktop
10 Posts 8 Posters 5.4k Views 1 Watching
  • 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.
  • P Offline
    P Offline
    petergollapalli
    wrote on last edited by
    #1

    Hi every One , I am new to Qt,I have developed one application using QtWidget.
    It is working well in LAN ,But it is not working when i Hosted my in my Global server.
    I want to make my application as WebBased.
    Can any One Help me in this?
    Thanks in Advance!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      Unfortunately, you can't do that. Qt is NOT a browser-based library.

      Every browser have their own API. You may try looking into mozilla, etc. but AFAIK you can only code them with scripting languages (javascipt, etc.). So you need to start from scratch again.

      My solution for your problem, although you may need more efforts to add, is by using Qt networking libraries like QTcp, QUdp. I tried to code once using QTcpServer for my server app and using QTcpSocket for my client.

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #3

        Try merging Qt with "Wt":http://www.webtoolkit.eu
        in examples from Wt present wtwithqt project.

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

          Hi qxoz, the Link which u had given is not opening. The exact link which qxoz stated is given here, "Wt:: An Introduction":http://www.webtoolkit.eu/wt also have a look at this link "Qt Creator Wt Application":http://www.sptci.com/docs/cpp/wtProject.html.

          Thanks & Regards..

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qxoz
            wrote on last edited by
            #5

            Thank you Riz,
            I apologize for the inattentiveness :)

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Macro
              wrote on last edited by
              #6

              Your Welcome qxoz. All d Best.. Happy coding.. :-)

              1 Reply Last reply
              0
              • H Offline
                H Offline
                hipl1
                wrote on last edited by
                #7

                Hi

                I have my project in QT i want to convert it to web i had followed the "link":http://www.sptci.com/docs/cpp/wtProject.html but unfortunately not able to execute.. cannot figure out what is wrong Please help. Thanks

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  stevenceuppens
                  wrote on last edited by
                  #8

                  What do you mean by convert it to web?

                  Qt is not a web-based framework. There are methods to interact wit webkit, but u can not just convert a whole app into a web-based version..

                  Can you clarify your question?

                  Steven CEUPPENS
                  Developer / Architect
                  Mobile: +32 479 65 93 10

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nicky j
                    wrote on last edited by
                    #9

                    Not sure if this is what you want, but check this out: "link":http://badassjs.com/post/43158184752/qt-gui-toolkit-ported-to-javascript-via-emscripten
                    My basic understanding is that it somehow converts your program to JS, but I'm not sure.

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      whitehats
                      wrote on last edited by
                      #10

                      I have my project in QT i want to convert it to web i had followed the link [sptci.com] but unfortunately not able to execute.. cannot figure out what is wrong Please help. Thanks

                      modbreak: removed backlink spam. It's off topic, Andre.

                      <a href="http://whitehatsme.com/annual-it-support-contracts/">IT Company Dubai</a> | <a href="http://whitehatsme.com/">IT Service Solutions Dubai</a>

                      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