diff --git a/tests/manual/wasm/CMakeLists.txt b/tests/manual/wasm/CMakeLists.txt new file mode 100644 index 00000000000..af319541d5e --- /dev/null +++ b/tests/manual/wasm/CMakeLists.txt @@ -0,0 +1,4 @@ +if(QT_FEATURE_widgets) +add_subdirectory(cursors) +add_subdirectory(localfiles) +endif() diff --git a/tests/manual/wasm/README.md b/tests/manual/wasm/README.md new file mode 100644 index 00000000000..4b205027db4 --- /dev/null +++ b/tests/manual/wasm/README.md @@ -0,0 +1,12 @@ +Manual tests and examples for Qt on WebAssembly +=============================================== + +These examples demonstrates various technical aspects of +the Qt for WebAssambly platform port, and can be used +as a reference when writing application code. + +Content +------- + + cursors Cursor handling + localfiles Local file download and upload diff --git a/tests/manual/wasm/cursors/CMakeLists.txt b/tests/manual/wasm/cursors/CMakeLists.txt new file mode 100644 index 00000000000..674c6d4d2bc --- /dev/null +++ b/tests/manual/wasm/cursors/CMakeLists.txt @@ -0,0 +1,12 @@ +qt_internal_add_manual_test(cursors + GUI + SOURCES + MainWindow.cpp MainWindow.h MainWindow.ui + main.cpp + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Widgets + ENABLE_AUTOGEN_TOOLS + uic +) diff --git a/tests/manual/wasm/localfiles/CMakeLists.txt b/tests/manual/wasm/localfiles/CMakeLists.txt new file mode 100644 index 00000000000..4e06a916ad8 --- /dev/null +++ b/tests/manual/wasm/localfiles/CMakeLists.txt @@ -0,0 +1,9 @@ +qt_internal_add_manual_test(localfiles + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Widgets +)