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. .UI to webpage(.HTML)

.UI to webpage(.HTML)

Scheduled Pinned Locked Moved Unsolved General and Desktop
@dheerendra
8 Posts 5 Posters 5.1k 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.
  • V Offline
    V Offline
    vinay achar
    wrote on last edited by
    #1

    Hi Sir, I have made a simple GUI with login and password credentials in a .UI file now i want that GUI in a web page, can you please suggest me what is the process so that i can amend the changes accordingly.
    Note:
    I have tried converting its XML to .XSL file (XSLT transformation method) but i was unsuccessful, as i found it nearly impossible to write the same UI design using XSL .

    Kindly do the needful .

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Qt is not a web framework. If you need a web page, use some other library (like Django, Ruby on Rails etc.).

      You could run your Qt app in a browser - using Qt for Web Assembly.

      (Z(:^

      1 Reply Last reply
      4
      • V Offline
        V Offline
        vinay achar
        wrote on last edited by
        #3

        @sierdzio thank you for the response, so since qt is not a webframework dont i have any alternate method for converting my .UI file or my XML file to HTML and start working in a browser?

        Regards
        Vinay

        JonBJ 1 Reply Last reply
        0
        • V vinay achar

          @sierdzio thank you for the response, so since qt is not a webframework dont i have any alternate method for converting my .UI file or my XML file to HTML and start working in a browser?

          Regards
          Vinay

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @vinay-achar
          You cannot "convert" your .ui file, unless you want to write your own way of doing something equivalent.

          You can run a Qt UI program in a web browser via Qt for WebAssembly, see https://forum.qt.io/topic/106903/links-for-qt-for-webassembly. It runs with certain limitations.

          1 Reply Last reply
          5
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            @vinay-achar said in .UI to webpage(.HTML):

            dont i have any alternate method for converting my .UI file or my XML file to HTML

            No. Pick a web framework and implement it from scratch there.

            BTW side note: there is a web framework written in Qt, cutelyst. But even there, you will need to implement your HTML code from scratch. The .ui files are just completely different than what web browsers expect.

            (Z(:^

            1 Reply Last reply
            3
            • J Offline
              J Offline
              JaimeEc
              wrote on last edited by
              #6

              Hi, I've found that work, see it a lot.

              https://www.cmpe.boun.edu.tr/content/generating-web-application-qt-designer-output

              V 1 Reply Last reply
              1
              • ODБOïO Offline
                ODБOïO Offline
                ODБOï
                wrote on last edited by
                #7

                hi, it's not exactly what you are asking for, but this might interest you as well
                https://pureqml.com/
                with pureqml you can write web applications using QML
                be aware it is in BETA

                1 Reply Last reply
                2
                • J JaimeEc

                  Hi, I've found that work, see it a lot.

                  https://www.cmpe.boun.edu.tr/content/generating-web-application-qt-designer-output

                  V Offline
                  V Offline
                  vinay achar
                  wrote on last edited by
                  #8

                  @JaimeEc Thank you for your support , this tutorial looks amazing .

                  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