[Question] QT for WebAssembly
-
Hi ,
I know i have so many questions sorry about that , please understand that i just found the QT framework just a week ago , so i have no idea how this really works/ or what features does QT have that others haven't ,Ok , yesterday i found out that QT has a ability to create a website with the same code i used in my mobile app , and then i tried it out , fix some weird bugs like not found /home/qt/blah /blah , and then i managed to fix it by just creating /home/qt and all folders which QT creator is looking for. (hope that this will fix soon, this appears also on mac os )
so i tried to use QT for Webassembly and run my first web app , and i said "wow this is so cool" but there's 1 thing i noticed , there's is a splash screen when the web app starting or i trigger the reload , how can i remove it or change it ?
Also , how can i add Response header on the system?
and on .pro file how to add other source folder on web ?
on android i just add below
android{
ANDROID_PACKAGE_SOURCE_DIR=$$PWD/path
}how about for web app ?
thanksEDIT:
I don't know what happen and it was posted on this thread , but i know this is wrong thread, please move this on QT for webassembly , sorry for the mistake thanks -
Anyone ?
I want to know what variable can we use in .pro in creating webapp ? when i check the documentation regarding the variables there's no webassembly on the docs .
i need this to separate android,ios,windows,linux included path to webassembly includedpath , so i can use one project on all platform
what i need to know in webassembly is-
What variable in .pro file to separate webapp to other project like , android{} , ios{} win{} is it wasm{}? or web{} ? or any other ?
-
How can i call javascript method from QML ? or c++ ?
-
What variable in .pro file that can add javascript file to my project
-
What variable in .pro file that can add folders only for webassembly project ?
-
Sometimes using qrc resource file is not needed to import qml custom control from other folders i try this on my self that i can use "/where/is/the/custom/control/path" as NameSpaceAlias on my other project without saving it into .qrc , but on the webassembly eventhough i define the file in .pro in DISTFILES, after compilation the files from distfiles are not included on the folder where compiled wasm located , so this gives me error
-