Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.4.0 Beta3
-
None
-
-
0f80b65a01 (qt/qtbase/dev) 0f80b65a01 (qt/tqtc-qtbase/dev) 06b95cf55e (qt/qtbase/6.4) 06b95cf55e (qt/tqtc-qtbase/6.4)
Description
Open the plug & paint example and modify the app/CMakeLists.txt:
Add the following extra call after qt_add_executable:
set_target_properties(plugandpaint PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
Building the example in QtCreator works fine, but starting it won't work.
The wasm and js files are now in the top-level build-directory, as they respect the RUNTIME_OUTPUT_DIRECTORY, but plugandpaint.html, qtloader.js and qtloader.svg are still only part of the app sub-directory.
Attachments
Issue Links
- relates to
-
QTBUG-106043 wasm: 'make install' on apps does not install helper files
- Closed
-
QTBUG-101267 Examples not running on browser on Windows: missing .js file
- Closed