Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. [Question] QT for WebAssembly
Forum Updated to NodeBB v4.3 + New Features

[Question] QT for WebAssembly

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 1 Posters 498 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.
  • J Offline
    J Offline
    jhayar
    wrote on last edited by jhayar
    #1

    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 ?
    thanks

    EDIT:
    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

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jhayar
      wrote on last edited by
      #2

      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

      1. What variable in .pro file to separate webapp to other project like , android{} , ios{} win{} is it wasm{}? or web{} ? or any other ?

      2. How can i call javascript method from QML ? or c++ ?

      3. What variable in .pro file that can add javascript file to my project

      4. What variable in .pro file that can add folders only for webassembly project ?

      5. 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

      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