aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/webassembly/webassemblyrunconfigurationaspects.cpp
Commit message (Collapse)AuthorAgeFilesLines
* LayoutBuilder: Allow for more compact code at calling sitesChristian Kandeler2019-11-071-2/+1
| | | | | Change-Id: I12bb6dbfc138e03138b9a74d36e864d8ea36092f Reviewed-by: hjk <hjk@qt.io>
* Merge remote-tracking branch 'origin/4.11'Eike Ziller2019-10-281-18/+22
|\ | | | | | | Change-Id: I66389d88d5a60c6c86547b93cca945af42aa807b
| * WebAssembly: fix crashesTim Jenssen2019-10-281-18/+22
| | | | | | | | | | Change-Id: I9a2a44c85a254628f119eb041036492bc3022cdf Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | ProjectExplorer: Prepare more flexibility to aspect layoutinghjk2019-10-181-3/+4
|/ | | | | | | | | | | | | | | | This hides the explicit use of a QFormLayout from the aspect interface in a new LayoutBuilder class. That currently works only on a QFormLayout in the back, but opens the possibility to use e.g. a QGridLayout as use on the Kits and some option pages. The aspects now only announce sub-widgets they like to add, actuall positioning is does by a new LayoutBuilder class, also cramming several widgets in an hbox in the right column of the QFormLayout is done there. Change-Id: I2b788192c465f2ab82261849d34e514697c5a491 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* WebAssembly: Drop run config inheritance from CustomExecutablehjk2019-08-071-7/+0
| | | | | | | Also, auto-detect free port. Change-Id: I377956ef20a928f1877d702162792e7cae75a202 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* WebAssembly: Initial commitAlessandro Portale2019-07-251-0/+114
This change adds WebAssembly support in the shape of a plugin. - Auto-detection of the emsdk toolchain - Handling of "asmjs-unknown-emscripten" Abi - Binary detection of WebAssembly libraries - Auto-creation of a "WebAssembly runtime" device (with icon) - Runconfiguration that launches the application via the "emrun" tool which spawns a local web server and runs the application on the chosen web browser. Limitations: - So far only tested on Windows/MinGW and Linux - Not yet tested with Qt WebAssembly installation form the installer Only tested with self-built Qt and manually added kit - The attempt to launch an application via emrun, while a previous application is still running, will fail. The reason is that the web servers spawned by emrun listen to the same default port but serve only the content of one application. Possible solutions: We could either spawn the different web servers with different ports, or we could use one single web server instance which serves the whole default project location (home directory). Task-number: QTCREATORBUG-21068 Task-number: QTCREATORBUG-22249 Change-Id: I1a16fbe52382d45c37e9bc624a943a6ca475fa09 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>