.UI to webpage(.HTML)
-
wrote on 13 Jul 2020, 05:07 last edited by
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 .
-
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.
-
wrote on 13 Jul 2020, 07:03 last edited by
@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 -
@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
Vinaywrote on 13 Jul 2020, 07:14 last edited by@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.
-
@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.
-
wrote on 2 Apr 2021, 00:09 last edited by
Hi, I've found that work, see it a lot.
https://www.cmpe.boun.edu.tr/content/generating-web-application-qt-designer-output
-
wrote on 2 Apr 2021, 08:39 last edited by
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 -
Hi, I've found that work, see it a lot.
https://www.cmpe.boun.edu.tr/content/generating-web-application-qt-designer-output
wrote on 4 Apr 2021, 06:00 last edited by@JaimeEc Thank you for your support , this tutorial looks amazing .