.UI to webpage(.HTML)
-
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.
-
@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 -
@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.
-
Hi, I've found that work, see it a lot.
https://www.cmpe.boun.edu.tr/content/generating-web-application-qt-designer-output
-
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