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. tableView on apache server
Forum Updated to NodeBB v4.3 + New Features

tableView on apache server

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 5 Posters 5.1k 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.
  • yxleeY Offline
    yxleeY Offline
    yxlee
    wrote on last edited by
    #1

    I was wondering if there is anyway I can present the tableView which I have created
    using QT on a apache server. Can anyone give me some pointers to direct me in
    a right direction?

    Thanx.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean surf your application GUI like a website ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      yxleeY 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Do you mean surf your application GUI like a website ?

        yxleeY Offline
        yxleeY Offline
        yxlee
        wrote on last edited by
        #3

        @SGaist

        I mean... when someone enters my web address and come to my website, I would like to have the tableView
        displayed and allow them to press the pushbutton to sort the column, select the the row to see the detail info, and
        update the row...., etc,. I do have the tableView which has all the above mentioned capabilities and the apache server
        set up for anyone to visit my web server.

        I have yet to figure that out so I am in the process of building the table using HTML but I rather display the one
        I have built using stylesheet in QT. I thought hard on this and didn't think there is a way to do that but I am resorting to
        asking someone here at QT Forum hoping that I was wrong to think that.

        Thanx in advance.

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          Currently it's not possible but it looks like the future is pointing in that direction with Microsoft, Apple, Google and Mozilla teaming up to support WebAssembly.
          Lars Knoll talked about this at QtCon (video here: https://conf.qtcon.org/en/qtcon/public/events/354)

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          yxleeY 1 Reply Last reply
          1
          • VRoninV VRonin

            Currently it's not possible but it looks like the future is pointing in that direction with Microsoft, Apple, Google and Mozilla teaming up to support WebAssembly.
            Lars Knoll talked about this at QtCon (video here: https://conf.qtcon.org/en/qtcon/public/events/354)

            yxleeY Offline
            yxleeY Offline
            yxlee
            wrote on last edited by yxlee
            #5

            @VRonin

            Thanx for the info, VRonin.

            In the mean time, i guess I will try to accomplish what I intended to do with html table and cgi
            programming...

            1 Reply Last reply
            0
            • VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by VRonin
              #6

              Update: As always, I was wrong
              It is actually already available I just did not know it. You can compile C++ code into asm.js (a compiled subset of JavaScript) and make it run on any current browser.

              You can find here a few examples running C++/Qt inside a browser. The apps run at around half the speed of a normal C++ compiled binary

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              1 Reply Last reply
              1
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @VRonin, I wouldn't say you were wrong, these are different possibilities to achieve the same end result.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                VRoninV 1 Reply Last reply
                1
                • SGaistS SGaist

                  @VRonin, I wouldn't say you were wrong, these are different possibilities to achieve the same end result.

                  VRoninV Offline
                  VRoninV Offline
                  VRonin
                  wrote on last edited by
                  #8

                  @SGaist said in tableView on apache server:

                  @VRonin, I wouldn't say you were wrong

                  @VRonin said in tableView on apache server:

                  Currently it's not possible

                  Yes I was :)

                  "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                  ~Napoleon Bonaparte

                  On a crusade to banish setIndexWidget() from the holy land of Qt

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    I was thinking about providing a "Qt only" solution :)

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • P Offline
                      P Offline
                      peterlin82
                      wrote on last edited by
                      #10

                      I found this.
                      http://qtandeverything.blogspot.tw/2017/06/qt-for-web-assembly.html

                      VRoninV 1 Reply Last reply
                      0
                      • P peterlin82

                        I found this.
                        http://qtandeverything.blogspot.tw/2017/06/qt-for-web-assembly.html

                        VRoninV Offline
                        VRoninV Offline
                        VRonin
                        wrote on last edited by
                        #11

                        @peterlin82 from that link:

                        We use emscripten to cross compile Qt5 into javascript and/or webassembly.

                        So it's the same basic principle as asm.js, the performance hit is significant.

                        On the other hand, the WebGL solution (http://blog.qt.io/blog/2017/02/22/qt-quick-webgl-streaming/) planned for Qt 5.10 looks a lot more promising

                        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                        ~Napoleon Bonaparte

                        On a crusade to banish setIndexWidget() from the holy land of Qt

                        1 Reply Last reply
                        2
                        • J Offline
                          J Offline
                          joe blue
                          wrote on last edited by
                          #12

                          i think both webgl streaming & Web Assembly (WASM) are needed.

                          With both you really want anything that is QML / QT Quick to be supported and not support Qt Widgets and the old stuff, but i guess thats for the QT team to decide as its they that know their user usage matrix.

                          WebGL streaming is great for the quick and dirty where latency is not a killer.

                          • Its also perfect where you really want to protetc your code and want zero setup time for users. Its just connect (pull base lib) and get streaming.
                          • But on the server you will not be able to scale out to 100,00 users because each user is an app running on the server

                          WASM is needed where you want the full options like

                          • server can be a restful server in the traditional sense in any language
                          • client has offline support and needs low latency
                          VRoninV 1 Reply Last reply
                          1
                          • J joe blue

                            i think both webgl streaming & Web Assembly (WASM) are needed.

                            With both you really want anything that is QML / QT Quick to be supported and not support Qt Widgets and the old stuff, but i guess thats for the QT team to decide as its they that know their user usage matrix.

                            WebGL streaming is great for the quick and dirty where latency is not a killer.

                            • Its also perfect where you really want to protetc your code and want zero setup time for users. Its just connect (pull base lib) and get streaming.
                            • But on the server you will not be able to scale out to 100,00 users because each user is an app running on the server

                            WASM is needed where you want the full options like

                            • server can be a restful server in the traditional sense in any language
                            • client has offline support and needs low latency
                            VRoninV Offline
                            VRoninV Offline
                            VRonin
                            wrote on last edited by
                            #13

                            Just a couple of notes:

                            @joe-blue said in tableView on apache server:

                            But on the server you will not be able to scale out to 100,00 users because each user is an app running on the server

                            True but it's not the whole app run for every user but a lightweight web server

                            WASM is needed where you want the full options

                            Agree but since WASM is still not a thing yet we have to make do for now

                            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                            ~Napoleon Bonaparte

                            On a crusade to banish setIndexWidget() from the holy land of Qt

                            1 Reply Last reply
                            0
                            • P Offline
                              P Offline
                              peterlin82
                              wrote on last edited by
                              #14

                              I hope QT team do not give up Qt Widgets(Web Assembly).

                              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