diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-05-08 14:06:53 +0100 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-05-22 08:53:50 +0100 |
commit | 22dd30949938083aceda8267c41c920c61c0d388 (patch) | |
tree | a49704414a853624006b860d1a92689bc4f5ca88 | |
parent | 5596989f92fd36615e203215ef274bff80bb7e31 (diff) |
Add support for building with CMake
Change-Id: If6c887c6356a160a5f3fb906d38a341fff0c7b29
Reviewed-by: Mike Krus <mike.krus@kdab.com>
442 files changed, 17116 insertions, 17 deletions
diff --git a/.cmake.conf b/.cmake.conf new file mode 100644 index 000000000..930548045 --- /dev/null +++ b/.cmake.conf @@ -0,0 +1 @@ +set(QT_REPO_MODULE_VERSION "6.0.0") diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt new file mode 100644 index 000000000..aff4dafac --- /dev/null +++ b/.prev_CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qt3d.pro. + +cmake_minimum_required(VERSION 3.15.0) + +include(.cmake.conf) +project(3d_FIXME + VERSION "${QT_REPO_MODULE_VERSION}" + DESCRIPTION "Qt 3d_FIXME Libraries" + HOMEPAGE_URL "https://qt.io/" + LANGUAGES CXX C +) + +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL) +find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL) + +qt_build_repo() diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..2f7f37d50 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qt3d.pro. + +cmake_minimum_required(VERSION 3.15.0) + +project(Qt3D # special case + VERSION 6.0.0 + DESCRIPTION "Qt 3D Libraries" # special case + HOMEPAGE_URL "https://qt.io/" + LANGUAGES CXX C +) + +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui + OPTIONAL_COMPONENTS Concurrent Widgets Qml Quick Gamepad OpenGL OpenGLExtensions ShaderTools +) + +if(NOT TARGET Qt::Gui) + message(FATAL_ERROR "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.") + return() +endif() +if(WASM OR NOT QT_FEATURE_opengl) + message(FATAL_ERROR "Skipping the build as the condition \"QT_FEATURE_opengl AND NOT WASM\" is not met.") + return() +endif() + +qt_build_repo() diff --git a/cmake/FindWrapAssimp.cmake b/cmake/FindWrapAssimp.cmake new file mode 100644 index 000000000..594a81b65 --- /dev/null +++ b/cmake/FindWrapAssimp.cmake @@ -0,0 +1,35 @@ +if(TARGET WrapAssimp::WrapAssimp) + set(WrapAssimp_FOUND TRUE) + return() +endif() + +set(WrapAssimp_FOUND FALSE) + +find_package(assimp ${WrapAssimp_FIND_VERSION} CONFIG QUIET) +if (assimp_FOUND AND TARGET assimp::assimp) + add_library(WrapAssimp::WrapAssimp INTERFACE IMPORTED) + target_link_libraries(WrapAssimp::WrapAssimp INTERFACE assimp::assimp) + + # The Assimp configuration file is broken, and sets only the Release location, without advertising + # that it's available via IMPORTED_CONFIGURATIONS. Thus when configuring with a different + # configuration, you get a assimp::assimp-NOTFOUND at build time. + # Make the release configuration be the default one. + get_target_property(_assimp_library_location assimp::assimp IMPORTED_LOCATION) + if(NOT _assimp_library_location) + get_target_property(_assimp_library_location_release assimp::assimp IMPORTED_LOCATION_RELEASE) + if(_assimp_library_location_release) + set_target_properties(assimp::assimp PROPERTIES + IMPORTED_LOCATION "${_assimp_library_location_release}") + endif() + endif() + + set(WrapAssimp_FOUND TRUE) +elseif(assimp_FOUND AND assimp_LIBRARIES AND assimp_INCLUDE_DIRS) + add_library(WrapAssimp::WrapAssimp INTERFACE IMPORTED) + target_link_libraries(WrapAssimp::WrapAssimp INTERFACE ${assimp_LIBRARIES}) + target_include_directories(WrapAssimp::WrapAssimp INTERFACE ${assimp_INCLUDE_DIRS}) + set(WrapAssimp_FOUND TRUE) +endif() + +include(FindPackageHandleStandardArgs) +find_package_handle_standard_args(WrapAssimp DEFAULT_MSG WrapAssimp_FOUND) diff --git a/config.tests/assimp/CMakeLists.txt b/config.tests/assimp/CMakeLists.txt new file mode 100644 index 000000000..33014d1c5 --- /dev/null +++ b/config.tests/assimp/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from assimp.pro. + +cmake_minimum_required(VERSION 3.14.0) +project(config_test_assimp LANGUAGES C CXX) + +foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) + find_package(${p}) +endforeach() + +if(QT_CONFIG_COMPILE_TEST_LIBRARIES) + link_libraries(${QT_CONFIG_COMPILE_TEST_LIBRARIES}) +endif() +if(QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS) + foreach(lib ${QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS}) + if(TARGET ${lib}) + link_libraries(${lib}) + endif() + endforeach() +endif() + +add_executable(${PROJECT_NAME} + main.cpp +) diff --git a/config.tests/fbx/CMakeLists.txt b/config.tests/fbx/CMakeLists.txt new file mode 100644 index 000000000..ae2640b33 --- /dev/null +++ b/config.tests/fbx/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from fbx.pro. + +cmake_minimum_required(VERSION 3.14.0) +project(config_test_fbx LANGUAGES C CXX) + +foreach(p ${QT_CONFIG_COMPILE_TEST_PACKAGES}) + find_package(${p}) +endforeach() + +if(QT_CONFIG_COMPILE_TEST_LIBRARIES) + link_libraries(${QT_CONFIG_COMPILE_TEST_LIBRARIES}) +endif() +if(QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS) + foreach(lib ${QT_CONFIG_COMPILE_TEST_LIBRARY_TARGETS}) + if(TARGET ${lib}) + link_libraries(${lib}) + endif() + endforeach() +endif() + +add_executable(${PROJECT_NAME} + main.cpp +) diff --git a/configure.cmake b/configure.cmake new file mode 100644 index 000000000..00f9e4649 --- /dev/null +++ b/configure.cmake @@ -0,0 +1,22 @@ + + +#### Inputs + + + +#### Libraries + + + +#### Tests + + + +#### Features + + +qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC) +qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC) +qt_extra_definition("QT_VERSION_MINOR" ${PROJECT_VERSION_MINOR} PUBLIC) +qt_extra_definition("QT_VERSION_PATCH" ${PROJECT_VERSION_PATCH} PUBLIC) + diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 000000000..a1d024c06 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,9 @@ +# Generated from examples.pro. + +qt_examples_build_begin() + +if(QT_FEATURE_qt3d_extras) + add_subdirectory(qt3d) +endif() + +qt_examples_build_end() diff --git a/examples/qt3d/3d-text/CMakeLists.txt b/examples/qt3d/3d-text/CMakeLists.txt new file mode 100644 index 000000000..a28de01b8 --- /dev/null +++ b/examples/qt3d/3d-text/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from 3d-text.pro. + +cmake_minimum_required(VERSION 3.14) +project(3d-text LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) + +add_qt_gui_executable(3d-text + main.cpp +) +target_link_libraries(3d-text PUBLIC + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui +) + +install(TARGETS 3d-text + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/CMakeLists.txt b/examples/qt3d/CMakeLists.txt new file mode 100644 index 000000000..64f04ce53 --- /dev/null +++ b/examples/qt3d/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from qt3d.pro. + +add_subdirectory(simple-cpp) +add_subdirectory(3d-text) +if(TARGET Qt::Widgets) + add_subdirectory(basicshapes-cpp) +endif() +if(TARGET Qt::QuickWidgets AND TARGET Qt::Widgets) + add_subdirectory(widgets-scene3d) +endif() +if(TARGET Qt::Quick) + add_subdirectory(simple-qml) + add_subdirectory(shadow-map-qml) + add_subdirectory(instanced-arrays-qml) + add_subdirectory(planets-qml) + add_subdirectory(advancedcustommaterial) + add_subdirectory(anaglyph-rendering) + add_subdirectory(compute-particles) + add_subdirectory(phong-cubes) + add_subdirectory(lights) + add_subdirectory(scene3dview) + add_subdirectory(controlsunderlay) + add_subdirectory(simplecustommaterial) + add_subdirectory(qardboard) + add_subdirectory(pbr-materials) + add_subdirectory(scene2d) + add_subdirectory(multiviewport) + add_subdirectory(wireframe) + add_subdirectory(wave) + add_subdirectory(scene3d) + add_subdirectory(controls) +endif() +if(TARGET Qt::Multimedia AND TARGET Qt::Quick) + add_subdirectory(audio-visualizer-qml) +endif() diff --git a/examples/qt3d/advancedcustommaterial/CMakeLists.txt b/examples/qt3d/advancedcustommaterial/CMakeLists.txt new file mode 100644 index 000000000..40f6f2ad3 --- /dev/null +++ b/examples/qt3d/advancedcustommaterial/CMakeLists.txt @@ -0,0 +1,87 @@ +# Generated from advancedcustommaterial.pro. + +cmake_minimum_required(VERSION 3.14) +project(advancedcustommaterial LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(advancedcustommaterial + main.cpp +) +target_link_libraries(advancedcustommaterial PUBLIC + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(qml_resource_files + "SceneRoot.qml" + "Water.qml" + "WaterMaterial.qml" + "main.qml" +) + +qt6_add_resources(advancedcustommaterial "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) +set(models_resource_files + "models/waterPlane.obj" +) + +qt6_add_resources(advancedcustommaterial "models" + PREFIX + "/" + FILES + ${models_resource_files} +) +set(textures_resource_files + "textures/WaterDiffuse.jpg" + "textures/WaterNormal.jpg" + "textures/WaterSpecular.jpg" + "textures/Waterwave.jpg" + "textures/foam.jpg" + "textures/sky.jpg" +) + +qt6_add_resources(advancedcustommaterial "textures" + PREFIX + "/" + FILES + ${textures_resource_files} +) +set(shaders_resource_files + "shaders/es2/water.frag" + "shaders/es2/water.vert" + "shaders/gl3/water.frag" + "shaders/gl3/water.vert" +) + +qt6_add_resources(advancedcustommaterial "shaders" + PREFIX + "/" + FILES + ${shaders_resource_files} +) + +install(TARGETS advancedcustommaterial + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/anaglyph-rendering/CMakeLists.txt b/examples/qt3d/anaglyph-rendering/CMakeLists.txt new file mode 100644 index 000000000..4214b4864 --- /dev/null +++ b/examples/qt3d/anaglyph-rendering/CMakeLists.txt @@ -0,0 +1,128 @@ +# Generated from anaglyph-rendering.pro. + +cmake_minimum_required(VERSION 3.14) +project(anaglyph-rendering LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(anaglyph-rendering + main.cpp +) +target_link_libraries(anaglyph-rendering PUBLIC + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(resources_resource_files + "StereoCamera.qml" + "StereoFrameGraph.qml" + "main.qml" +) + +qt6_add_resources(anaglyph-rendering "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) +set_source_files_properties("../exampleresources/assets/cubemaps/default/default_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_irradiance.dds" +) +set_source_files_properties("../exampleresources/assets/cubemaps/default/default_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_specular.dds" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_negx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negx.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_negy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negy.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_negz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negz.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_posx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posx.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_posy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posy.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_posz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posz.webp" +) +set(cubemaps_resource_files + "assets/cubemaps/default/default_irradiance.dds" + "assets/cubemaps/default/default_specular.dds" + "assets/cubemaps/miramar/miramar_negx.webp" + "assets/cubemaps/miramar/miramar_negy.webp" + "assets/cubemaps/miramar/miramar_negz.webp" + "assets/cubemaps/miramar/miramar_posx.webp" + "assets/cubemaps/miramar/miramar_posy.webp" + "assets/cubemaps/miramar/miramar_posz.webp" +) + +qt6_add_resources(anaglyph-rendering "cubemaps" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${cubemaps_resource_files} +) +set_source_files_properties("../exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt6_add_resources(anaglyph-rendering "obj" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${obj_resource_files} +) + +install(TARGETS anaglyph-rendering + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/audio-visualizer-qml/CMakeLists.txt b/examples/qt3d/audio-visualizer-qml/CMakeLists.txt new file mode 100644 index 000000000..7cb5b7409 --- /dev/null +++ b/examples/qt3d/audio-visualizer-qml/CMakeLists.txt @@ -0,0 +1,68 @@ +# Generated from audio-visualizer-qml.pro. + +cmake_minimum_required(VERSION 3.14) +project(audio-visualizer-qml LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) +find_package(Qt6 COMPONENTS Multimedia) + +add_qt_gui_executable(audio-visualizer-qml + main.cpp + touchsettings.cpp touchsettings.h +) +target_link_libraries(audio-visualizer-qml PUBLIC + Qt::3DCore + Qt::3DQuick + Qt::Core + Qt::Gui + Qt::Multimedia + Qt::Qml + Qt::Quick +) + + +# Resources: +set(audio-visualizer-qml_resource_files + "BarEntity.qml" + "Visualizer.qml" + "images/albumcover.png" + "images/demotitle.png" + "images/normalmap.png" + "images/pausehoverpressed.png" + "images/pausenormal.png" + "images/playhoverpressed.png" + "images/playnormal.png" + "images/songtitle.png" + "images/stopdisabled.png" + "images/stophoverpressed.png" + "images/stopnormal.png" + "main.qml" + "meshes/circle.obj" + "meshes/progressbar.obj" + "music/tiltshifted_lost_neon_sun.mp3" + "music/visualization.raw" +) + +qt6_add_resources(audio-visualizer-qml "audio-visualizer-qml" + PREFIX + "/" + FILES + ${audio-visualizer-qml_resource_files} +) + +install(TARGETS audio-visualizer-qml + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/basicshapes-cpp/CMakeLists.txt b/examples/qt3d/basicshapes-cpp/CMakeLists.txt new file mode 100644 index 000000000..cebb87ae7 --- /dev/null +++ b/examples/qt3d/basicshapes-cpp/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from basicshapes-cpp.pro. + +cmake_minimum_required(VERSION 3.14) +project(basicshapes-cpp LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) + +add_qt_gui_executable(basicshapes-cpp + main.cpp + scenemodifier.cpp scenemodifier.h +) +target_link_libraries(basicshapes-cpp PUBLIC + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Widgets +) + +install(TARGETS basicshapes-cpp + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/compute-particles/CMakeLists.txt b/examples/qt3d/compute-particles/CMakeLists.txt new file mode 100644 index 000000000..0f6f71736 --- /dev/null +++ b/examples/qt3d/compute-particles/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from compute-particles.pro. + +cmake_minimum_required(VERSION 3.14) +project(compute-particles LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Quick) +find_package(Qt6 COMPONENTS Qml) + +add_qt_gui_executable(compute-particles + main.cpp +) +target_link_libraries(compute-particles PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(compute-particles_resource_files + "ComputeFrameGraph.qml" + "ComputeMaterial.qml" + "ParticlesScene.qml" + "main.qml" + "particles.comp" + "particles.frag" + "particles.vert" +) + +qt6_add_resources(compute-particles "compute-particles" + PREFIX + "/" + FILES + ${compute-particles_resource_files} +) + +install(TARGETS compute-particles + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/controls/CMakeLists.txt b/examples/qt3d/controls/CMakeLists.txt new file mode 100644 index 000000000..0bdef4187 --- /dev/null +++ b/examples/qt3d/controls/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from controls.pro. + +cmake_minimum_required(VERSION 3.14) +project(controls LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(controls + main.cpp +) +target_link_libraries(controls PUBLIC + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(controls_resource_files + "Logo.qml" + "Qt_logo.obj" + "main.qml" +) + +qt6_add_resources(controls "controls" + PREFIX + "/" + FILES + ${controls_resource_files} +) + +install(TARGETS controls + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/controlsunderlay/CMakeLists.txt b/examples/qt3d/controlsunderlay/CMakeLists.txt new file mode 100644 index 000000000..712596678 --- /dev/null +++ b/examples/qt3d/controlsunderlay/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from controlsunderlay.pro. + +cmake_minimum_required(VERSION 3.14) +project(controlsunderlay LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(controlsunderlay + main.cpp +) +target_link_libraries(controlsunderlay PUBLIC + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(controls_resource_files + "Logo.qml" + "Qt_logo.obj" + "main.qml" +) + +qt6_add_resources(controlsunderlay "controls" + PREFIX + "/" + FILES + ${controls_resource_files} +) + +install(TARGETS controlsunderlay + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/instanced-arrays-qml/CMakeLists.txt b/examples/qt3d/instanced-arrays-qml/CMakeLists.txt new file mode 100644 index 000000000..7461f0c13 --- /dev/null +++ b/examples/qt3d/instanced-arrays-qml/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from instanced-arrays-qml.pro. + +cmake_minimum_required(VERSION 3.14) +project(instanced-arrays-qml LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(instanced-arrays-qml + instancebuffer.cpp instancebuffer.h + main.cpp +) +target_link_libraries(instanced-arrays-qml PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(instanced-arrays-qml_resource_files + "instanced.frag" + "instanced.vert" + "main.qml" +) + +qt6_add_resources(instanced-arrays-qml "instanced-arrays-qml" + PREFIX + "/" + FILES + ${instanced-arrays-qml_resource_files} +) + +install(TARGETS instanced-arrays-qml + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/lights/CMakeLists.txt b/examples/qt3d/lights/CMakeLists.txt new file mode 100644 index 000000000..11be8eebc --- /dev/null +++ b/examples/qt3d/lights/CMakeLists.txt @@ -0,0 +1,199 @@ +# Generated from lights.pro. + +cmake_minimum_required(VERSION 3.14) +project(lights LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(lights + main.cpp +) +target_link_libraries(lights PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(lights_resource_files + "PlaneEntity.qml" + "SimpleForwardRenderer.qml" + "main.qml" +) + +qt6_add_resources(lights "lights" + PREFIX + "/" + FILES + ${lights_resource_files} +) +set_source_files_properties("../exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt6_add_resources(lights "obj" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${obj_resource_files} +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/no-ao.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/no-ao.png" +) +set(textures_resource_files + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" + "assets/textures/copper_brushed/copper_brushed_basecolor.png" + "assets/textures/copper_brushed/copper_brushed_metallic.png" + "assets/textures/copper_brushed/copper_brushed_normal.png" + "assets/textures/copper_brushed/copper_brushed_roughness.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" + "assets/textures/no-ao.png" +) + +qt6_add_resources(lights "textures" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${textures_resource_files} +) + +install(TARGETS lights + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/multiviewport/CMakeLists.txt b/examples/qt3d/multiviewport/CMakeLists.txt new file mode 100644 index 000000000..48dd7e5ed --- /dev/null +++ b/examples/qt3d/multiviewport/CMakeLists.txt @@ -0,0 +1,69 @@ +# Generated from multiviewport.pro. + +cmake_minimum_required(VERSION 3.14) +project(multiviewport LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(multiviewport + main.cpp +) +target_link_libraries(multiviewport PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(multiviewport_resource_files + "Gear_scene.dae" + "QuadViewportFrameGraph.qml" + "SimpleCamera.qml" + "main.qml" +) + +qt6_add_resources(multiviewport "multiviewport" + PREFIX + "/" + FILES + ${multiviewport_resource_files} +) +set_source_files_properties("../exampleresources/assets/test_scene.dae" + PROPERTIES QT_RESOURCE_ALIAS "assets/test_scene.dae" +) +set(test_scene_resource_files + "assets/test_scene.dae" +) + +qt6_add_resources(multiviewport "test_scene" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${test_scene_resource_files} +) + +install(TARGETS multiviewport + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/pbr-materials/CMakeLists.txt b/examples/qt3d/pbr-materials/CMakeLists.txt new file mode 100644 index 000000000..ae2792841 --- /dev/null +++ b/examples/qt3d/pbr-materials/CMakeLists.txt @@ -0,0 +1,243 @@ +# Generated from pbr-materials.pro. + +cmake_minimum_required(VERSION 3.14) +project(pbr-materials LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(pbr-materials + main.cpp +) +target_link_libraries(pbr-materials PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(materials_resource_files + "BasicCamera.qml" + "Lights.qml" + "TrefoilKnot.qml" + "main.qml" +) + +qt6_add_resources(pbr-materials "materials" + PREFIX + "/" + FILES + ${materials_resource_files} +) +set_source_files_properties("../exampleresources/assets/cubemaps/default/default_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_irradiance.dds" +) +set_source_files_properties("../exampleresources/assets/cubemaps/default/default_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_specular.dds" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_negx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negx.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_negy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negy.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_negz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negz.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_posx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posx.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_posy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posy.webp" +) +set_source_files_properties("../exampleresources/assets/cubemaps/miramar/miramar_posz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posz.webp" +) +set(cubemaps_resource_files + "assets/cubemaps/default/default_irradiance.dds" + "assets/cubemaps/default/default_specular.dds" + "assets/cubemaps/miramar/miramar_negx.webp" + "assets/cubemaps/miramar/miramar_negy.webp" + "assets/cubemaps/miramar/miramar_negz.webp" + "assets/cubemaps/miramar/miramar_posx.webp" + "assets/cubemaps/miramar/miramar_posy.webp" + "assets/cubemaps/miramar/miramar_posz.webp" +) + +qt6_add_resources(pbr-materials "cubemaps" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${cubemaps_resource_files} +) +set_source_files_properties("../exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt6_add_resources(pbr-materials "obj" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${obj_resource_files} +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/no-ao.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/no-ao.png" +) +set(textures_resource_files + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" + "assets/textures/copper_brushed/copper_brushed_basecolor.png" + "assets/textures/copper_brushed/copper_brushed_metallic.png" + "assets/textures/copper_brushed/copper_brushed_normal.png" + "assets/textures/copper_brushed/copper_brushed_roughness.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" + "assets/textures/no-ao.png" +) + +qt6_add_resources(pbr-materials "textures" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${textures_resource_files} +) + +install(TARGETS pbr-materials + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/phong-cubes/CMakeLists.txt b/examples/qt3d/phong-cubes/CMakeLists.txt new file mode 100644 index 000000000..c808745ac --- /dev/null +++ b/examples/qt3d/phong-cubes/CMakeLists.txt @@ -0,0 +1,167 @@ +# Generated from phong-cubes.pro. + +cmake_minimum_required(VERSION 3.14) +project(phong-cubes LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(phong-cubes + main.cpp +) +target_link_libraries(phong-cubes PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(phong-cubes_resource_files + "CubeEntity.qml" + "main.qml" +) + +qt6_add_resources(phong-cubes "phong-cubes" + PREFIX + "/" + FILES + ${phong-cubes_resource_files} +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/copper_brushed/copper_brushed_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/copper_brushed/copper_brushed_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" +) +set_source_files_properties("../exampleresources/assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" +) +set_source_files_properties("../exampleresources/assets/textures/no-ao.png" + PROPERTIES QT_RESOURCE_ALIAS "assets/textures/no-ao.png" +) +set(textures_resource_files + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_basecolor.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_metallic.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_normal.png" + "assets/textures/aluminium_random_brushed/aluminium_random_brushed_roughness.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_basecolor.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_metallic.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_normal.png" + "assets/textures/american_walnut_crown_cut/american_walnut_crown_cut_roughness.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_ambient_occlusion.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_basecolor.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_metallic.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_normal.png" + "assets/textures/ceramic_small_diamond/ceramic_small_diamond_roughness.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_basecolor.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_metallic.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_normal.png" + "assets/textures/ceramic_tiles_brown_tomato/ceramic_tiles_brown_tomato_roughness.png" + "assets/textures/copper_brushed/copper_brushed_basecolor.png" + "assets/textures/copper_brushed/copper_brushed_metallic.png" + "assets/textures/copper_brushed/copper_brushed_normal.png" + "assets/textures/copper_brushed/copper_brushed_roughness.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_basecolor.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_metallic.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_normal.png" + "assets/textures/gold_leaf_waste/gold_leaf_waste_roughness.png" + "assets/textures/no-ao.png" +) + +qt6_add_resources(phong-cubes "textures" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${textures_resource_files} +) + +install(TARGETS phong-cubes + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/planets-qml/CMakeLists.txt b/examples/qt3d/planets-qml/CMakeLists.txt new file mode 100644 index 000000000..5a536896e --- /dev/null +++ b/examples/qt3d/planets-qml/CMakeLists.txt @@ -0,0 +1,135 @@ +# Generated from planets-qml.pro. + +cmake_minimum_required(VERSION 3.14) +project(planets-qml LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) +find_package(Qt6 COMPONENTS Concurrent) +find_package(Qt6 COMPONENTS Network) + +add_qt_gui_executable(planets-qml + main.cpp + networkcontroller.cpp networkcontroller.h +) +target_link_libraries(planets-qml PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DQuickInput + Qt::3DQuickRender + Qt::3DRender + Qt::Concurrent + Qt::Core + Qt::Gui + Qt::Network + Qt::Qml + Qt::Quick +) + + +# Resources: +set(planets-qml_resource_files + "AppleTVInput.qml" + "FpsDisplay.qml" + "InfoSheet.qml" + "Planet.qml" + "PlanetButton.qml" + "PlanetEffect.qml" + "PlanetFrameGraph.qml" + "PlanetMaterial.qml" + "PlanetsLight.qml" + "PlanetsMain.qml" + "Ring.qml" + "ShadowEffect.qml" + "SolarSystem.qml" + "StyledSlider.qml" + "SunEffect.qml" + "meshes/ring.obj" + "meshes/starfield.obj" + "planets.js" + "shaders/es2/planetD.frag" + "shaders/es2/planetD.vert" + "shaders/es2/planetDB.frag" + "shaders/es2/planetDB.vert" + "shaders/es2/planetDS.frag" + "shaders/es2/planetDSB.frag" + "shaders/es2/sun.frag" + "shaders/es2/sun.vert" + "shaders/gl3/planetD.frag" + "shaders/gl3/planetD.vert" + "shaders/gl3/planetDB.frag" + "shaders/gl3/planetDB.vert" + "shaders/gl3/planetDS.frag" + "shaders/gl3/planetDSB.frag" + "shaders/gl3/planetDShadow.frag" + "shaders/gl3/planetDShadow.vert" + "shaders/gl3/shadowmap.frag" + "shaders/gl3/shadowmap.vert" + "shaders/gl3/sun.frag" + "shaders/gl3/sun.vert" +) + +qt6_add_resources(planets-qml "planets-qml" + PREFIX + "/" + FILES + ${planets-qml_resource_files} +) +set(planets-qml-images_resource_files + "images/earth.png" + "images/jupiter.png" + "images/mars.png" + "images/mercury.png" + "images/nasa/uranusringcolortrans.png" + "images/neptune.png" + "images/saturn.png" + "images/solarsystemscope/earthcloudmapcolortrans.png" + "images/solarsystemscope/earthcloudmapspec.jpg" + "images/solarsystemscope/earthmap2k.jpg" + "images/solarsystemscope/earthnormal2k.jpg" + "images/solarsystemscope/earthspec2k.jpg" + "images/solarsystemscope/galaxy_starfield.jpg" + "images/solarsystemscope/jupitermap.jpg" + "images/solarsystemscope/license.txt" + "images/solarsystemscope/marsmap2k.jpg" + "images/solarsystemscope/marsnormal2k.jpg" + "images/solarsystemscope/mercurymap.jpg" + "images/solarsystemscope/mercurynormal.jpg" + "images/solarsystemscope/moonmap2k.jpg" + "images/solarsystemscope/moonnormal2k.jpg" + "images/solarsystemscope/neptunemap.jpg" + "images/solarsystemscope/saturnmap.jpg" + "images/solarsystemscope/saturnringcolortrans.png" + "images/solarsystemscope/sunmap.jpg" + "images/solarsystemscope/uranusmap.jpg" + "images/solarsystemscope/venusmap.jpg" + "images/solarsystemscope/venusnormal.jpg" + "images/sun.png" + "images/uranus.png" + "images/venus.png" +) + +qt6_add_resources(planets-qml "planets-qml-images" + PREFIX + "/" + FILES + ${planets-qml-images_resource_files} +) + +install(TARGETS planets-qml + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/qardboard/CMakeLists.txt b/examples/qt3d/qardboard/CMakeLists.txt new file mode 100644 index 000000000..15ec41aa8 --- /dev/null +++ b/examples/qt3d/qardboard/CMakeLists.txt @@ -0,0 +1,101 @@ +# Generated from qardboard.pro. + +cmake_minimum_required(VERSION 3.14) +project(qardboard LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(qardboard + abstractdeviceorientation.cpp abstractdeviceorientation.h + dummydeviceorientation.cpp dummydeviceorientation.h + main.cpp +) +target_link_libraries(qardboard PUBLIC + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(resources_resource_files + "PlacedEntity.qml" + "QardboardCamera.qml" + "QardboardFrameGraph.qml" + "QardboardRootEntity.qml" + "QardboardScene3D.qml" + "main.qml" +) + +qt6_add_resources(qardboard "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) +set_source_files_properties("../exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt6_add_resources(qardboard "obj" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${obj_resource_files} +) + +if(IOS) + target_sources(qardboard PUBLIC + iosdeviceorientation.h iosdeviceorientation.mm iosdeviceorientation_p.h iosdeviceorientation_p.mm + ) + + target_link_libraries(qardboard PUBLIC + Qt::Sensors + Qt::SensorsPrivate + ) +endif() + +install(TARGETS qardboard + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/qgltf/CMakeLists.txt b/examples/qt3d/qgltf/CMakeLists.txt new file mode 100644 index 000000000..dd0be6ae0 --- /dev/null +++ b/examples/qt3d/qgltf/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from qgltf.pro. + +cmake_minimum_required(VERSION 3.14) +project(qgltf LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(qgltf + main.cpp +) +target_link_libraries(qgltf PUBLIC + Qt::3DCore + Qt::3DExtras + 3dquick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(qgltf_example_resource_files + "Scene.qml" + "main.qml" +) + +qt6_add_resources(qgltf "qgltf_example" + PREFIX + "/" + FILES + ${qgltf_example_resource_files} +) + +install(TARGETS qgltf + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/scene2d/CMakeLists.txt b/examples/qt3d/scene2d/CMakeLists.txt new file mode 100644 index 000000000..cff3f8900 --- /dev/null +++ b/examples/qt3d/scene2d/CMakeLists.txt @@ -0,0 +1,50 @@ +# Generated from scene2d.pro. + +cmake_minimum_required(VERSION 3.14) +project(scene2d LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(scene2dsample + main.cpp +) +target_link_libraries(scene2dsample PUBLIC + Qt::3DQuick + Qt::3DQuickExtras + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(scene2d_resource_files + "LogoControls.qml" + "Qt_logo.obj" + "main.qml" +) + +qt6_add_resources(scene2dsample "scene2d" + PREFIX + "/" + FILES + ${scene2d_resource_files} +) + +install(TARGETS scene2dsample + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/scene3d/CMakeLists.txt b/examples/qt3d/scene3d/CMakeLists.txt new file mode 100644 index 000000000..675bb53b1 --- /dev/null +++ b/examples/qt3d/scene3d/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from scene3d.pro. + +cmake_minimum_required(VERSION 3.14) +project(scene3d LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(scene3d + main.cpp +) +target_link_libraries(scene3d PUBLIC + Qt::3DInput + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(scene3d_resource_files + "AnimatedEntity.qml" + "main.qml" +) + +qt6_add_resources(scene3d "scene3d" + PREFIX + "/" + FILES + ${scene3d_resource_files} +) + +install(TARGETS scene3d + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/scene3dview/CMakeLists.txt b/examples/qt3d/scene3dview/CMakeLists.txt new file mode 100644 index 000000000..6ae41b5ac --- /dev/null +++ b/examples/qt3d/scene3dview/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from scene3dview.pro. + +cmake_minimum_required(VERSION 3.14) +project(scene3dview LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(scene3dview + main.cpp +) +target_link_libraries(scene3dview PUBLIC + Qt::3DInput + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(scene3dview_resource_files + "AnimatedEntity.qml" + "main.qml" +) + +qt6_add_resources(scene3dview "scene3dview" + PREFIX + "/" + FILES + ${scene3dview_resource_files} +) + +install(TARGETS scene3dview + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/shadow-map-qml/CMakeLists.txt b/examples/qt3d/shadow-map-qml/CMakeLists.txt new file mode 100644 index 000000000..5a3a9c1b2 --- /dev/null +++ b/examples/qt3d/shadow-map-qml/CMakeLists.txt @@ -0,0 +1,97 @@ +# Generated from shadow-map-qml.pro. + +cmake_minimum_required(VERSION 3.14) +project(shadow-map-qml LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(shadow-map-qml + main.cpp +) +target_link_libraries(shadow-map-qml PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(shadow-map-qml_resource_files + "AdsEffect.qml" + "AdsMaterial.qml" + "GroundPlane.qml" + "ShadowMapFrameGraph.qml" + "ShadowMapLight.qml" + "Toyplane.qml" + "Trefoil.qml" + "main.qml" + "shaders/ads.frag" + "shaders/ads.vert" + "shaders/es3/ads.frag" + "shaders/es3/ads.vert" + "shaders/es3/shadowmap.frag" + "shaders/es3/shadowmap.vert" + "shaders/shadowmap.frag" + "shaders/shadowmap.vert" +) + +qt6_add_resources(shadow-map-qml "shadow-map-qml" + PREFIX + "/" + FILES + ${shadow-map-qml_resource_files} +) +set_source_files_properties("../exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt6_add_resources(shadow-map-qml "obj" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${obj_resource_files} +) + +install(TARGETS shadow-map-qml + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/simple-cpp/CMakeLists.txt b/examples/qt3d/simple-cpp/CMakeLists.txt new file mode 100644 index 000000000..4afa8b410 --- /dev/null +++ b/examples/qt3d/simple-cpp/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from simple-cpp.pro. + +cmake_minimum_required(VERSION 3.14) +project(simple-cpp LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) + +add_qt_gui_executable(simple-cpp + main.cpp + orbittransformcontroller.cpp orbittransformcontroller.h +) +target_link_libraries(simple-cpp PUBLIC + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Core + Qt::Gui +) + +install(TARGETS simple-cpp + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/simple-qml/CMakeLists.txt b/examples/qt3d/simple-qml/CMakeLists.txt new file mode 100644 index 000000000..90ebefdd0 --- /dev/null +++ b/examples/qt3d/simple-qml/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from simple-qml.pro. + +cmake_minimum_required(VERSION 3.14) +project(simple-qml LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(simple-qml + main.cpp +) +target_link_libraries(simple-qml PUBLIC + Qt::3DCore + Qt::3DInput + 3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(simple-qml_resource_files + "main.qml" +) + +qt6_add_resources(simple-qml "simple-qml" + PREFIX + "/" + FILES + ${simple-qml_resource_files} +) + +target_sources(simple-qml PRIVATE ${simple-qml_resource_files}) + +install(TARGETS simple-qml + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/simplecustommaterial/CMakeLists.txt b/examples/qt3d/simplecustommaterial/CMakeLists.txt new file mode 100644 index 000000000..845f397ee --- /dev/null +++ b/examples/qt3d/simplecustommaterial/CMakeLists.txt @@ -0,0 +1,62 @@ +# Generated from simplecustommaterial.pro. + +cmake_minimum_required(VERSION 3.14) +project(simplecustommaterial LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(simplecustommaterial + main.cpp +) +target_link_libraries(simplecustommaterial PUBLIC + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(qml_resource_files + "PlaneModel.qml" + "SceneRoot.qml" + "SimpleMaterial.qml" + "main.qml" +) + +qt6_add_resources(simplecustommaterial "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) +set(shaders_resource_files + "shaders/es2/simpleColor.frag" + "shaders/es2/simpleColor.vert" + "shaders/gl3/simpleColor.frag" + "shaders/gl3/simpleColor.vert" +) + +qt6_add_resources(simplecustommaterial "shaders" + PREFIX + "/" + FILES + ${shaders_resource_files} +) + +install(TARGETS simplecustommaterial + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/wave/CMakeLists.txt b/examples/qt3d/wave/CMakeLists.txt new file mode 100644 index 000000000..ac407672f --- /dev/null +++ b/examples/qt3d/wave/CMakeLists.txt @@ -0,0 +1,67 @@ +# Generated from wave.pro. + +cmake_minimum_required(VERSION 3.14) +project(wave LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(wave + main.cpp +) +target_link_libraries(wave PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(wave_resource_files + "Background.qml" + "BackgroundEffect.qml" + "BasicCamera.qml" + "Wave.qml" + "WaveEffect.qml" + "WaveForwardRenderer.qml" + "WaveMaterial.qml" + "main.qml" + "shaders/background.frag" + "shaders/background.vert" + "shaders/ribbon.frag" + "shaders/ribbon.vert" + "shaders/ribbonwireframe.frag" + "shaders/robustwireframe.geom" +) + +qt6_add_resources(wave "wave" + PREFIX + "/" + FILES + ${wave_resource_files} +) + +target_sources(wave PRIVATE ${wave_resource_files}) + +install(TARGETS wave + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) + diff --git a/examples/qt3d/widgets-scene3d/CMakeLists.txt b/examples/qt3d/widgets-scene3d/CMakeLists.txt new file mode 100644 index 000000000..cd4cb9a34 --- /dev/null +++ b/examples/qt3d/widgets-scene3d/CMakeLists.txt @@ -0,0 +1,58 @@ +# Generated from widgets-scene3d.pro. + +cmake_minimum_required(VERSION 3.14) +project(widgets-scene3d LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Widgets) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) +find_package(Qt6 COMPONENTS QuickWidgets) + +add_qt_gui_executable(widgets-scene3d + main.cpp +) +target_link_libraries(widgets-scene3d PUBLIC + Qt::3DInput + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickWidgets + Qt::Widgets +) + + +# Resources: +set_source_files_properties("../scene3d/AnimatedEntity.qml" + PROPERTIES QT_RESOURCE_ALIAS "AnimatedEntity.qml" +) +set_source_files_properties("../scene3d/main.qml" + PROPERTIES QT_RESOURCE_ALIAS "main.qml" +) +set(widgets-scene3d_resource_files + "../scene3d/AnimatedEntity.qml" + "../scene3d/main.qml" +) + +qt6_add_resources(widgets-scene3d "widgets-scene3d" + PREFIX + "/" + FILES + ${widgets-scene3d_resource_files} +) + +install(TARGETS widgets-scene3d + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/examples/qt3d/wireframe/CMakeLists.txt b/examples/qt3d/wireframe/CMakeLists.txt new file mode 100644 index 000000000..20fc8287d --- /dev/null +++ b/examples/qt3d/wireframe/CMakeLists.txt @@ -0,0 +1,89 @@ +# Generated from wireframe.pro. + +cmake_minimum_required(VERSION 3.14) +project(wireframe LANGUAGES CXX) + +set(CMAKE_INCLUDE_CURRENT_DIR ON) + +set(CMAKE_AUTOMOC ON) +set(CMAKE_AUTORCC ON) +set(CMAKE_AUTOUIC ON) + +set(INSTALL_EXAMPLEDIR "examples") + +find_package(Qt6 COMPONENTS Core) +find_package(Qt6 COMPONENTS Gui) +find_package(Qt6 COMPONENTS Qml) +find_package(Qt6 COMPONENTS Quick) + +add_qt_gui_executable(wireframe + main.cpp +) +target_link_libraries(wireframe PUBLIC + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + + +# Resources: +set(wireframe_resource_files + "BasicCamera.qml" + "TrefoilKnot.qml" + "WireframeEffect.qml" + "WireframeMaterial.qml" + "main.qml" + "shaders/robustwireframe.frag" + "shaders/robustwireframe.geom" + "shaders/robustwireframe.vert" +) + +qt6_add_resources(wireframe "wireframe" + PREFIX + "/" + FILES + ${wireframe_resource_files} +) +set_source_files_properties("../exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt6_add_resources(wireframe "obj" + PREFIX + "/" + BASE + "../exampleresources" + FILES + ${obj_resource_files} +) + +install(TARGETS wireframe + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) diff --git a/src/3rdparty/assimp/assimp.cmake b/src/3rdparty/assimp/assimp.cmake new file mode 100644 index 000000000..a72914774 --- /dev/null +++ b/src/3rdparty/assimp/assimp.cmake @@ -0,0 +1,567 @@ + +# special case begin +if(NOT QT_FEATURE_system_zlib) + find_package(Qt6 COMPONENTS Zlib) +elseif(NOT TARGET ZLIB::ZLIB) + qt_find_package(ZLIB PROVIDED_TARGETS ZLIB::ZLIB) +endif() +# special case end + +function(qt3d_extend_target_for_assimp target) + set(assimpDir ${PROJECT_SOURCE_DIR}/src/3rdparty/assimp) + qt_extend_target(${target} CONDITION QT_FEATURE_system_assimp AND (NOT CMAKE_CROSSCOMPILING OR NOT host_build) + LIBRARIES + WrapAssimp::WrapAssimp + ) + + qt_extend_target(${target} CONDITION NOT QT_FEATURE_system_assimp OR (CMAKE_CROSSCOMPILING AND host_build) + SOURCES + ${assimpDir}/src/code/3DS/3DSExporter.h + ${assimpDir}/src/code/3DS/3DSHelper.h + ${assimpDir}/src/code/3DS/3DSLoader.h + ${assimpDir}/src/code/3MF/3MFXmlTags.h + ${assimpDir}/src/code/3MF/D3MFExporter.h + ${assimpDir}/src/code/3MF/D3MFImporter.h + ${assimpDir}/src/code/3MF/D3MFOpcPackage.h + ${assimpDir}/src/code/AC/ACLoader.h + ${assimpDir}/src/code/ASE/ASELoader.h + ${assimpDir}/src/code/ASE/ASEParser.h + ${assimpDir}/src/code/Assbin/AssbinExporter.h + ${assimpDir}/src/code/Assbin/AssbinLoader.h + ${assimpDir}/src/code/Assjson/cencode.h + ${assimpDir}/src/code/Assjson/mesh_splitter.h + ${assimpDir}/src/code/Assxml/AssxmlExporter.h + ${assimpDir}/src/code/B3D/B3DImporter.h + ${assimpDir}/src/code/BVH/BVHLoader.h + ${assimpDir}/src/code/Blender/BlenderBMesh.h + ${assimpDir}/src/code/Blender/BlenderCustomData.h + ${assimpDir}/src/code/Blender/BlenderDNA.h + ${assimpDir}/src/code/Blender/BlenderIntermediate.h + ${assimpDir}/src/code/Blender/BlenderLoader.h + ${assimpDir}/src/code/Blender/BlenderModifier.h + ${assimpDir}/src/code/Blender/BlenderScene.h + ${assimpDir}/src/code/Blender/BlenderSceneGen.h + ${assimpDir}/src/code/Blender/BlenderTessellator.h + ${assimpDir}/src/code/C4D/C4DImporter.h + ${assimpDir}/src/code/CApi/CInterfaceIOWrapper.h + ${assimpDir}/src/code/COB/COBLoader.h + ${assimpDir}/src/code/COB/COBScene.h + ${assimpDir}/src/code/CSM/CSMLoader.h + ${assimpDir}/src/code/Collada/ColladaExporter.h + ${assimpDir}/src/code/Collada/ColladaHelper.h + ${assimpDir}/src/code/Collada/ColladaLoader.h + ${assimpDir}/src/code/Collada/ColladaParser.h + ${assimpDir}/src/code/Common/BaseProcess.h + ${assimpDir}/src/code/Common/DefaultProgressHandler.h + ${assimpDir}/src/code/Common/FileLogStream.h + ${assimpDir}/src/code/Common/FileSystemFilter.h + ${assimpDir}/src/code/Common/IFF.h + ${assimpDir}/src/code/Common/Importer.h + ${assimpDir}/src/code/Common/PolyTools.h + ${assimpDir}/src/code/Common/ScenePreprocessor.h + ${assimpDir}/src/code/Common/ScenePrivate.h + ${assimpDir}/src/code/Common/SplitByBoneCountProcess.h + ${assimpDir}/src/code/Common/StdOStreamLogStream.h + ${assimpDir}/src/code/Common/TargetAnimation.h + ${assimpDir}/src/code/Common/VertexTriangleAdjacency.h + ${assimpDir}/src/code/Common/Win32DebugLogStream.h + ${assimpDir}/src/code/Common/assbin_chunks.h + ${assimpDir}/src/code/Common/simd.h + ${assimpDir}/src/code/DXF/DXFHelper.h + ${assimpDir}/src/code/DXF/DXFLoader.h + ${assimpDir}/src/code/FBX/FBXCommon.h + ${assimpDir}/src/code/FBX/FBXCompileConfig.h + ${assimpDir}/src/code/FBX/FBXConverter.h + ${assimpDir}/src/code/FBX/FBXDocument.h + ${assimpDir}/src/code/FBX/FBXDocumentUtil.h + ${assimpDir}/src/code/FBX/FBXExportNode.h + ${assimpDir}/src/code/FBX/FBXExportProperty.h + ${assimpDir}/src/code/FBX/FBXExporter.h + ${assimpDir}/src/code/FBX/FBXImportSettings.h + ${assimpDir}/src/code/FBX/FBXImporter.h + ${assimpDir}/src/code/FBX/FBXMeshGeometry.h + ${assimpDir}/src/code/FBX/FBXParser.h + ${assimpDir}/src/code/FBX/FBXProperties.h + ${assimpDir}/src/code/FBX/FBXTokenizer.h + ${assimpDir}/src/code/FBX/FBXUtil.h + ${assimpDir}/src/code/HMP/HMPFileData.h + ${assimpDir}/src/code/HMP/HMPLoader.h + ${assimpDir}/src/code/HMP/HalfLifeFileData.h + ${assimpDir}/src/code/Importer/IFC/IFCLoader.h + ${assimpDir}/src/code/Importer/IFC/IFCReaderGen_2x3.h + ${assimpDir}/src/code/Importer/IFC/IFCReaderGen_4.h + ${assimpDir}/src/code/Importer/IFC/IFCUtil.h + ${assimpDir}/src/code/Importer/STEPParser/STEPFileEncoding.h + ${assimpDir}/src/code/Importer/STEPParser/STEPFileReader.h + ${assimpDir}/src/code/Importer/StepFile/StepFileImporter.h + ${assimpDir}/src/code/Importer/StepFile/StepReaderGen.h + ${assimpDir}/src/code/Irr/IRRLoader.h + ${assimpDir}/src/code/Irr/IRRMeshLoader.h + ${assimpDir}/src/code/Irr/IRRShared.h + ${assimpDir}/src/code/LWO/LWOAnimation.h + ${assimpDir}/src/code/LWO/LWOFileData.h + ${assimpDir}/src/code/LWO/LWOLoader.h + ${assimpDir}/src/code/LWS/LWSLoader.h + ${assimpDir}/src/code/MD2/MD2FileData.h + ${assimpDir}/src/code/MD2/MD2Loader.h + ${assimpDir}/src/code/MD2/MD2NormalTable.h + ${assimpDir}/src/code/MD3/MD3FileData.h + ${assimpDir}/src/code/MD3/MD3Loader.h + ${assimpDir}/src/code/MD4/MD4FileData.h + ${assimpDir}/src/code/MD5/MD5Loader.h + ${assimpDir}/src/code/MD5/MD5Parser.h + ${assimpDir}/src/code/MDC/MDCFileData.h + ${assimpDir}/src/code/MDC/MDCLoader.h + ${assimpDir}/src/code/MDC/MDCNormalTable.h + ${assimpDir}/src/code/MDL/MDLDefaultColorMap.h + ${assimpDir}/src/code/MDL/MDLFileData.h + ${assimpDir}/src/code/MDL/MDLLoader.h + ${assimpDir}/src/code/MMD/MMDCpp14.h + ${assimpDir}/src/code/MMD/MMDImporter.h + ${assimpDir}/src/code/MMD/MMDPmdParser.h + ${assimpDir}/src/code/MMD/MMDPmxParser.h + ${assimpDir}/src/code/MMD/MMDVmdParser.h + ${assimpDir}/src/code/MS3D/MS3DLoader.h + ${assimpDir}/src/code/Material/MaterialSystem.h + ${assimpDir}/src/code/NDO/NDOLoader.h + ${assimpDir}/src/code/NFF/NFFLoader.h + ${assimpDir}/src/code/OFF/OFFLoader.h + ${assimpDir}/src/code/Obj/ObjExporter.h + ${assimpDir}/src/code/Obj/ObjFileData.h + ${assimpDir}/src/code/Obj/ObjFileImporter.h + ${assimpDir}/src/code/Obj/ObjFileMtlImporter.h + ${assimpDir}/src/code/Obj/ObjFileParser.h + ${assimpDir}/src/code/Obj/ObjTools.h + ${assimpDir}/src/code/Ogre/OgreBinarySerializer.h + ${assimpDir}/src/code/Ogre/OgreImporter.h + ${assimpDir}/src/code/Ogre/OgreParsingUtils.h + ${assimpDir}/src/code/Ogre/OgreStructs.h + ${assimpDir}/src/code/Ogre/OgreXmlSerializer.h + ${assimpDir}/src/code/OpenGEX/OpenGEXExporter.h + ${assimpDir}/src/code/OpenGEX/OpenGEXImporter.h + ${assimpDir}/src/code/OpenGEX/OpenGEXStructs.h + ${assimpDir}/src/code/Ply/PlyExporter.h + ${assimpDir}/src/code/Ply/PlyLoader.h + ${assimpDir}/src/code/Ply/PlyParser.h + ${assimpDir}/src/code/PostProcessing/CalcTangentsProcess.h + ${assimpDir}/src/code/PostProcessing/ComputeUVMappingProcess.h + ${assimpDir}/src/code/PostProcessing/ConvertToLHProcess.h + ${assimpDir}/src/code/PostProcessing/DeboneProcess.h + ${assimpDir}/src/code/PostProcessing/DropFaceNormalsProcess.h + ${assimpDir}/src/code/PostProcessing/EmbedTexturesProcess.h + ${assimpDir}/src/code/PostProcessing/FindDegenerates.h + ${assimpDir}/src/code/PostProcessing/FindInstancesProcess.h + ${assimpDir}/src/code/PostProcessing/FindInvalidDataProcess.h + ${assimpDir}/src/code/PostProcessing/FixNormalsStep.h + ${assimpDir}/src/code/PostProcessing/GenBoundingBoxesProcess.h + ${assimpDir}/src/code/PostProcessing/GenFaceNormalsProcess.h + ${assimpDir}/src/code/PostProcessing/GenVertexNormalsProcess.h + ${assimpDir}/src/code/PostProcessing/ImproveCacheLocality.h + ${assimpDir}/src/code/PostProcessing/JoinVerticesProcess.h + ${assimpDir}/src/code/PostProcessing/LimitBoneWeightsProcess.h + ${assimpDir}/src/code/PostProcessing/MakeVerboseFormat.h + ${assimpDir}/src/code/PostProcessing/OptimizeGraph.h + ${assimpDir}/src/code/PostProcessing/OptimizeMeshes.h + ${assimpDir}/src/code/PostProcessing/PretransformVertices.h + ${assimpDir}/src/code/PostProcessing/ProcessHelper.h + ${assimpDir}/src/code/PostProcessing/RemoveRedundantMaterials.h + ${assimpDir}/src/code/PostProcessing/RemoveVCProcess.h + ${assimpDir}/src/code/PostProcessing/ScaleProcess.h + ${assimpDir}/src/code/PostProcessing/SortByPTypeProcess.h + ${assimpDir}/src/code/PostProcessing/SplitLargeMeshes.h + ${assimpDir}/src/code/PostProcessing/TextureTransform.h + ${assimpDir}/src/code/PostProcessing/TriangulateProcess.h + ${assimpDir}/src/code/PostProcessing/ValidateDataStructure.h + ${assimpDir}/src/code/Q3BSP/Q3BSPFileData.h + ${assimpDir}/src/code/Q3BSP/Q3BSPFileImporter.h + ${assimpDir}/src/code/Q3BSP/Q3BSPFileParser.h + ${assimpDir}/src/code/Q3D/Q3DLoader.h + ${assimpDir}/src/code/Raw/RawLoader.h + ${assimpDir}/src/code/SIB/SIBImporter.h + ${assimpDir}/src/code/SMD/SMDLoader.h + ${assimpDir}/src/code/STL/STLExporter.h + ${assimpDir}/src/code/STL/STLLoader.h + ${assimpDir}/src/code/Step/STEPFile.h + ${assimpDir}/src/code/Step/StepExporter.h + ${assimpDir}/src/code/Terragen/TerragenLoader.h + ${assimpDir}/src/code/Unreal/UnrealLoader.h + ${assimpDir}/src/code/X/XFileExporter.h + ${assimpDir}/src/code/X/XFileHelper.h + ${assimpDir}/src/code/X/XFileImporter.h + ${assimpDir}/src/code/X/XFileParser.h + ${assimpDir}/src/code/XGL/XGLLoader.h + ${assimpDir}/src/code/glTF/glTFAsset.h + ${assimpDir}/src/code/glTF/glTFAssetWriter.h + ${assimpDir}/src/code/glTF/glTFCommon.h + ${assimpDir}/src/code/glTF/glTFExporter.h + ${assimpDir}/src/code/glTF/glTFImporter.h + ${assimpDir}/src/code/glTF2/glTF2Asset.h + ${assimpDir}/src/code/glTF2/glTF2AssetWriter.h + ${assimpDir}/src/code/glTF2/glTF2Exporter.h + ${assimpDir}/src/code/glTF2/glTF2Importer.h + ${assimpDir}/src/code/res/resource.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcAdjacencyInfo.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcArithmeticCodec.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcBinaryStream.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcCommon.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcDVEncodeParams.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcDynamicVector.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcDynamicVectorDecoder.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcDynamicVectorEncoder.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcFIFO.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcIndexedFaceSet.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcSC3DMCDecoder.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcSC3DMCEncodeParams.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcSC3DMCEncoder.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcTimer.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcTriangleFans.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcTriangleListDecoder.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcTriangleListEncoder.h + ${assimpDir}/src/contrib/Open3DGC/o3dgcVector.h + ${assimpDir}/src/contrib/clipper/clipper.hpp + ${assimpDir}/src/contrib/irrXML/CXMLReaderImpl.h + ${assimpDir}/src/contrib/irrXML/heapsort.h + ${assimpDir}/src/contrib/irrXML/irrArray.h + ${assimpDir}/src/contrib/irrXML/irrString.h + ${assimpDir}/src/contrib/irrXML/irrTypes.h + ${assimpDir}/src/contrib/irrXML/irrXML.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/DDLNode.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/OpenDDLCommon.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/OpenDDLExport.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/OpenDDLParser.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/OpenDDLParserUtils.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/OpenDDLStream.h + ${assimpDir}/src/contrib/openddlparser/include/openddlparser/Value.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/common/shapes.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/common/utils.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/poly2tri.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/advancing_front.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/cdt.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/sweep.h + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/sweep_context.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/allocators.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/document.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/encodedstream.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/encodings.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/error/en.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/error/error.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/filereadstream.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/filewritestream.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/fwd.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/biginteger.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/diyfp.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/dtoa.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/ieee754.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/itoa.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/meta.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/pow10.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/regex.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/stack.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/strfunc.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/strtod.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/internal/swap.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/istreamwrapper.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/memorybuffer.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/memorystream.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/msinttypes/inttypes.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/msinttypes/stdint.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/ostreamwrapper.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/pointer.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/prettywriter.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/rapidjson.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/reader.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/schema.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/stream.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/stringbuffer.h + ${assimpDir}/src/contrib/rapidjson/include/rapidjson/writer.h + ${assimpDir}/src/contrib/unzip/crypt.h + ${assimpDir}/src/contrib/unzip/ioapi.h + ${assimpDir}/src/contrib/unzip/unzip.h + ${assimpDir}/src/contrib/utf8cpp/source/utf8.h + ${assimpDir}/src/contrib/utf8cpp/source/utf8/checked.h + ${assimpDir}/src/contrib/utf8cpp/source/utf8/core.h + ${assimpDir}/src/contrib/utf8cpp/source/utf8/unchecked.h + ${assimpDir}/src/include/assimp/Compiler/poppack1.h + ${assimpDir}/src/include/assimp/Compiler/pstdint.h + ${assimpDir}/src/include/assimp/Compiler/pushpack1.h + ${assimpDir}/src/include/assimp/DefaultIOStream.h + ${assimpDir}/src/include/assimp/DefaultIOSystem.h + ${assimpDir}/src/include/assimp/DefaultLogger.hpp + ${assimpDir}/src/include/assimp/Defines.h + ${assimpDir}/src/include/assimp/Exporter.hpp + ${assimpDir}/src/include/assimp/IOStream.hpp + ${assimpDir}/src/include/assimp/IOSystem.hpp + ${assimpDir}/src/include/assimp/Importer.hpp + ${assimpDir}/src/include/assimp/LogStream.hpp + ${assimpDir}/src/include/assimp/Logger.hpp + ${assimpDir}/src/include/assimp/NullLogger.hpp + ${assimpDir}/src/include/assimp/ProgressHandler.hpp + ${assimpDir}/src/include/assimp/SceneCombiner.h + ${assimpDir}/src/include/assimp/ai_assert.h + ${assimpDir}/src/include/assimp/anim.h + ${assimpDir}/src/include/assimp/camera.h + ${assimpDir}/src/include/assimp/cexport.h + ${assimpDir}/src/include/assimp/cfileio.h + ${assimpDir}/src/include/assimp/cimport.h + ${assimpDir}/src/include/assimp/color4.h + ${assimpDir}/src/include/assimp/config.h + ${assimpDir}/src/include/assimp/defs.h + ${assimpDir}/src/include/assimp/importerdesc.h + ${assimpDir}/src/include/assimp/light.h + ${assimpDir}/src/include/assimp/material.h + ${assimpDir}/src/include/assimp/matrix3x3.h + ${assimpDir}/src/include/assimp/matrix4x4.h + ${assimpDir}/src/include/assimp/mesh.h + ${assimpDir}/src/include/assimp/metadata.h + ${assimpDir}/src/include/assimp/port/AndroidJNI/AndroidJNIIOSystem.h + ${assimpDir}/src/include/assimp/postprocess.h + ${assimpDir}/src/include/assimp/quaternion.h + ${assimpDir}/src/include/assimp/scene.h + ${assimpDir}/src/include/assimp/texture.h + ${assimpDir}/src/include/assimp/types.h + ${assimpDir}/src/include/assimp/vector2.h + ${assimpDir}/src/include/assimp/vector3.h + ${assimpDir}/src/include/assimp/version.h + ${assimpDir}/src/code/Common/Assimp.cpp + ${assimpDir}/src/code/Common/DefaultLogger.cpp + ${assimpDir}/src/code/Common/BaseImporter.cpp + ${assimpDir}/src/code/Common/BaseProcess.cpp + ${assimpDir}/src/code/Common/PostStepRegistry.cpp + ${assimpDir}/src/code/Common/ImporterRegistry.cpp + ${assimpDir}/src/code/Common/DefaultIOStream.cpp + ${assimpDir}/src/code/Common/DefaultIOSystem.cpp + ${assimpDir}/src/code/CApi/CInterfaceIOWrapper.cpp + ${assimpDir}/src/code/Common/Importer.cpp + ${assimpDir}/src/code/Common/SGSpatialSort.cpp + ${assimpDir}/src/code/Common/VertexTriangleAdjacency.cpp + ${assimpDir}/src/code/Common/SpatialSort.cpp + ${assimpDir}/src/code/Common/SceneCombiner.cpp + ${assimpDir}/src/code/Common/ScenePreprocessor.cpp + ${assimpDir}/src/code/Common/SkeletonMeshBuilder.cpp + ${assimpDir}/src/code/Common/SplitByBoneCountProcess.cpp + ${assimpDir}/src/code/Common/StandardShapes.cpp + ${assimpDir}/src/code/Common/TargetAnimation.cpp + ${assimpDir}/src/code/Common/RemoveComments.cpp + ${assimpDir}/src/code/Common/Subdivision.cpp + ${assimpDir}/src/code/Common/scene.cpp + ${assimpDir}/src/code/Common/Bitmap.cpp + ${assimpDir}/src/code/Common/Version.cpp + ${assimpDir}/src/code/Common/CreateAnimMesh.cpp + ${assimpDir}/src/code/Common/simd.cpp + ${assimpDir}/src/code/Common/ZipArchiveIOSystem.cpp + ${assimpDir}/src/code/Collada/ColladaLoader.cpp + ${assimpDir}/src/code/Collada/ColladaParser.cpp + ${assimpDir}/src/code/Material/MaterialSystem.cpp + ${assimpDir}/src/code/Obj/ObjFileImporter.cpp + ${assimpDir}/src/code/Obj/ObjFileMtlImporter.cpp + ${assimpDir}/src/code/Obj/ObjFileParser.cpp + ${assimpDir}/src/code/Blender/BlenderLoader.cpp + ${assimpDir}/src/code/Blender/BlenderDNA.cpp + ${assimpDir}/src/code/Blender/BlenderScene.cpp + ${assimpDir}/src/code/Blender/BlenderModifier.cpp + ${assimpDir}/src/code/Blender/BlenderBMesh.cpp + ${assimpDir}/src/code/Blender/BlenderTessellator.cpp + ${assimpDir}/src/code/Blender/BlenderCustomData.cpp + ${assimpDir}/src/code/FBX/FBXImporter.cpp + ${assimpDir}/src/code/FBX/FBXParser.cpp + ${assimpDir}/src/code/FBX/FBXTokenizer.cpp + ${assimpDir}/src/code/FBX/FBXConverter.cpp + ${assimpDir}/src/code/FBX/FBXUtil.cpp + ${assimpDir}/src/code/FBX/FBXDocument.cpp + ${assimpDir}/src/code/FBX/FBXProperties.cpp + ${assimpDir}/src/code/FBX/FBXMeshGeometry.cpp + ${assimpDir}/src/code/FBX/FBXMaterial.cpp + ${assimpDir}/src/code/FBX/FBXModel.cpp + ${assimpDir}/src/code/FBX/FBXAnimation.cpp + ${assimpDir}/src/code/FBX/FBXNodeAttribute.cpp + ${assimpDir}/src/code/FBX/FBXDeformer.cpp + ${assimpDir}/src/code/FBX/FBXBinaryTokenizer.cpp + ${assimpDir}/src/code/FBX/FBXDocumentUtil.cpp + ${assimpDir}/src/code/PostProcessing/CalcTangentsProcess.cpp + ${assimpDir}/src/code/PostProcessing/ComputeUVMappingProcess.cpp + ${assimpDir}/src/code/PostProcessing/ConvertToLHProcess.cpp + ${assimpDir}/src/code/PostProcessing/EmbedTexturesProcess.cpp + ${assimpDir}/src/code/PostProcessing/FindDegenerates.cpp + ${assimpDir}/src/code/PostProcessing/FindInstancesProcess.cpp + ${assimpDir}/src/code/PostProcessing/FindInvalidDataProcess.cpp + ${assimpDir}/src/code/PostProcessing/FixNormalsStep.cpp + ${assimpDir}/src/code/PostProcessing/DropFaceNormalsProcess.cpp + ${assimpDir}/src/code/PostProcessing/GenBoundingBoxesProcess.cpp + ${assimpDir}/src/code/PostProcessing/GenFaceNormalsProcess.cpp + ${assimpDir}/src/code/PostProcessing/GenVertexNormalsProcess.cpp + ${assimpDir}/src/code/PostProcessing/PretransformVertices.cpp + ${assimpDir}/src/code/PostProcessing/ImproveCacheLocality.cpp + ${assimpDir}/src/code/PostProcessing/JoinVerticesProcess.cpp + ${assimpDir}/src/code/PostProcessing/LimitBoneWeightsProcess.cpp + ${assimpDir}/src/code/PostProcessing/RemoveRedundantMaterials.cpp + ${assimpDir}/src/code/PostProcessing/RemoveVCProcess.cpp + ${assimpDir}/src/code/PostProcessing/SortByPTypeProcess.cpp + ${assimpDir}/src/code/PostProcessing/SplitLargeMeshes.cpp + ${assimpDir}/src/code/PostProcessing/TextureTransform.cpp + ${assimpDir}/src/code/PostProcessing/TriangulateProcess.cpp + ${assimpDir}/src/code/PostProcessing/ValidateDataStructure.cpp + ${assimpDir}/src/code/PostProcessing/OptimizeGraph.cpp + ${assimpDir}/src/code/PostProcessing/OptimizeMeshes.cpp + ${assimpDir}/src/code/PostProcessing/DeboneProcess.cpp + ${assimpDir}/src/code/PostProcessing/ProcessHelper.cpp + ${assimpDir}/src/code/PostProcessing/MakeVerboseFormat.cpp + ${assimpDir}/src/code/PostProcessing/ScaleProcess.cpp + ${assimpDir}/src/code/glTF/glTFImporter.cpp + ${assimpDir}/src/code/glTF/glTFCommon.cpp + ${assimpDir}/src/code/glTF2/glTF2Importer.cpp + ${assimpDir}/src/contrib/Open3DGC/o3dgcArithmeticCodec.cpp + ${assimpDir}/src/contrib/Open3DGC/o3dgcDynamicVectorDecoder.cpp + ${assimpDir}/src/contrib/Open3DGC/o3dgcDynamicVectorEncoder.cpp + ${assimpDir}/src/contrib/Open3DGC/o3dgcTools.cpp + ${assimpDir}/src/contrib/Open3DGC/o3dgcTriangleFans.cpp + ${assimpDir}/src/contrib/clipper/clipper.cpp + ${assimpDir}/src/contrib/irrXML/irrXML.cpp + ${assimpDir}/src/contrib/openddlparser/code/DDLNode.cpp + ${assimpDir}/src/contrib/openddlparser/code/OpenDDLCommon.cpp + ${assimpDir}/src/contrib/openddlparser/code/OpenDDLExport.cpp + ${assimpDir}/src/contrib/openddlparser/code/OpenDDLParser.cpp + ${assimpDir}/src/contrib/openddlparser/code/OpenDDLStream.cpp + ${assimpDir}/src/contrib/openddlparser/code/Value.cpp + ${assimpDir}/src/contrib/poly2tri/poly2tri/common/shapes.cc + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/advancing_front.cc + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/cdt.cc + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/sweep.cc + ${assimpDir}/src/contrib/poly2tri/poly2tri/sweep/sweep_context.cc + ${assimpDir}/src/contrib/unzip/ioapi.c + ${assimpDir}/src/contrib/unzip/unzip.c + ${assimpDir}/src/contrib/zip/src/zip.c + DEFINES + ASSIMP_BUILD_BOOST_WORKAROUND + ASSIMP_BUILD_NO_3DS_IMPORTER + ASSIMP_BUILD_NO_3D_IMPORTER + ASSIMP_BUILD_NO_3MF_IMPORTER + ASSIMP_BUILD_NO_AC_IMPORTER + ASSIMP_BUILD_NO_AMF_IMPORTER + ASSIMP_BUILD_NO_ASE_IMPORTER + ASSIMP_BUILD_NO_ASSBIN_IMPORTER + ASSIMP_BUILD_NO_B3D_IMPORTER + ASSIMP_BUILD_NO_BVH_IMPORTER + ASSIMP_BUILD_NO_C4D_IMPORTER + ASSIMP_BUILD_NO_COB_IMPORTER + ASSIMP_BUILD_NO_COMPRESSED_IFC + ASSIMP_BUILD_NO_CSM_IMPORTER + ASSIMP_BUILD_NO_DXF_IMPORTER + ASSIMP_BUILD_NO_EXPORT + ASSIMP_BUILD_NO_HMP_IMPORTER + ASSIMP_BUILD_NO_IFC_IMPORTER + ASSIMP_BUILD_NO_IRRMESH_IMPORTER + ASSIMP_BUILD_NO_IRR_IMPORTER + ASSIMP_BUILD_NO_LWO_IMPORTER + ASSIMP_BUILD_NO_LWS_IMPORTER + ASSIMP_BUILD_NO_MD2_IMPORTER + ASSIMP_BUILD_NO_MD3_IMPORTER + ASSIMP_BUILD_NO_MD5_IMPORTER + ASSIMP_BUILD_NO_MDC_IMPORTER + ASSIMP_BUILD_NO_MDL_IMPORTER + ASSIMP_BUILD_NO_MMD_IMPORTER + ASSIMP_BUILD_NO_MS3D_IMPORTER + ASSIMP_BUILD_NO_NDO_IMPORTER + ASSIMP_BUILD_NO_NFF_IMPORTER + ASSIMP_BUILD_NO_OFF_IMPORTER + ASSIMP_BUILD_NO_OGRE_IMPORTER + ASSIMP_BUILD_NO_OPENGEX_IMPORTER + ASSIMP_BUILD_NO_OWN_ZLIB + ASSIMP_BUILD_NO_PLY_IMPORTER + ASSIMP_BUILD_NO_Q3BSP_IMPORTER + ASSIMP_BUILD_NO_Q3D_IMPORTER + ASSIMP_BUILD_NO_RAW_IMPORTER + ASSIMP_BUILD_NO_SIB_IMPORTER + ASSIMP_BUILD_NO_SMD_IMPORTER + ASSIMP_BUILD_NO_STEP_IMPORTER + ASSIMP_BUILD_NO_STL_IMPORTER + ASSIMP_BUILD_NO_TERRAGEN_IMPORTER + ASSIMP_BUILD_NO_X3D_IMPORTER + ASSIMP_BUILD_NO_XGL_IMPORTER + ASSIMP_BUILD_NO_X_IMPORTER + OPENDDL_STATIC_LIBARY + NOUNCRYPT + INCLUDE_DIRECTORIES + ${assimpDir} + ${assimpDir}/.. + ${assimpDir}/contrib/unzip + ${assimpDir}/src + ${assimpDir}/src/code + ${assimpDir}/src/code/Blender + ${assimpDir}/src/code/CApi + ${assimpDir}/src/code/Collada + ${assimpDir}/src/code/Common + ${assimpDir}/src/code/FBX + ${assimpDir}/src/code/Material + ${assimpDir}/src/code/Obj + ${assimpDir}/src/code/PostProcessing + ${assimpDir}/src/code/glTF + ${assimpDir}/src/code/glTF2 + ${assimpDir}/src/contrib/irrXML + ${assimpDir}/src/contrib/openddlparser/include + ${assimpDir}/src/contrib/poly2tri + ${assimpDir}/src/contrib/rapidjson/include + ${assimpDir}/src/contrib/utf8cpp/source + ${assimpDir}/src/include + ${assimpDir}/src/include/assimp/Compiler + ${assimpDir}/unzip + ) + + qt_extend_target(${target} CONDITION CMAKE_BUILD_TYPE STREQUAL Debug AND (CMAKE_CROSSCOMPILING OR NOT QT_FEATURE_system_assimp) AND (host_build OR NOT QT_FEATURE_system_assimp) + DEFINES + _DEBUG + ) + + qt_extend_target(${target} CONDITION WIN32 AND (CMAKE_CROSSCOMPILING OR NOT QT_FEATURE_system_assimp) AND (host_build OR NOT QT_FEATURE_system_assimp) + DEFINES + _CRT_SECURE_NO_WARNINGS + ) + + qt_extend_target(${target} CONDITION QT_FEATURE_system_zlib AND NOT QT_FEATURE_system_assimp AND (NOT CMAKE_CROSSCOMPILING OR NOT host_build) + LIBRARIES + ZLIB::ZLIB + ) + + qt_extend_target(${target} CONDITION (CMAKE_CROSSCOMPILING OR NOT QT_FEATURE_system_assimp) AND (CMAKE_CROSSCOMPILING OR NOT QT_FEATURE_system_zlib) AND (host_build OR NOT QT_FEATURE_system_assimp) AND (host_build OR NOT QT_FEATURE_system_zlib) + LIBRARIES + Qt::ZlibPrivate + ) + + # special case begin + qt_extend_target(${target} CONDITION ICC AND NOT QT_FEATURE_system_assimp AND (NOT CMAKE_CROSSCOMPILING OR NOT host_build) + COMPILE_OPTIONS + "-wd310" "-wd68" "-wd858" + ) + + qt_extend_target(${target} CONDITION (GCC OR CLANG) AND NOT QT_FEATURE_system_assimp AND (NOT CMAKE_CROSSCOMPILING OR NOT host_build) + COMPILE_OPTIONS + "-Wno-ignored-qualifiers" + "-Wno-unused-parameter" + "-Wno-unused-variable" + "-Wno-deprecated-declarations" + "-Wno-unused-function" + "-Wno-reorder" + ) + + qt_extend_target(${target} CONDITION MSVC AND NOT QT_FEATURE_system_assimp AND (NOT CMAKE_CROSSCOMPILING OR NOT host_build) + COMPILE_OPTIONS + "-wd4100" + "-wd4189" + "-wd4267" + "-wd4996" + "-wd4828" + ) + + qt_extend_target(${target} CONDITION CLANG AND NOT QT_FEATURE_system_assimp AND (NOT CMAKE_CROSSCOMPILING OR NOT host_build) + COMPILE_OPTIONS + "-Wno-unused-private-field" + ) + # special case end + + qt_extend_target(${target} CONDITION MSVC AND (CMAKE_CROSSCOMPILING OR NOT QT_FEATURE_system_assimp) AND (host_build OR NOT QT_FEATURE_system_assimp) + DEFINES + _CRT_SECURE_NO_WARNINGS + _SCL_SECURE_NO_WARNINGS + COMPILE_OPTIONS + /bigobj + ) +endfunction()
\ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 000000000..6ce9c87f7 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,37 @@ +# Generated from src.pro. +add_subdirectory(core) +add_subdirectory(render) +add_subdirectory(logic) +add_subdirectory(input) +add_subdirectory(animation) +add_subdirectory(extras) +add_subdirectory(doc) + +if(TARGET Qt::Quick) + # Quick3D libs + add_subdirectory(quick3d/quick3d) + add_subdirectory(quick3d/quick3drender) + add_subdirectory(quick3d/quick3dinput) + add_subdirectory(quick3d/quick3danimation) + add_subdirectory(quick3d/quick3dextras) + add_subdirectory(quick3d/quick3dscene2d) + +# # Quick3D imports + add_subdirectory(quick3d/imports/core) + add_subdirectory(quick3d/imports/render) + add_subdirectory(quick3d/imports/scene3d) + add_subdirectory(quick3d/imports/input) + add_subdirectory(quick3d/imports/logic) + add_subdirectory(quick3d/imports/animation) + add_subdirectory(quick3d/imports/extras) + add_subdirectory(quick3d/imports/scene2d) +endif() + +## Plugins +add_subdirectory(plugins/sceneparsers) +add_subdirectory(plugins/geometryloaders) +add_subdirectory(plugins/renderers) + +if(TARGET Qt::Quick) + add_subdirectory(plugins/renderplugins) +endif() diff --git a/src/animation/CMakeLists.txt b/src/animation/CMakeLists.txt new file mode 100644 index 000000000..d62d2299a --- /dev/null +++ b/src/animation/CMakeLists.txt @@ -0,0 +1,88 @@ +# Generated from animation.pro. + +##################################################################### +## 3DAnimation Module: +##################################################################### + +qt_add_module(3DAnimation + SOURCES + animationlogging.cpp animationlogging_p.h + backend/abstractevaluateclipanimatorjob.cpp backend/abstractevaluateclipanimatorjob_p.h + backend/additiveclipblend.cpp backend/additiveclipblend_p.h + backend/animationclip.cpp backend/animationclip_p.h + backend/animationutils.cpp backend/animationutils_p.h + backend/backendnode.cpp backend/backendnode_p.h + backend/bezierevaluator.cpp backend/bezierevaluator_p.h + backend/blendedclipanimator.cpp backend/blendedclipanimator_p.h + backend/buildblendtreesjob.cpp backend/buildblendtreesjob_p.h + backend/channelmapper.cpp backend/channelmapper_p.h + backend/channelmapping.cpp backend/channelmapping_p.h + backend/clipanimator.cpp backend/clipanimator_p.h + backend/clipblendnode.cpp backend/clipblendnode_p.h + backend/clipblendnodevisitor.cpp backend/clipblendnodevisitor_p.h + backend/clipblendvalue.cpp backend/clipblendvalue_p.h + backend/clock.cpp backend/clock_p.h + backend/evaluateblendclipanimatorjob.cpp backend/evaluateblendclipanimatorjob_p.h + backend/evaluateclipanimatorjob.cpp backend/evaluateclipanimatorjob_p.h + backend/fcurve.cpp backend/fcurve_p.h + backend/findrunningclipanimatorsjob.cpp backend/findrunningclipanimatorsjob_p.h + backend/functionrangefinder.cpp backend/functionrangefinder_p.h + backend/gltfimporter.cpp backend/gltfimporter_p.h + backend/handle_types_p.h + backend/handler.cpp backend/handler_p.h + backend/keyframe_p.h + backend/lerpclipblend.cpp backend/lerpclipblend_p.h + backend/loadanimationclipjob.cpp backend/loadanimationclipjob_p.h + backend/managers.cpp backend/managers_p.h + backend/nodefunctor_p.h + backend/skeleton.cpp backend/skeleton_p.h + frontend/qabstractanimation.cpp frontend/qabstractanimation.h frontend/qabstractanimation_p.h + frontend/qabstractanimationclip.cpp frontend/qabstractanimationclip.h frontend/qabstractanimationclip_p.h + frontend/qabstractchannelmapping.cpp frontend/qabstractchannelmapping.h frontend/qabstractchannelmapping_p.h + frontend/qabstractclipanimator.cpp frontend/qabstractclipanimator.h frontend/qabstractclipanimator_p.h + frontend/qabstractclipblendnode.cpp frontend/qabstractclipblendnode.h frontend/qabstractclipblendnode_p.h + frontend/qadditiveclipblend.cpp frontend/qadditiveclipblend.h frontend/qadditiveclipblend_p.h + frontend/qanimationaspect.cpp frontend/qanimationaspect.h frontend/qanimationaspect_p.h + frontend/qanimationcallback.h + frontend/qanimationclip.cpp frontend/qanimationclip.h frontend/qanimationclip_p.h + frontend/qanimationclipdata.cpp frontend/qanimationclipdata.h + frontend/qanimationcliploader.cpp frontend/qanimationcliploader.h + frontend/qanimationcontroller.cpp frontend/qanimationcontroller.h frontend/qanimationcontroller_p.h + frontend/qanimationgroup.cpp frontend/qanimationgroup.h frontend/qanimationgroup_p.h + frontend/qblendedclipanimator.cpp frontend/qblendedclipanimator.h frontend/qblendedclipanimator_p.h + frontend/qcallbackmapping.cpp frontend/qcallbackmapping.h frontend/qcallbackmapping_p.h + frontend/qchannel.cpp frontend/qchannel.h + frontend/qchannelcomponent.cpp frontend/qchannelcomponent.h + frontend/qchannelmapper.cpp frontend/qchannelmapper.h frontend/qchannelmapper_p.h + frontend/qchannelmapping.cpp frontend/qchannelmapping.h frontend/qchannelmapping_p.h + frontend/qclipanimator.cpp frontend/qclipanimator.h frontend/qclipanimator_p.h + frontend/qclipblendvalue.cpp frontend/qclipblendvalue.h frontend/qclipblendvalue_p.h + frontend/qclock.cpp frontend/qclock.h frontend/qclock_p.h + frontend/qkeyframe.cpp frontend/qkeyframe.h + frontend/qkeyframeanimation.cpp frontend/qkeyframeanimation.h frontend/qkeyframeanimation_p.h + frontend/qlerpclipblend.cpp frontend/qlerpclipblend.h frontend/qlerpclipblend_p.h + frontend/qmorphinganimation.cpp frontend/qmorphinganimation.h frontend/qmorphinganimation_p.h + frontend/qmorphtarget.cpp frontend/qmorphtarget.h frontend/qmorphtarget_p.h + frontend/qskeletonmapping.cpp frontend/qskeletonmapping.h frontend/qskeletonmapping_p.h + frontend/qvertexblendanimation.cpp frontend/qvertexblendanimation.h frontend/qvertexblendanimation_p.h + job_common_p.h + qt3danimation_global.h qt3danimation_global_p.h + DEFINES + QT3DANIMATION_LIBRARY + INCLUDE_DIRECTORIES + backend + frontend + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate +) + +#### Keys ignored in scope 1:.:.:animation.pro:<TRUE>: +# MODULE = "3DAnimation" diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt new file mode 100644 index 000000000..570233ac3 --- /dev/null +++ b/src/core/CMakeLists.txt @@ -0,0 +1,132 @@ +# Generated from core.pro. + +##################################################################### +## Qt::3DCore Module: +##################################################################### + +qt_add_module(3DCore + SOURCES + aspect/qcoreaspect.cpp aspect/qcoreaspect.h aspect/qcoreaspect_p.h + aspects/aspectcommanddebugger.cpp aspects/aspectcommanddebugger_p.h + aspects/qabstractaspect.cpp aspects/qabstractaspect.h aspects/qabstractaspect_p.h + aspects/qaspectengine.cpp aspects/qaspectengine.h aspects/qaspectengine_p.h + aspects/qaspectfactory.cpp aspects/qaspectfactory_p.h + aspects/qaspectmanager.cpp aspects/qaspectmanager_p.h + corelogging.cpp corelogging_p.h + geometry/bufferutils_p.h + geometry/buffervisitor_p.h + geometry/qabstractfunctor.cpp geometry/qabstractfunctor.h + geometry/qattribute.cpp geometry/qattribute.h geometry/qattribute_p.h + geometry/qboundingvolume.cpp geometry/qboundingvolume.h geometry/qboundingvolume_p.h + geometry/qbuffer.cpp geometry/qbuffer.h geometry/qbuffer_p.h + geometry/qgeometry.cpp geometry/qgeometry.h geometry/qgeometry_p.h + geometry/qgeometryfactory_p.h + geometry/qgeometryview.cpp geometry/qgeometryview.h geometry/qgeometryview_p.h + jobs/calcboundingvolumejob.cpp jobs/calcboundingvolumejob_p.h + jobs/job_common_p.h + jobs/qabstractaspectjobmanager.cpp jobs/qabstractaspectjobmanager_p.h + jobs/qaspectjob.cpp jobs/qaspectjob.h jobs/qaspectjob_p.h + jobs/qaspectjobmanager.cpp jobs/qaspectjobmanager_p.h + jobs/qaspectjobproviderinterface_p.h + jobs/qthreadpooler.cpp jobs/qthreadpooler_p.h + jobs/task.cpp jobs/task_p.h + nodes/propertychangehandler.cpp nodes/propertychangehandler_p.h + nodes/qabstractnodefactory.cpp nodes/qabstractnodefactory_p.h + nodes/qbackendnode.cpp nodes/qbackendnode.h nodes/qbackendnode_p.h + nodes/qcomponent.cpp nodes/qcomponent.h nodes/qcomponent_p.h + nodes/qdestructionidandtypecollector.cpp nodes/qdestructionidandtypecollector_p.h + nodes/qentity.cpp nodes/qentity.h nodes/qentity_p.h + nodes/qnode.cpp nodes/qnode.h nodes/qnode_p.h + nodes/qnodeid.cpp nodes/qnodeid.h + nodes/qnodevisitor.cpp nodes/qnodevisitor_p.h + qabstractfrontendnodemanager.cpp qabstractfrontendnodemanager.h + qchangearbiter.cpp qchangearbiter_p.h + qscene.cpp qscene_p.h + qscheduler.cpp qscheduler_p.h + qt3dcore_global.h qt3dcore_global_p.h + qtickclock.cpp qtickclock_p.h + qurlhelper.cpp qurlhelper_p.h + resources/qframeallocator.cpp resources/qframeallocator_p.h + resources/qframeallocator_p_p.h + resources/qhandle_p.h + resources/qloadgltf_p.h + resources/qresourcemanager.cpp resources/qresourcemanager_p.h + services/nullservices_p.h + services/qabstractframeadvanceservice.cpp services/qabstractframeadvanceservice_p.h + services/qabstractframeadvanceservice_p_p.h + services/qabstractserviceprovider_p.h + services/qdownloadhelperservice.cpp services/qdownloadhelperservice_p.h + services/qdownloadnetworkworker.cpp services/qdownloadnetworkworker_p.h + services/qeventfilterservice.cpp services/qeventfilterservice_p.h + services/qopenglinformationservice.cpp services/qopenglinformationservice_p.h + services/qopenglinformationservice_p_p.h + services/qservicelocator.cpp services/qservicelocator_p.h + services/qsysteminformationservice.cpp services/qsysteminformationservice_p.h + services/qsysteminformationservice_p_p.h + services/qtickclockservice.cpp services/qtickclockservice_p.h + transforms/matrix4x4_p.h + transforms/qabstractskeleton.cpp transforms/qabstractskeleton.h transforms/qabstractskeleton_p.h + transforms/qarmature.cpp transforms/qarmature.h transforms/qarmature_p.h + transforms/qjoint.cpp transforms/qjoint.h transforms/qjoint_p.h + transforms/qmath3d_p.h + transforms/qskeleton.cpp transforms/qskeleton.h transforms/qskeleton_p.h + transforms/qskeletonloader.cpp transforms/qskeletonloader.h transforms/qskeletonloader_p.h + transforms/qtransform.cpp transforms/qtransform.h transforms/qtransform_p.h + transforms/sqt_p.h + transforms/vector3d_p.h + transforms/vector4d_p.h + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_SOURCE_DIR} + aspect + aspects + geometry + jobs + nodes + services + transforms + LIBRARIES + Qt::Concurrent + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Network + PRIVATE_MODULE_INTERFACE + Qt::Concurrent + Qt::CorePrivate + Qt::GuiPrivate +) + +qt_extend_target(3DCore CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) + +if(QT_FEATURE_qt3d_simd_sse2) + qt_add_simd_part(3DCore SIMD sse2 + SOURCES + transforms/matrix4x4_sse.cpp transforms/matrix4x4_sse_p.h + ) +endif() + +if(QT_FEATURE_qt3d_simd_sse2 AND NOT QT_FEATURE_qt3d_simd_avx2) + qt_add_simd_part(3DCore SIMD sse2 + SOURCES + transforms/vector3d_sse.cpp transforms/vector3d_sse_p.h + transforms/vector4d_sse.cpp transforms/vector4d_sse_p.h + ) +endif() + +if(QT_FEATURE_qt3d_simd_avx2) + qt_add_simd_part(3DCore SIMD avx2 + SOURCES + transforms/matrix4x4_avx2.cpp transforms/matrix4x4_avx2_p.h + transforms/vector3d_sse.cpp transforms/vector3d_sse_p.h + transforms/vector4d_sse.cpp transforms/vector4d_sse_p.h + ) +endif() diff --git a/src/core/configure.cmake b/src/core/configure.cmake new file mode 100644 index 000000000..77743dacf --- /dev/null +++ b/src/core/configure.cmake @@ -0,0 +1,75 @@ +#### Inputs + +# input assimp +set(INPUT_assimp "undefined" CACHE STRING "") +set_property(CACHE INPUT_assimp PROPERTY STRINGS undefined qt system no) + + + +#### Libraries + + + +#### Tests + + + +#### Features + +qt_feature("qt3d_render" PUBLIC + SECTION "Aspects" + LABEL "Render aspect" + PURPOSE "Use the 3D Render Aspect library" +) + +qt_feature("qt3d_input" PUBLIC + SECTION "Aspects" + LABEL "Input aspect" + PURPOSE "Use the 3D Input Aspect library" +) + +qt_feature("qt3d_logic" PUBLIC + SECTION "Aspects" + LABEL "Logic aspect" + PURPOSE "Use the 3D Logic Aspect library" +) + +qt_feature("qt3d_extras" PUBLIC + SECTION "Aspects" + LABEL "Extras aspect" + PURPOSE "Use the 3D Extra library" + CONDITION QT_FEATURE_qt3d_render AND QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_logic +) + +qt_feature("qt3d_animation" PUBLIC + SECTION "Aspects" + LABEL "Animation aspect" + PURPOSE "Use the 3D Animation Aspect library" + CONDITION QT_FEATURE_qt3d_render +) + +qt_feature("qt3d_simd_sse2" PRIVATE + LABEL "Use SSE2 instructions" + PURPOSE "Use SSE2 SIMD instructions to accelerate matrix operations" + AUTODETECT QT_FEATURE_sse2 + ENABLE INPUT_qt3d_simd STREQUAL 'sse2' OR INPUT_qt3d_simd STREQUAL 'avx2' + DISABLE INPUT_qt3d_simd STREQUAL 'no' OR ( TEST_architecture_arch STREQUAL i386 ) +) + +qt_feature("qt3d_simd_avx2" PRIVATE + LABEL "Use AVX2 instructions" + PURPOSE "Use AVX2 SIMD instructions to accelerate matrix operations" + AUTODETECT TEST_arch_${TEST_architecture_arch}_subarch_avx2 + ENABLE INPUT_qt3d_simd STREQUAL 'avx2' + DISABLE INPUT_qt3d_simd STREQUAL 'sse2' OR INPUT_qt3d_simd STREQUAL 'no' OR ( TEST_architecture_arch STREQUAL i386 ) +) + +qt_configure_add_summary_section(NAME "Qt3D Core") +qt_configure_add_summary_entry(ARGS "qt3d_simd_sse2") +qt_configure_add_summary_entry(ARGS "qt3d_simd_avx2") +qt_configure_add_summary_entry(ARGS "qt3d_animation") +qt_configure_add_summary_entry(ARGS "qt3d_extras") +qt_configure_add_summary_entry(ARGS "qt3d_input") +qt_configure_add_summary_entry(ARGS "qt3d_logic") +qt_configure_add_summary_entry(ARGS "qt3d_render") +qt_configure_end_summary_section() # end of "Qt3D" section diff --git a/src/doc/CMakeLists.txt b/src/doc/CMakeLists.txt new file mode 100644 index 000000000..21a0ea140 --- /dev/null +++ b/src/doc/CMakeLists.txt @@ -0,0 +1,2 @@ +# Generated from doc.pro. + diff --git a/src/extras/CMakeLists.txt b/src/extras/CMakeLists.txt new file mode 100644 index 000000000..ec53dd79f --- /dev/null +++ b/src/extras/CMakeLists.txt @@ -0,0 +1,148 @@ +# Generated from extras.pro. + +##################################################################### +## Qt::3DExtras Module: +##################################################################### + +qt_add_module(3DExtras + SOURCES + 3dtext/qextrudedtextgeometry.cpp 3dtext/qextrudedtextgeometry.h 3dtext/qextrudedtextgeometry_p.h + 3dtext/qextrudedtextmesh.cpp 3dtext/qextrudedtextmesh.h + defaults/qabstractcameracontroller.cpp defaults/qabstractcameracontroller.h defaults/qabstractcameracontroller_p.h + defaults/qabstractspritesheet.cpp defaults/qabstractspritesheet.h defaults/qabstractspritesheet_p.h + defaults/qdiffusemapmaterial.cpp defaults/qdiffusemapmaterial.h defaults/qdiffusemapmaterial_p.h + defaults/qdiffusespecularmapmaterial.cpp defaults/qdiffusespecularmapmaterial.h defaults/qdiffusespecularmapmaterial_p.h + defaults/qdiffusespecularmaterial.cpp defaults/qdiffusespecularmaterial.h defaults/qdiffusespecularmaterial_p.h + defaults/qfirstpersoncameracontroller.cpp defaults/qfirstpersoncameracontroller.h + defaults/qforwardrenderer.cpp defaults/qforwardrenderer.h defaults/qforwardrenderer_p.h + defaults/qgoochmaterial.cpp defaults/qgoochmaterial.h defaults/qgoochmaterial_p.h + defaults/qmetalroughmaterial.cpp defaults/qmetalroughmaterial.h defaults/qmetalroughmaterial_p.h + defaults/qmorphphongmaterial.cpp defaults/qmorphphongmaterial.h defaults/qmorphphongmaterial_p.h + defaults/qnormaldiffusemapalphamaterial.cpp defaults/qnormaldiffusemapalphamaterial.h defaults/qnormaldiffusemapalphamaterial_p.h + defaults/qnormaldiffusemapmaterial.cpp defaults/qnormaldiffusemapmaterial.h defaults/qnormaldiffusemapmaterial_p.h + defaults/qnormaldiffusespecularmapmaterial.cpp defaults/qnormaldiffusespecularmapmaterial.h defaults/qnormaldiffusespecularmapmaterial_p.h + defaults/qorbitcameracontroller.cpp defaults/qorbitcameracontroller.h defaults/qorbitcameracontroller_p.h + defaults/qpervertexcolormaterial.cpp defaults/qpervertexcolormaterial.h defaults/qpervertexcolormaterial_p.h + defaults/qphongalphamaterial.cpp defaults/qphongalphamaterial.h defaults/qphongalphamaterial_p.h + defaults/qphongmaterial.cpp defaults/qphongmaterial.h defaults/qphongmaterial_p.h + defaults/qskyboxentity.cpp defaults/qskyboxentity.h defaults/qskyboxentity_p.h + defaults/qspritegrid.cpp defaults/qspritegrid.h defaults/qspritegrid_p.h + defaults/qspritesheet.cpp defaults/qspritesheet.h defaults/qspritesheet_p.h + defaults/qspritesheetitem.cpp defaults/qspritesheetitem.h defaults/qspritesheetitem_p.h + defaults/qt3dwindow.cpp defaults/qt3dwindow.h defaults/qt3dwindow_p.h + defaults/qtexturematerial.cpp defaults/qtexturematerial.h defaults/qtexturematerial_p.h + geometries/qconegeometry.cpp geometries/qconegeometry.h geometries/qconegeometry_p.h + geometries/qconemesh.cpp geometries/qconemesh.h + geometries/qcuboidgeometry.cpp geometries/qcuboidgeometry.h geometries/qcuboidgeometry_p.h + geometries/qcuboidmesh.cpp geometries/qcuboidmesh.h + geometries/qcylindergeometry.cpp geometries/qcylindergeometry.h geometries/qcylindergeometry_p.h + geometries/qcylindermesh.cpp geometries/qcylindermesh.h + geometries/qplanegeometry.cpp geometries/qplanegeometry.h geometries/qplanegeometry_p.h + geometries/qplanemesh.cpp geometries/qplanemesh.h + geometries/qspheregeometry.cpp geometries/qspheregeometry.h geometries/qspheregeometry_p.h + geometries/qspheremesh.cpp geometries/qspheremesh.h + geometries/qtorusgeometry.cpp geometries/qtorusgeometry.h geometries/qtorusgeometry_p.h + geometries/qtorusmesh.cpp geometries/qtorusmesh.h + qt3dextras_global.h + text/areaallocator.cpp text/areaallocator_p.h + text/distancefieldtextrenderer.cpp text/distancefieldtextrenderer_p.h + text/distancefieldtextrenderer_p_p.h + text/qdistancefieldglyphcache.cpp text/qdistancefieldglyphcache_p.h + text/qtext2dentity.cpp text/qtext2dentity.h text/qtext2dentity_p.h + text/qtext2dmaterial.cpp text/qtext2dmaterial_p.h + text/qtext2dmaterial_p_p.h + text/qtextureatlas.cpp text/qtextureatlas_p.h + text/qtextureatlas_p_p.h + DEFINES + QT3DEXTRAS_LIBRARY + INCLUDE_DIRECTORIES + 3dtext + defaults + geometries + text + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + 3DLogic + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate +) + +# Resources: +set(extras_resource_files + "shaders/es2/coordinatesystems.inc" + "shaders/es2/default.vert" + "shaders/es2/distancefieldtext.frag" + "shaders/es2/distancefieldtext.vert" + "shaders/es2/gooch.frag" + "shaders/es2/gooch.vert" + "shaders/es2/light.inc.frag" + "shaders/es2/light.inc.frag100" + "shaders/es2/morphphong.vert" + "shaders/es2/pervertexcolor.frag" + "shaders/es2/pervertexcolor.vert" + "shaders/es2/phong.inc.frag" + "shaders/es2/phong.inc.frag100" + "shaders/es2/skybox.frag" + "shaders/es2/skybox.vert" + "shaders/es2/unlittexture.frag" + "shaders/es2/unlittexture.vert" + "shaders/es3/coordinatesystems.inc" + "shaders/es3/default.vert" + "shaders/es3/light.inc.frag" + "shaders/es3/metalrough.inc.frag" + "shaders/gl3/coordinatesystems.inc" + "shaders/gl3/default.vert" + "shaders/gl3/distancefieldtext.frag" + "shaders/gl3/distancefieldtext.vert" + "shaders/gl3/gooch.frag" + "shaders/gl3/gooch.vert" + "shaders/gl3/light.inc.frag" + "shaders/gl3/metalrough.inc.frag" + "shaders/gl3/morphphong.vert" + "shaders/gl3/pervertexcolor.frag" + "shaders/gl3/pervertexcolor.vert" + "shaders/gl3/phong.inc.frag" + "shaders/gl3/skybox.frag" + "shaders/gl3/skybox.vert" + "shaders/gl3/unlittexture.frag" + "shaders/gl3/unlittexture.vert" + "shaders/graphs/metalrough.frag.json" + "shaders/graphs/phong.frag.json" + "shaders/graphs/phong.graph" + "shaders/rhi/coordinatesystems.inc" + "shaders/rhi/default.vert" + "shaders/rhi/defaultuniforms.inc" + "shaders/rhi/distancefieldtext.frag" + "shaders/rhi/distancefieldtext.vert" + "shaders/rhi/gooch.frag" + "shaders/rhi/gooch.vert" + "shaders/rhi/light.inc.frag" + "shaders/rhi/metalrough.inc.frag" + "shaders/rhi/morphphong.vert" + "shaders/rhi/pervertexcolor.frag" + "shaders/rhi/pervertexcolor.vert" + "shaders/rhi/phong.inc.frag" + "shaders/rhi/skybox.frag" + "shaders/rhi/skybox.vert" + "shaders/rhi/unlittexture.frag" + "shaders/rhi/unlittexture.vert" +) + +qt_add_resource(3DExtras "extras" + PREFIX + "/" + FILES + ${extras_resource_files} +) + + +#### Keys ignored in scope 1:.:.:extras.pro:<TRUE>: +# MODULE = "3DExtras" diff --git a/src/input/CMakeLists.txt b/src/input/CMakeLists.txt new file mode 100644 index 000000000..d1038028e --- /dev/null +++ b/src/input/CMakeLists.txt @@ -0,0 +1,106 @@ +# Generated from input.pro. + +##################################################################### +## Qt::3DInput Module: +##################################################################### + +qt_add_module(3DInput + PLUGIN_TYPES Qt::3DInputdevices + SOURCES + backend/abstractactioninput.cpp backend/abstractactioninput_p.h + backend/abstractaxisinput.cpp backend/abstractaxisinput_p.h + backend/action.cpp backend/action_p.h + backend/actioninput.cpp backend/actioninput_p.h + backend/analogaxisinput.cpp backend/analogaxisinput_p.h + backend/assignkeyboardfocusjob.cpp backend/assignkeyboardfocusjob_p.h + backend/axis.cpp backend/axis_p.h + backend/axisaccumulator.cpp backend/axisaccumulator_p.h + backend/axisaccumulatorjob.cpp backend/axisaccumulatorjob_p.h + backend/axissetting.cpp backend/axissetting_p.h + backend/backendnode.cpp backend/backendnode_p.h + backend/buttonaxisinput.cpp backend/buttonaxisinput_p.h + backend/eventsourcesetterhelper.cpp backend/eventsourcesetterhelper_p.h + backend/genericdevicebackendnode.cpp backend/genericdevicebackendnode_p.h + backend/handle_types_p.h + backend/inputbackendnodefunctor_p.h + backend/inputchord.cpp backend/inputchord_p.h + backend/inputhandler.cpp backend/inputhandler_p.h + backend/inputmanagers_p.h + backend/inputsequence.cpp backend/inputsequence_p.h + backend/inputsettings.cpp backend/inputsettings_p.h + backend/job_common_p.h + backend/keyboarddevice.cpp backend/keyboarddevice_p.h + backend/keyboardeventfilter.cpp backend/keyboardeventfilter_p.h + backend/keyboardhandler.cpp backend/keyboardhandler_p.h + backend/keyboardmousegenericdeviceintegration.cpp backend/keyboardmousegenericdeviceintegration_p.h + backend/keyeventdispatcherjob.cpp backend/keyeventdispatcherjob_p.h + backend/loadproxydevicejob.cpp backend/loadproxydevicejob_p.h + backend/logicaldevice.cpp backend/logicaldevice_p.h + backend/mousedevice.cpp backend/mousedevice_p.h + backend/mouseeventdispatcherjob.cpp backend/mouseeventdispatcherjob_p.h + backend/mouseeventfilter.cpp backend/mouseeventfilter_p.h + backend/mousehandler.cpp backend/mousehandler_p.h + backend/movingaverage.cpp backend/movingaverage_p.h + backend/physicaldeviceproxy.cpp backend/physicaldeviceproxy_p.h + backend/qabstractphysicaldevicebackendnode.cpp backend/qabstractphysicaldevicebackendnode_p.h + backend/qabstractphysicaldevicebackendnode_p_p.h + backend/updateaxisactionjob.cpp backend/updateaxisactionjob_p.h + backend/utils_p.h + frontend/qabstractactioninput.cpp frontend/qabstractactioninput.h frontend/qabstractactioninput_p.h + frontend/qabstractaxisinput.cpp frontend/qabstractaxisinput.h frontend/qabstractaxisinput_p.h + frontend/qabstractphysicaldevice.cpp frontend/qabstractphysicaldevice.h frontend/qabstractphysicaldevice_p.h + frontend/qabstractphysicaldeviceproxy.cpp frontend/qabstractphysicaldeviceproxy_p.h + frontend/qabstractphysicaldeviceproxy_p_p.h + frontend/qaction.cpp frontend/qaction.h frontend/qaction_p.h + frontend/qactioninput.cpp frontend/qactioninput.h frontend/qactioninput_p.h + frontend/qanalogaxisinput.cpp frontend/qanalogaxisinput.h frontend/qanalogaxisinput_p.h + frontend/qaxis.cpp frontend/qaxis.h frontend/qaxis_p.h + frontend/qaxisaccumulator.cpp frontend/qaxisaccumulator.h frontend/qaxisaccumulator_p.h + frontend/qaxissetting.cpp frontend/qaxissetting.h frontend/qaxissetting_p.h + frontend/qbuttonaxisinput.cpp frontend/qbuttonaxisinput.h frontend/qbuttonaxisinput_p.h + frontend/qgenericinputdevice.cpp frontend/qgenericinputdevice_p.h + frontend/qinputaspect.cpp frontend/qinputaspect.h frontend/qinputaspect_p.h + frontend/qinputchord.cpp frontend/qinputchord.h frontend/qinputchord_p.h + frontend/qinputdeviceintegration.cpp frontend/qinputdeviceintegration_p.h + frontend/qinputdeviceintegration_p_p.h + frontend/qinputdeviceintegrationfactory.cpp frontend/qinputdeviceintegrationfactory_p.h + frontend/qinputdeviceplugin.cpp frontend/qinputdeviceplugin_p.h + frontend/qinputsequence.cpp frontend/qinputsequence.h frontend/qinputsequence_p.h + frontend/qinputsettings.cpp frontend/qinputsettings.h frontend/qinputsettings_p.h + frontend/qkeyboarddevice.cpp frontend/qkeyboarddevice.h frontend/qkeyboarddevice_p.h + frontend/qkeyboardhandler.cpp frontend/qkeyboardhandler.h frontend/qkeyboardhandler_p.h + frontend/qkeyevent.cpp frontend/qkeyevent.h + frontend/qlogicaldevice.cpp frontend/qlogicaldevice.h frontend/qlogicaldevice_p.h + frontend/qmousedevice.cpp frontend/qmousedevice.h frontend/qmousedevice_p.h + frontend/qmouseevent.cpp frontend/qmouseevent.h + frontend/qmousehandler.cpp frontend/qmousehandler.h frontend/qmousehandler_p.h + qt3dinput_global.h qt3dinput_global_p.h + DEFINES + QT3DINPUT_LIBRARY + INCLUDE_DIRECTORIES + backend + frontend + LIBRARIES + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::3DCorePrivate + Qt::Core + Qt::Gui + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate +) + +#### Keys ignored in scope 1:.:.:input.pro:<TRUE>: +# MODULE = "3DInput" + +## Scopes: +##################################################################### + +qt_extend_target(3DInput CONDITION TARGET Qt::Gamepad + SOURCES + frontend/qgamepadinput.cpp frontend/qgamepadinput_p.h + DEFINES + HAVE_QGAMEPAD + PUBLIC_LIBRARIES + Qt::Gamepad +) diff --git a/src/logic/CMakeLists.txt b/src/logic/CMakeLists.txt new file mode 100644 index 000000000..753c2c504 --- /dev/null +++ b/src/logic/CMakeLists.txt @@ -0,0 +1,47 @@ +# Generated from logic.pro. + +##################################################################### +## 3DLogic Module: +##################################################################### + +qt_add_module(3DLogic + SOURCES + callbackjob.cpp callbackjob_p.h + executor.cpp executor_p.h + handle_types_p.h + handler.cpp handler_p.h + job_common_p.h + manager.cpp manager_p.h + managers_p.h + qframeaction.cpp qframeaction.h qframeaction_p.h + qlogicaspect.cpp qlogicaspect.h qlogicaspect_p.h + qt3dlogic_global.h + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_SOURCE_DIR} + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Core + Qt::Gui + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::GuiPrivate +) + +#### Keys ignored in scope 1:.:.:logic.pro:<TRUE>: +# MODULE = "3DLogic" + +## Scopes: +##################################################################### + +qt_extend_target(3DLogic CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/plugins/geometryloaders/CMakeLists.txt b/src/plugins/geometryloaders/CMakeLists.txt new file mode 100644 index 000000000..d2ccc5ae5 --- /dev/null +++ b/src/plugins/geometryloaders/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from geometryloaders.pro. + +qt_feature_module_begin( + NO_MODULE + PUBLIC_FILE "qtgeometryloaders-config.h" + PRIVATE_FILE "qtgeometryloaders-config_p.h" +) +include(configure.cmake) +qt_feature_module_end(NO_MODULE) + +add_subdirectory(gltf) +if(QT_FEATURE_regularexpression) + add_subdirectory(default) +endif() +if(QT_FEATURE_qt3d_fbxsdk) + add_subdirectory(fbx) +endif() diff --git a/src/plugins/geometryloaders/configure.cmake b/src/plugins/geometryloaders/configure.cmake new file mode 100644 index 000000000..d6b257fc2 --- /dev/null +++ b/src/plugins/geometryloaders/configure.cmake @@ -0,0 +1,32 @@ +#### Inputs + +# input fbxsdk +set(INPUT_fbxsdk "undefined" CACHE STRING "") +set_property(CACHE INPUT_fbxsdk PROPERTY STRINGS undefined no system) + + +#### Libraries + +#qt_find_package(WrapAssimp 5 PROVIDED_TARGETS WrapAssimp::WrapAssimp) + +qt_config_compile_test("qt3d_fbxsdk" + LABEL "Autodesk FBX" + PROJECT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../config.tests/fbx" +# LIBRARIES WrapAssimp::WrapAssimp +# PACKAGES PACKAGE WrapAssimp 5 + ) +#### Tests + + + +#### Features + +qt_feature("qt3d_fbxsdk" PRIVATE + LABEL "Autodesk FBX" + CONDITION libs.fbx #OR FIXME +) +qt_feature_definition("qt3d_fbxsdk" "QT_3DGEOMETRYLOADERS_FBX") + +qt_configure_add_summary_section(NAME "Qt3D Geometry Loaders") +qt_configure_add_summary_entry(ARGS "qt3d_fbxsdk") +qt_configure_end_summary_section() # end of "Qt3D" section diff --git a/src/plugins/geometryloaders/default/CMakeLists.txt b/src/plugins/geometryloaders/default/CMakeLists.txt new file mode 100644 index 000000000..54a37ece0 --- /dev/null +++ b/src/plugins/geometryloaders/default/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from default.pro. + +##################################################################### +## DefaultGeometryLoaderPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(DefaultGeometryLoaderPlugin + OUTPUT_NAME defaultgeometryloader + TYPE geometryloaders + SOURCES + basegeometryloader.cpp basegeometryloader_p.h + main.cpp + objgeometryloader.cpp + plygeometryloader.cpp + stlgeometryloader.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:default.pro:<TRUE>: +# DISTFILES = "default.json" diff --git a/src/plugins/geometryloaders/fbx/CMakeLists.txt b/src/plugins/geometryloaders/fbx/CMakeLists.txt new file mode 100644 index 000000000..a9d037a8d --- /dev/null +++ b/src/plugins/geometryloaders/fbx/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from fbx.pro. + +##################################################################### +## fbxGeometryLoaderPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(fbxGeometryLoaderPlugin + OUTPUT_NAME fbxgeometryloader + TYPE geometryloaders + SOURCES + fbxgeometryloader.cpp fbxgeometryloader.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + fbx +) + +#### Keys ignored in scope 1:.:.:fbx.pro:<TRUE>: +# DISTFILES = "fbx.json" diff --git a/src/plugins/geometryloaders/gltf/CMakeLists.txt b/src/plugins/geometryloaders/gltf/CMakeLists.txt new file mode 100644 index 000000000..aa8f80c19 --- /dev/null +++ b/src/plugins/geometryloaders/gltf/CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from gltf.pro. + +##################################################################### +## GLTFGeometryLoaderPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(GLTFGeometryLoaderPlugin + OUTPUT_NAME gltfgeometryloader + TYPE geometryloaders + SOURCES + gltfgeometryloader.cpp gltfgeometryloader.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:gltf.pro:<TRUE>: +# DISTFILES = "gltf.json" diff --git a/src/plugins/renderers/CMakeLists.txt b/src/plugins/renderers/CMakeLists.txt new file mode 100644 index 000000000..59952e2e2 --- /dev/null +++ b/src/plugins/renderers/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from renderers.pro. + +if(QT_FEATURE_qt3d_opengl_renderer) + add_subdirectory(opengl) +endif() +if(QT_FEATURE_qt3d_rhi_renderer AND TARGET Qt::ShaderTools) + add_subdirectory(rhi) +endif() diff --git a/src/plugins/renderers/dummy/CMakeLists.txt b/src/plugins/renderers/dummy/CMakeLists.txt new file mode 100644 index 000000000..2e0fea2af --- /dev/null +++ b/src/plugins/renderers/dummy/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from dummy.pro. + +##################################################################### +## dummy Binary: +##################################################################### + +qt_add_executable(dummy + GUI + PUBLIC_LIBRARIES + Qt::Gui +) diff --git a/src/plugins/renderers/opengl/CMakeLists.txt b/src/plugins/renderers/opengl/CMakeLists.txt new file mode 100644 index 000000000..42aa8f0e2 --- /dev/null +++ b/src/plugins/renderers/opengl/CMakeLists.txt @@ -0,0 +1,112 @@ +# Generated from opengl.pro. + +##################################################################### +## OpenGLRendererPlugin Plugin: +##################################################################### + +add_library(OpenGLRendererLib STATIC + graphicshelpers/graphicscontext.cpp graphicshelpers/graphicscontext_p.h + graphicshelpers/graphicshelperes2.cpp graphicshelpers/graphicshelperes2_p.h + graphicshelpers/graphicshelperes3.cpp graphicshelpers/graphicshelperes3_p.h + graphicshelpers/graphicshelperes3_1.cpp graphicshelpers/graphicshelperes3_1_p.h + graphicshelpers/graphicshelperes3_2.cpp graphicshelpers/graphicshelperes3_2_p.h + graphicshelpers/graphicshelpergl2.cpp graphicshelpers/graphicshelpergl2_p.h + graphicshelpers/graphicshelpergl3_2.cpp graphicshelpers/graphicshelpergl3_2_p.h + graphicshelpers/graphicshelpergl3_3.cpp graphicshelpers/graphicshelpergl3_3_p.h + graphicshelpers/graphicshelpergl4.cpp graphicshelpers/graphicshelpergl4_p.h + graphicshelpers/graphicshelperinterface_p.h + graphicshelpers/imagesubmissioncontext.cpp graphicshelpers/imagesubmissioncontext_p.h + graphicshelpers/qgraphicsutils_p.h + graphicshelpers/submissioncontext.cpp graphicshelpers/submissioncontext_p.h + graphicshelpers/texturesubmissioncontext.cpp graphicshelpers/texturesubmissioncontext_p.h + io/glbuffer.cpp io/glbuffer_p.h + jobs/filtercompatibletechniquejob.cpp jobs/filtercompatibletechniquejob_p.h + jobs/materialparametergathererjob.cpp jobs/materialparametergathererjob_p.h + jobs/renderviewcommandbuilderjob.cpp jobs/renderviewcommandbuilderjob_p.h + jobs/renderviewcommandupdaterjob.cpp jobs/renderviewcommandupdaterjob_p.h + jobs/renderviewinitializerjob.cpp jobs/renderviewinitializerjob_p.h + jobs/renderviewjobutils.cpp jobs/renderviewjobutils_p.h + managers/gl_handle_types_p.h + managers/glresourcemanagers.cpp managers/glresourcemanagers_p.h + renderer/commandexecuter.cpp renderer/commandexecuter_p.h + renderer/frameprofiler_p.h + renderer/glfence_p.h + renderer/gllights.cpp renderer/gllights_p.h + renderer/glshader.cpp renderer/glshader_p.h + renderer/logging.cpp renderer/logging_p.h + renderer/openglvertexarrayobject.cpp renderer/openglvertexarrayobject_p.h + renderer/rendercommand.cpp renderer/rendercommand_p.h + renderer/renderer.cpp renderer/renderer_p.h + renderer/renderercache_p.h + renderer/renderqueue.cpp renderer/renderqueue_p.h + renderer/renderview.cpp renderer/renderview_p.h + renderer/renderviewbuilder.cpp renderer/renderviewbuilder_p.h + renderer/shaderparameterpack.cpp renderer/shaderparameterpack_p.h + renderer/shadervariables_p.h + textures/gltexture.cpp textures/gltexture_p.h + textures/renderbuffer.cpp textures/renderbuffer_p.h +) + +target_include_directories(OpenGLRendererLib PUBLIC + graphicshelpers + io + jobs + managers + renderer + textures +) + +target_link_libraries(OpenGLRendererLib + PRIVATE + Qt::OpenGLExtensions + PUBLIC + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::OpenGL + Qt::OpenGLPrivate +) + +target_compile_definitions(OpenGLRendererLib PRIVATE + BUILD_QT3D_MODULE + QT_BUILDING_QT + QT_NO_FOREACH +) + +qt_extend_target(OpenGLRendererLib CONDITION NOT INTEGRITY + SOURCES + debug/imguirenderer.cpp debug/imguirenderer_p.h + ${PROJECT_SOURCE_DIR}/src/3rdparty/imgui/imgui.cpp + ${PROJECT_SOURCE_DIR}/src/3rdparty/imgui/imgui_draw.cpp + ${PROJECT_SOURCE_DIR}/src/3rdparty/imgui/imgui_widgets.cpp + INCLUDE_DIRECTORIES + debug + ${PROJECT_SOURCE_DIR}/src/3rdparty/imgui +) + + +qt_internal_add_plugin(OpenGLRendererPlugin + OUTPUT_NAME openglrenderer + TYPE renderers + SOURCES + main.cpp + LIBRARIES + OpenGLRendererLib +) + +## Scopes: +##################################################################### + +qt_extend_target(OpenGLRendererPlugin CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/plugins/renderers/opengl/debug/imguirenderer.cpp b/src/plugins/renderers/opengl/debug/imguirenderer.cpp index 9445eb418..c2ec6152a 100644 --- a/src/plugins/renderers/opengl/debug/imguirenderer.cpp +++ b/src/plugins/renderers/opengl/debug/imguirenderer.cpp @@ -163,6 +163,8 @@ ImGuiRenderer::ImGuiRenderer(Qt3DRender::Render::OpenGL::Renderer *renderer) m_jobsRange.first = m_jobsRange.second = 0.f; } +ImGuiRenderer::~ImGuiRenderer() = default; + void ImGuiRenderer::renderDebugOverlay(const QVector<RenderView *> &renderViews, const RenderView *renderView, int jobsInLastFrame) { if (!newFrame(renderView)) diff --git a/src/plugins/renderers/opengl/debug/imguirenderer_p.h b/src/plugins/renderers/opengl/debug/imguirenderer_p.h index 33a7af282..b4b43dc72 100644 --- a/src/plugins/renderers/opengl/debug/imguirenderer_p.h +++ b/src/plugins/renderers/opengl/debug/imguirenderer_p.h @@ -81,10 +81,10 @@ namespace Debug { #define IMGUI_PERF_LOG_SIZE 30 -class ImGuiRenderer : public QObject { - Q_OBJECT +class Q_AUTOTEST_EXPORT ImGuiRenderer : public QObject { public: ImGuiRenderer(Qt3DRender::Render::OpenGL::Renderer *renderer); + ~ImGuiRenderer(); void processEvent(QEvent *event); void renderDebugOverlay(const QVector<Render::OpenGL::RenderView *> &renderViews, const Render::OpenGL::RenderView *renderView, int jobsInLastFrame); diff --git a/src/plugins/renderers/opengl/opengl.cmake b/src/plugins/renderers/opengl/opengl.cmake new file mode 100644 index 000000000..2eb35f6d9 --- /dev/null +++ b/src/plugins/renderers/opengl/opengl.cmake @@ -0,0 +1,9 @@ +function(qt3d_setup_opengl_renderer_target target) + + set(glplugindir ${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl) + target_link_libraries(${target} + PRIVATE + OpenGLRendererLib + ) + +endfunction() diff --git a/src/plugins/renderers/rhi/CMakeLists.txt b/src/plugins/renderers/rhi/CMakeLists.txt new file mode 100644 index 000000000..62bb695a8 --- /dev/null +++ b/src/plugins/renderers/rhi/CMakeLists.txt @@ -0,0 +1,73 @@ +# Generated from rhi.pro. + +##################################################################### +## RhiRendererPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(RhiRendererPlugin + OUTPUT_NAME rhirenderer + TYPE renderers + SOURCES + graphicshelpers/submissioncontext.cpp graphicshelpers/submissioncontext_p.h + io/rhibuffer.cpp io/rhibuffer_p.h + jobs/filtercompatibletechniquejob.cpp jobs/filtercompatibletechniquejob_p.h + jobs/materialparametergathererjob.cpp jobs/materialparametergathererjob_p.h + jobs/renderviewcommandbuilderjob.cpp jobs/renderviewcommandbuilderjob_p.h + jobs/renderviewcommandupdaterjob.cpp jobs/renderviewcommandupdaterjob_p.h + jobs/renderviewinitializerjob.cpp jobs/renderviewinitializerjob_p.h + jobs/renderviewjobutils.cpp jobs/renderviewjobutils_p.h + main.cpp + managers/rhihandle_types_p.h + managers/rhiresourcemanagers.cpp managers/rhiresourcemanagers_p.h + renderer/commandexecuter.cpp renderer/commandexecuter_p.h + renderer/logging.cpp renderer/logging_p.h + renderer/rendercommand.cpp renderer/rendercommand_p.h + renderer/renderer.cpp renderer/renderer_p.h + renderer/renderercache_p.h + renderer/renderqueue.cpp renderer/renderqueue_p.h + renderer/renderview.cpp renderer/renderview_p.h + renderer/renderviewbuilder.cpp renderer/renderviewbuilder_p.h + renderer/rhigraphicspipeline.cpp renderer/rhigraphicspipeline_p.h + renderer/rhishader.cpp renderer/rhishader_p.h + renderer/shaderparameterpack.cpp renderer/shaderparameterpack_p.h + renderer/shadervariables_p.h + textures/renderbuffer.cpp textures/renderbuffer_p.h + textures/texture.cpp textures/texture_p.h + DEFINES + QT_BUILDING_QT + QT_NO_FOREACH QT_NO_FOREACH + INCLUDE_DIRECTORIES + ${CMAKE_CURRENT_SOURCE_DIR} + graphicshelpers + io + jobs + managers + renderer + textures + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::ShaderTools + Qt::ShaderToolsPrivate +) + +#### Keys ignored in scope 1:.:.:rhi.pro:<TRUE>: +# DISTFILES = "rhirenderer.json" + +## Scopes: +##################################################################### + +qt_extend_target(RhiRendererPlugin CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/plugins/renderplugins/CMakeLists.txt b/src/plugins/renderplugins/CMakeLists.txt new file mode 100644 index 000000000..42389e72a --- /dev/null +++ b/src/plugins/renderplugins/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from renderplugins.pro. + +add_subdirectory(scene2d) diff --git a/src/plugins/renderplugins/scene2d/CMakeLists.txt b/src/plugins/renderplugins/scene2d/CMakeLists.txt new file mode 100644 index 000000000..bb1c4599d --- /dev/null +++ b/src/plugins/renderplugins/scene2d/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from scene2d.pro. + +##################################################################### +## Scene2DPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(Scene2DPlugin + OUTPUT_NAME scene2d + TYPE renderplugins + SOURCES + main.cpp + scene2dplugin.cpp scene2dplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuickScene2D + Qt::3DQuickScene2DPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:scene2d.pro:<TRUE>: +# DISTFILES = "scene2dplugin.json" diff --git a/src/plugins/sceneparsers/CMakeLists.txt b/src/plugins/sceneparsers/CMakeLists.txt new file mode 100644 index 000000000..d6e3834f9 --- /dev/null +++ b/src/plugins/sceneparsers/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from sceneparsers.pro. + +qt_feature_module_begin( + NO_MODULE + PUBLIC_FILE "qtsceneparsers-config.h" + PRIVATE_FILE "qtsceneparsers-config_p.h" +) +include(configure.cmake) +qt_feature_module_end(NO_MODULE) + +add_subdirectory(gltf) +if((GCC AND QT_COMPILER_VERSION_MAJOR STRGREATER 4) OR (QT_FEATURE_assimp AND NOT IOS AND NOT TVOS AND NOT qcc AND (CLANG OR QT_FEATURE_system_assimp OR android-clang OR win32-msvc))) + add_subdirectory(assimp) +endif() +if(QT_FEATURE_regularexpression AND QT_FEATURE_temporaryfile) + add_subdirectory(gltfexport) +endif() diff --git a/src/plugins/sceneparsers/assimp/CMakeLists.txt b/src/plugins/sceneparsers/assimp/CMakeLists.txt new file mode 100644 index 000000000..63c1453aa --- /dev/null +++ b/src/plugins/sceneparsers/assimp/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from assimp.pro. + +##################################################################### +## AssimpSceneImportPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(AssimpSceneImportPlugin + OUTPUT_NAME assimpsceneimport + TYPE sceneparsers + EXCEPTIONS # special case + SOURCES + assimphelpers.cpp assimphelpers.h + assimpimporter.cpp assimpimporter.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:assimp.pro:<TRUE>: +# DISTFILES = "assimp.json" + +## Scopes: +##################################################################### +include(../../../3rdparty/assimp/assimp.cmake) +qt3d_extend_target_for_assimp(AssimpSceneImportPlugin) diff --git a/src/plugins/sceneparsers/configure.cmake b/src/plugins/sceneparsers/configure.cmake new file mode 100644 index 000000000..ab92ee0a2 --- /dev/null +++ b/src/plugins/sceneparsers/configure.cmake @@ -0,0 +1,39 @@ + + +#### Inputs + +# input assimp +set(INPUT_assimp "undefined" CACHE STRING "") +set_property(CACHE INPUT_assimp PROPERTY STRINGS undefined no qt system) + + +#### Libraries + +qt_find_package(WrapAssimp 5 PROVIDED_TARGETS WrapAssimp::WrapAssimp) + +qt_config_compile_test("assimp" + LABEL "Assimp" + PROJECT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../config.tests/assimp" + LIBRARIES WrapAssimp::WrapAssimp + PACKAGES PACKAGE WrapAssimp 5) + +#### Tests + + + +#### Features + +qt_feature("assimp" PUBLIC PRIVATE + LABEL "Assimp" +) +qt_feature_definition("assimp" "QT_NO_ASSIMP" NEGATE VALUE "1") +qt_feature("system-assimp" PRIVATE + LABEL "System Assimp" + CONDITION QT_FEATURE_assimp AND TEST_assimp + ENABLE INPUT_assimp STREQUAL 'system' + DISABLE INPUT_assimp STREQUAL 'qt' +) +qt_configure_add_summary_section(NAME "Qt3D Scene Parsers") +qt_configure_add_summary_entry(ARGS "assimp") +qt_configure_add_summary_entry(ARGS "system-assimp") +qt_configure_end_summary_section() # end of "Qt3D" section diff --git a/src/plugins/sceneparsers/gltf/CMakeLists.txt b/src/plugins/sceneparsers/gltf/CMakeLists.txt new file mode 100644 index 000000000..a2e8aaf25 --- /dev/null +++ b/src/plugins/sceneparsers/gltf/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from gltf.pro. + +##################################################################### +## GLTFSceneImportPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(GLTFSceneImportPlugin + OUTPUT_NAME gltfsceneimport + TYPE sceneparsers + SOURCES + gltfimporter.cpp gltfimporter.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:gltf.pro:<TRUE>: +# DISTFILES = "gltf.json" diff --git a/src/plugins/sceneparsers/gltfexport/CMakeLists.txt b/src/plugins/sceneparsers/gltfexport/CMakeLists.txt new file mode 100644 index 000000000..6a2473a36 --- /dev/null +++ b/src/plugins/sceneparsers/gltfexport/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from gltfexport.pro. + +##################################################################### +## GLTFSceneExportPlugin Plugin: +##################################################################### + +qt_internal_add_plugin(GLTFSceneExportPlugin + OUTPUT_NAME gltfsceneexport + TYPE sceneparsers + SOURCES + gltfexporter.cpp gltfexporter.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:gltfexport.pro:<TRUE>: +# DISTFILES = "gltfexport.json" diff --git a/src/quick3d/imports/animation/CMakeLists.txt b/src/quick3d/imports/animation/CMakeLists.txt new file mode 100644 index 000000000..0991bd68c --- /dev/null +++ b/src/quick3d/imports/animation/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from importsanimation.pro. + +##################################################################### +## quick3danimationplugin Plugin: +##################################################################### + +qt_add_qml_module(quick3danimationplugin + URI "Qt3D.Animation" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME Qt3DQuick3DAnimationPlugin + SKIP_TYPE_REGISTRATION + SOURCES + qt3dquick3danimationplugin.cpp qt3dquick3danimationplugin.h + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickAnimation + Qt::3DQuickAnimationPrivate + Qt::3DQuickRender + Qt::3DRender + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:importsanimation.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "Qt3D/Animation" diff --git a/src/quick3d/imports/core/CMakeLists.txt b/src/quick3d/imports/core/CMakeLists.txt new file mode 100644 index 000000000..147668e9b --- /dev/null +++ b/src/quick3d/imports/core/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from importscore.pro. + +##################################################################### +## quick3dcoreplugin Plugin: +##################################################################### + +qt_add_qml_module(quick3dcoreplugin + URI "Qt3D.Core" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME Qt3DQuick3DCorePlugin + SKIP_TYPE_REGISTRATION + SOURCES + qt3dquick3dcoreplugin.cpp qt3dquick3dcoreplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::QmlPrivate + Qt::Quick + Qt::QuickPrivate +) + +#### Keys ignored in scope 1:.:.:importscore.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "Qt3D/Core" diff --git a/src/quick3d/imports/extras/CMakeLists.txt b/src/quick3d/imports/extras/CMakeLists.txt new file mode 100644 index 000000000..a18244aca --- /dev/null +++ b/src/quick3d/imports/extras/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from importsextras.pro. + +##################################################################### +## quick3dextrasplugin Plugin: +##################################################################### + +qt_add_qml_module(quick3dextrasplugin + URI "Qt3D.Extras" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME Qt3DQuick3DExtrasPlugin + DEPENDENCIES + Qt3D.Logic/2.0 + SKIP_TYPE_REGISTRATION + SOURCES + qt3dquick3dextrasplugin.cpp qt3dquick3dextrasplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + 3DLogic + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DQuickExtrasPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::QmlPrivate + Qt::Quick + Qt::QuickPrivate +) + +#### Keys ignored in scope 1:.:.:importsextras.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "Qt3D/Extras" diff --git a/src/quick3d/imports/input/CMakeLists.txt b/src/quick3d/imports/input/CMakeLists.txt new file mode 100644 index 000000000..564667403 --- /dev/null +++ b/src/quick3d/imports/input/CMakeLists.txt @@ -0,0 +1,37 @@ +# Generated from importsinput.pro. + +##################################################################### +## quick3dinputplugin Plugin: +##################################################################### + +qt_add_qml_module(quick3dinputplugin + URI "Qt3D.Input" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME Qt3DQuick3DInputPlugin + SKIP_TYPE_REGISTRATION + SOURCES + qt3dquick3dinputplugin.cpp qt3dquick3dinputplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DInputPrivate + Qt::3DQuickInputPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:importsinput.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "Qt3D/Input" + +## Scopes: +##################################################################### + +qt_extend_target(quick3dinputplugin CONDITION TARGET Qt::Gamepad + DEFINES + HAVE_QGAMEPAD +) diff --git a/src/quick3d/imports/logic/CMakeLists.txt b/src/quick3d/imports/logic/CMakeLists.txt new file mode 100644 index 000000000..be22f48f1 --- /dev/null +++ b/src/quick3d/imports/logic/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from importslogic.pro. + +##################################################################### +## quick3dlogicplugin Plugin: +##################################################################### + +qt_add_qml_module(quick3dlogicplugin + URI "Qt3D.Logic" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME Qt3DQuick3DLogicPlugin + SKIP_TYPE_REGISTRATION + SOURCES + qt3dquick3dlogicplugin.cpp qt3dquick3dlogicplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + 3DLogic + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:importslogic.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "Qt3D/Logic" diff --git a/src/quick3d/imports/render/CMakeLists.txt b/src/quick3d/imports/render/CMakeLists.txt new file mode 100644 index 000000000..34b688e41 --- /dev/null +++ b/src/quick3d/imports/render/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from importsrender.pro. + +##################################################################### +## quick3drenderplugin: +##################################################################### + +qt_add_qml_module(quick3drenderplugin + URI "Qt3D.Render" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME Qt3DQuick3DRenderPlugin + SKIP_TYPE_REGISTRATION + SOURCES + qt3dquick3drenderplugin.cpp qt3dquick3drenderplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickRenderPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:importsrender.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "Qt3D/Render" diff --git a/src/quick3d/imports/scene2d/CMakeLists.txt b/src/quick3d/imports/scene2d/CMakeLists.txt new file mode 100644 index 000000000..ada9d3d86 --- /dev/null +++ b/src/quick3d/imports/scene2d/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from importsscene2d.pro. + +##################################################################### +## qtquickscene2dplugin Plugin: +##################################################################### + +qt_add_qml_module(qtquickscene2dplugin + URI "QtQuick.Scene2D" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME QtQuickScene2DPlugin + SKIP_TYPE_REGISTRATION + SOURCES + qtquickscene2dplugin.cpp qtquickscene2dplugin.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + 3DLogic + Qt::3DQuickScene2D + Qt::3DQuickScene2DPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:importsscene2d.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "QtQuick/Scene2D" diff --git a/src/quick3d/imports/scene3d/CMakeLists.txt b/src/quick3d/imports/scene3d/CMakeLists.txt new file mode 100644 index 000000000..f836c7c33 --- /dev/null +++ b/src/quick3d/imports/scene3d/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from importsscene3d.pro. + +##################################################################### +## qtquickscene3dplugin Plugin: +##################################################################### + +qt_add_qml_module(qtquickscene3dplugin + URI "QtQuick.Scene3D" + VERSION "2.${CMAKE_PROJECT_VERSION_MINOR}" + CLASSNAME QtQuickScene3DPlugin + SKIP_TYPE_REGISTRATION + SOURCES + qtquickscene3dplugin.cpp qtquickscene3dplugin.h + scene3ditem.cpp scene3ditem_p.h + scene3dlogging.cpp scene3dlogging_p.h + scene3drenderer.cpp scene3drenderer_p.h + scene3dsgmaterial.cpp scene3dsgmaterial_p.h + scene3dsgmaterialshader.cpp scene3dsgmaterialshader_p.h + scene3dsgnode.cpp scene3dsgnode_p.h + scene3dview.cpp scene3dview_p.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick +) + +#### Keys ignored in scope 1:.:.:importsscene3d.pro:<TRUE>: +# CXX_MODULE = "qml" +# IMPORT_VERSION = "2.$$QT_MINOR_VERSION" +# OTHER_FILES = "qmldir" +# TARGETPATH = "QtQuick/Scene3D" + +## Scopes: +##################################################################### + +qt_extend_target(qtquickscene3dplugin CONDITION QT_FEATURE_qt3d_input + PUBLIC_LIBRARIES + Qt::3DInput +) + +qt_extend_target(qtquickscene3dplugin CONDITION QT_FEATURE_qt3d_logic + PUBLIC_LIBRARIES + 3DLogic +) + +qt_extend_target(qtquickscene3dplugin CONDITION QT_FEATURE_qt3d_animation + PUBLIC_LIBRARIES + 3DAnimation +) diff --git a/src/quick3d/quick3d/CMakeLists.txt b/src/quick3d/quick3d/CMakeLists.txt new file mode 100644 index 000000000..bbcb0e2fd --- /dev/null +++ b/src/quick3d/quick3d/CMakeLists.txt @@ -0,0 +1,57 @@ +# Generated from quick3d.pro. + +##################################################################### +## Qt::3DQuick Module: +##################################################################### + +qt_add_module(3DQuick + SOURCES + items/quick3dbuffer.cpp items/quick3dbuffer_p.h + items/quick3dentity.cpp items/quick3dentity_p.h + items/quick3dentityloader.cpp items/quick3dentityloader_p.h + items/quick3dentityloader_p_p.h + items/quick3dgeometry.cpp items/quick3dgeometry_p.h + items/quick3djoint.cpp items/quick3djoint_p.h + items/quick3dnode.cpp items/quick3dnode_p.h + items/quick3dnodeinstantiator.cpp items/quick3dnodeinstantiator_p.h + items/quick3dnodev9.cpp items/quick3dnodev9_p.h + qqmlaspectengine.cpp qqmlaspectengine.h qqmlaspectengine_p.h + qquaternionanimation.cpp qquaternionanimation_p.h + qt3dquick_global.cpp qt3dquick_global.h qt3dquick_global_p.h + qt3dquicknodefactory.cpp qt3dquicknodefactory_p.h + qt3dquickvaluetypes.cpp qt3dquickvaluetypes_p.h + INCLUDE_DIRECTORIES + items + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Core + Qt::Gui + Qt::Qml + Qt::Quick + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate +) + +#### Keys ignored in scope 1:.:.:quick3d.pro:<TRUE>: +# MODULE = "3DQuick" + +## Scopes: +##################################################################### + +qt_extend_target(3DQuick CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/quick3d/quick3danimation/CMakeLists.txt b/src/quick3d/quick3danimation/CMakeLists.txt new file mode 100644 index 000000000..ab34453f4 --- /dev/null +++ b/src/quick3d/quick3danimation/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from quick3danimation.pro. + +##################################################################### +## Qt::3DQuickAnimation Module: +##################################################################### + +qt_add_module(3DQuickAnimation + SOURCES + items/quick3danimationcontroller.cpp items/quick3danimationcontroller_p.h + items/quick3danimationgroup.cpp items/quick3danimationgroup_p.h + items/quick3dchannelmapper.cpp items/quick3dchannelmapper_p.h + items/quick3dkeyframeanimation.cpp items/quick3dkeyframeanimation_p.h + items/quick3dmorphinganimation.cpp items/quick3dmorphinganimation_p.h + items/quick3dmorphtarget.cpp items/quick3dmorphtarget_p.h + items/quick3dvertexblendanimation.cpp items/quick3dvertexblendanimation_p.h + qt3dquickanimation_global.cpp qt3dquickanimation_global.h qt3dquickanimation_global_p.h + qt3dquickanimationnodefactory.cpp qt3dquickanimationnodefactory_p.h + INCLUDE_DIRECTORIES + items + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + Qt::Qml + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:quick3danimation.pro:<TRUE>: +# MODULE = "3dquickanimation" + +## Scopes: +##################################################################### + +qt_extend_target(3DQuickAnimation CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/quick3d/quick3dextras/CMakeLists.txt b/src/quick3d/quick3dextras/CMakeLists.txt new file mode 100644 index 000000000..475878ccc --- /dev/null +++ b/src/quick3d/quick3dextras/CMakeLists.txt @@ -0,0 +1,52 @@ +# Generated from quick3dextras.pro. + +##################################################################### +## Qt::3DQuickExtras Module: +##################################################################### + +qt_add_module(3DQuickExtras + SOURCES + items/quick3dlevelofdetailloader.cpp items/quick3dlevelofdetailloader_p.h + items/quick3dlevelofdetailloader_p_p.h + items/quick3dspritesheet.cpp items/quick3dspritesheet_p.h + qt3dquickextras_global.cpp qt3dquickextras_global.h qt3dquickextras_global_p.h + qt3dquickextrasnodefactory.cpp qt3dquickextrasnodefactory_p.h + qt3dquickwindow.cpp qt3dquickwindow.h qt3dquickwindow_p.h + qt3dquickwindowlogging.cpp qt3dquickwindowlogging_p.h + INCLUDE_DIRECTORIES + items + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DExtrasPrivate + Qt::3DInput + 3DLogic + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + Qt::Qml + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:quick3dextras.pro:<TRUE>: +# MODULE = "3DQuickExtras" + +## Scopes: +##################################################################### + +qt_extend_target(3DQuickExtras CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/quick3d/quick3dinput/CMakeLists.txt b/src/quick3d/quick3dinput/CMakeLists.txt new file mode 100644 index 000000000..6537b80b7 --- /dev/null +++ b/src/quick3d/quick3dinput/CMakeLists.txt @@ -0,0 +1,50 @@ +# Generated from quick3dinput.pro. + +##################################################################### +## Qt::3DQuickInput Module: +##################################################################### + +qt_add_module(3DQuickInput + SOURCES + items/quick3daction.cpp items/quick3daction_p.h + items/quick3daxis.cpp items/quick3daxis_p.h + items/quick3dinputchord.cpp items/quick3dinputchord_p.h + items/quick3dinputsequence.cpp items/quick3dinputsequence_p.h + items/quick3dlogicaldevice.cpp items/quick3dlogicaldevice_p.h + items/quick3dphysicaldevice.cpp items/quick3dphysicaldevice_p.h + qt3dquickinput_global.cpp qt3dquickinput_global.h qt3dquickinput_global_p.h + qt3dquickinputnodefactory.cpp qt3dquickinputnodefactory_p.h + INCLUDE_DIRECTORIES + items + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::Core + Qt::Gui + Qt::Qml + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:quick3dinput.pro:<TRUE>: +# MODULE = "3DQuickInput" + +## Scopes: +##################################################################### + +qt_extend_target(3DQuickInput CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/quick3d/quick3drender/CMakeLists.txt b/src/quick3d/quick3drender/CMakeLists.txt new file mode 100644 index 000000000..4e52b3a6a --- /dev/null +++ b/src/quick3d/quick3drender/CMakeLists.txt @@ -0,0 +1,66 @@ +# Generated from quick3drender.pro. + +##################################################################### +## Qt::3DQuickRender Module: +##################################################################### + +qt_add_module(3DQuickRender + SOURCES + items/quick3deffect.cpp items/quick3deffect_p.h + items/quick3dlayerfilter.cpp items/quick3dlayerfilter_p.h + items/quick3dmaterial.cpp items/quick3dmaterial_p.h + items/quick3dmemorybarrier.cpp items/quick3dmemorybarrier_p.h + items/quick3dparameter.cpp items/quick3dparameter_p.h + items/quick3dparameter_p_p.h + items/quick3draycaster.cpp items/quick3draycaster_p.h + items/quick3draycaster_p_p.h + items/quick3drenderpass.cpp items/quick3drenderpass_p.h + items/quick3drenderpassfilter.cpp items/quick3drenderpassfilter_p.h + items/quick3drendertargetoutput.cpp items/quick3drendertargetoutput_p.h + items/quick3drendertargetselector.cpp items/quick3drendertargetselector_p.h + items/quick3dscene.cpp items/quick3dscene_p.h + items/quick3dscreenraycaster.cpp items/quick3dscreenraycaster_p.h + items/quick3dscreenraycaster_p_p.h + items/quick3dshaderdata.cpp items/quick3dshaderdata_p.h + items/quick3dshaderdataarray.cpp items/quick3dshaderdataarray_p.h + items/quick3dstateset.cpp items/quick3dstateset_p.h + items/quick3dtechnique.cpp items/quick3dtechnique_p.h + items/quick3dtechniquefilter.cpp items/quick3dtechniquefilter_p.h + items/quick3dtexture.cpp items/quick3dtexture_p.h + items/quick3dviewport.cpp items/quick3dviewport_p.h + qt3dquickrender_global.cpp qt3dquickrender_global.h qt3dquickrender_global_p.h + qt3dquickrendernodefactory.cpp qt3dquickrendernodefactory_p.h + INCLUDE_DIRECTORIES + items + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + Qt::Qml + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:quick3drender.pro:<TRUE>: +# MODULE = "3DQuickRender" + +## Scopes: +##################################################################### + +qt_extend_target(3DQuickRender CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/quick3d/quick3dscene2d/CMakeLists.txt b/src/quick3d/quick3dscene2d/CMakeLists.txt new file mode 100644 index 000000000..978824897 --- /dev/null +++ b/src/quick3d/quick3dscene2d/CMakeLists.txt @@ -0,0 +1,51 @@ +# Generated from quick3dscene2d.pro. + +##################################################################### +## Qt::3DQuickScene2D Module: +##################################################################### + +qt_add_module(3DQuickScene2D + SOURCES + items/qscene2d.cpp items/qscene2d.h items/qscene2d_p.h + items/qt3dquick3dscene2d.cpp items/qt3dquick3dscene2d_p.h + items/scene2d.cpp items/scene2d_p.h + items/scene2devent_p.h + items/scene2dmanager.cpp items/scene2dmanager_p.h + items/scene2dsharedobject.cpp items/scene2dsharedobject_p.h + qt3dquickscene2d_global.cpp qt3dquickscene2d_global.h qt3dquickscene2d_global_p.h + qt3dquickscene2d_logging.cpp qt3dquickscene2d_logging_p.h + qt3dquickscene2dnodefactory.cpp qt3dquickscene2dnodefactory_p.h + INCLUDE_DIRECTORIES + items + LIBRARIES + Qt::CorePrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Core + Qt::Gui + Qt::Qml + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::QmlPrivate +) + +#### Keys ignored in scope 1:.:.:quick3dscene2d.pro:<TRUE>: +# MODULE = "3dquickscene2d" + +## Scopes: +##################################################################### + +qt_extend_target(3DQuickScene2D CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/src/render/CMakeLists.txt b/src/render/CMakeLists.txt new file mode 100644 index 000000000..793545d7d --- /dev/null +++ b/src/render/CMakeLists.txt @@ -0,0 +1,335 @@ +# Generated from render.pro. + +##################################################################### +## 3drender Module: +##################################################################### + +qt_add_module(3DRender + PLUGIN_TYPES sceneparsers geometryloaders renderplugins renderers + SOURCES + aligned_malloc_p.h + backend/abstractrenderer_p.h + backend/apishadermanager_p.h + backend/attachmentpack.cpp backend/attachmentpack_p.h + backend/backendnode.cpp backend/backendnode_p.h + backend/boundingvolumedebug.cpp backend/boundingvolumedebug_p.h + backend/bufferutils_p.h + backend/buffervisitor_p.h + backend/cameralens.cpp backend/cameralens_p.h + backend/computecommand.cpp backend/computecommand_p.h + backend/entity.cpp backend/entity_p.h + backend/entity_p_p.h + backend/entityaccumulator.cpp backend/entityaccumulator_p.h + backend/entityvisitor.cpp backend/entityvisitor_p.h + backend/handle_types_p.h + backend/layer.cpp backend/layer_p.h + backend/levelofdetail.cpp backend/levelofdetail_p.h + backend/managers.cpp backend/managers_p.h + backend/nodefunctor_p.h + backend/nodemanagers.cpp backend/nodemanagers_p.h + backend/offscreensurfacehelper.cpp backend/offscreensurfacehelper_p.h + backend/parameterpack.cpp backend/parameterpack_p.h + backend/platformsurfacefilter.cpp backend/platformsurfacefilter_p.h + backend/pointsvisitor.cpp backend/pointsvisitor_p.h + backend/rendersettings.cpp backend/rendersettings_p.h + backend/rendertarget.cpp backend/rendertarget_p.h + backend/rendertargetoutput.cpp backend/rendertargetoutput_p.h + backend/renderthread.cpp backend/renderthread_p.h + backend/resourceaccessor.cpp backend/resourceaccessor_p.h + backend/segmentsvisitor.cpp backend/segmentsvisitor_p.h + backend/stringtoint.cpp backend/stringtoint_p.h + backend/transform.cpp backend/transform_p.h + backend/triangleboundingvolume.cpp backend/triangleboundingvolume_p.h + backend/trianglesvisitor.cpp backend/trianglesvisitor_p.h + backend/uniform.cpp backend/uniform_p.h + backend/visitorutils_p.h + framegraph/blitframebuffer.cpp framegraph/blitframebuffer_p.h + framegraph/buffercapture.cpp framegraph/buffercapture_p.h + framegraph/cameraselectornode.cpp framegraph/cameraselectornode_p.h + framegraph/clearbuffers.cpp framegraph/clearbuffers_p.h + framegraph/debugoverlay.cpp framegraph/debugoverlay_p.h + framegraph/dispatchcompute.cpp framegraph/dispatchcompute_p.h + framegraph/framegraphnode.cpp framegraph/framegraphnode_p.h + framegraph/framegraphvisitor.cpp framegraph/framegraphvisitor_p.h + framegraph/frustumculling.cpp framegraph/frustumculling_p.h + framegraph/layerfilternode.cpp framegraph/layerfilternode_p.h + framegraph/memorybarrier.cpp framegraph/memorybarrier_p.h + framegraph/nodraw.cpp framegraph/nodraw_p.h + framegraph/nopicking.cpp framegraph/nopicking_p.h + framegraph/proximityfilter.cpp framegraph/proximityfilter_p.h + framegraph/qblitframebuffer.cpp framegraph/qblitframebuffer.h framegraph/qblitframebuffer_p.h + framegraph/qbuffercapture.cpp framegraph/qbuffercapture.h framegraph/qbuffercapture_p.h + framegraph/qcameraselector.cpp framegraph/qcameraselector.h framegraph/qcameraselector_p.h + framegraph/qclearbuffers.cpp framegraph/qclearbuffers.h framegraph/qclearbuffers_p.h + framegraph/qdebugoverlay.cpp framegraph/qdebugoverlay.h framegraph/qdebugoverlay_p.h + framegraph/qdispatchcompute.cpp framegraph/qdispatchcompute.h framegraph/qdispatchcompute_p.h + framegraph/qframegraphnode.cpp framegraph/qframegraphnode.h framegraph/qframegraphnode_p.h + framegraph/qfrustumculling.cpp framegraph/qfrustumculling.h + framegraph/qlayerfilter.cpp framegraph/qlayerfilter.h framegraph/qlayerfilter_p.h + framegraph/qmemorybarrier.cpp framegraph/qmemorybarrier.h framegraph/qmemorybarrier_p.h + framegraph/qnodraw.cpp framegraph/qnodraw.h + framegraph/qnopicking.cpp framegraph/qnopicking.h + framegraph/qproximityfilter.cpp framegraph/qproximityfilter.h framegraph/qproximityfilter_p.h + framegraph/qrendercapture.cpp framegraph/qrendercapture.h framegraph/qrendercapture_p.h + framegraph/qrenderpassfilter.cpp framegraph/qrenderpassfilter.h framegraph/qrenderpassfilter_p.h + framegraph/qrenderstateset.cpp framegraph/qrenderstateset.h framegraph/qrenderstateset_p.h + framegraph/qrendersurfaceselector.cpp framegraph/qrendersurfaceselector.h framegraph/qrendersurfaceselector_p.h + framegraph/qrendertargetselector.cpp framegraph/qrendertargetselector.h framegraph/qrendertargetselector_p.h + framegraph/qsetfence.cpp framegraph/qsetfence.h framegraph/qsetfence_p.h + framegraph/qsortpolicy.cpp framegraph/qsortpolicy.h framegraph/qsortpolicy_p.h + framegraph/qsubtreeenabler.cpp framegraph/qsubtreeenabler.h framegraph/qsubtreeenabler_p.h + framegraph/qtechniquefilter.cpp framegraph/qtechniquefilter.h framegraph/qtechniquefilter_p.h + framegraph/qviewport.cpp framegraph/qviewport.h framegraph/qviewport_p.h + framegraph/qwaitfence.cpp framegraph/qwaitfence.h framegraph/qwaitfence_p.h + framegraph/rendercapture.cpp framegraph/rendercapture_p.h + framegraph/renderpassfilternode.cpp framegraph/renderpassfilternode_p.h + framegraph/rendersurfaceselector.cpp framegraph/rendersurfaceselector_p.h + framegraph/rendertargetselectornode.cpp framegraph/rendertargetselectornode_p.h + framegraph/setfence.cpp framegraph/setfence_p.h + framegraph/sortpolicy.cpp framegraph/sortpolicy_p.h + framegraph/statesetnode.cpp framegraph/statesetnode_p.h + framegraph/subtreeenabler.cpp framegraph/subtreeenabler_p.h + framegraph/techniquefilternode.cpp framegraph/techniquefilternode_p.h + framegraph/viewportnode.cpp framegraph/viewportnode_p.h + framegraph/waitfence.cpp framegraph/waitfence_p.h + frontend/qcamera.cpp frontend/qcamera.h frontend/qcamera_p.h + frontend/qcameralens.cpp frontend/qcameralens.h frontend/qcameralens_p.h + frontend/qcomputecommand.cpp frontend/qcomputecommand.h frontend/qcomputecommand_p.h + frontend/qlayer.cpp frontend/qlayer.h frontend/qlayer_p.h + frontend/qlevelofdetail.cpp frontend/qlevelofdetail.h frontend/qlevelofdetail_p.h + frontend/qlevelofdetailboundingsphere.cpp frontend/qlevelofdetailboundingsphere.h + frontend/qlevelofdetailswitch.cpp frontend/qlevelofdetailswitch.h frontend/qlevelofdetailswitch_p.h + frontend/qpickingsettings.cpp frontend/qpickingsettings.h frontend/qpickingsettings_p.h + frontend/qrenderapi.h + frontend/qrenderaspect.cpp frontend/qrenderaspect.h frontend/qrenderaspect_p.h + frontend/qrendercapabilities.cpp frontend/qrendercapabilities.h frontend/qrendercapabilities_p.h + frontend/qrenderplugin_p.h + frontend/qrenderpluginfactory.cpp frontend/qrenderpluginfactory_p.h + frontend/qrenderpluginfactoryif.cpp frontend/qrenderpluginfactoryif_p.h + frontend/qrendersettings.cpp frontend/qrendersettings.h frontend/qrendersettings_p.h + frontend/qrendertarget.cpp frontend/qrendertarget.h frontend/qrendertarget_p.h + frontend/qrendertargetoutput.cpp frontend/qrendertargetoutput.h frontend/qrendertargetoutput_p.h + frontend/sphere.cpp frontend/sphere_p.h + geometry/armature.cpp geometry/armature_p.h + geometry/attribute.cpp geometry/attribute_p.h + geometry/buffer.cpp geometry/buffer_p.h + geometry/buffermanager.cpp geometry/buffermanager_p.h + geometry/geometry.cpp geometry/geometry_p.h + geometry/geometryrenderer.cpp geometry/geometryrenderer_p.h + geometry/geometryrenderermanager.cpp geometry/geometryrenderermanager_p.h + geometry/gltfskeletonloader.cpp geometry/gltfskeletonloader_p.h + geometry/joint.cpp geometry/joint_p.h + geometry/pickingproxy.cpp geometry/pickingproxy_p.h + geometry/qgeometryrenderer.cpp geometry/qgeometryrenderer.h geometry/qgeometryrenderer_p.h + geometry/qmesh.cpp geometry/qmesh.h geometry/qmesh_p.h + geometry/qpickingproxy.cpp geometry/qpickingproxy.h geometry/qpickingproxy_p.h + geometry/skeleton.cpp geometry/skeleton_p.h + geometry/skeletondata.cpp geometry/skeletondata_p.h + io/qaxisalignedboundingbox.cpp io/qaxisalignedboundingbox_p.h + io/qgeometryloaderfactory.cpp io/qgeometryloaderfactory_p.h + io/qgeometryloaderinterface_p.h + io/qsceneexporter.cpp io/qsceneexporter_p.h + io/qsceneexportfactory.cpp io/qsceneexportfactory_p.h + io/qsceneexportplugin.cpp io/qsceneexportplugin_p.h + io/qsceneimporter.cpp io/qsceneimporter_p.h + io/qsceneimportfactory.cpp io/qsceneimportfactory_p.h + io/qsceneimportplugin.cpp io/qsceneimportplugin_p.h + io/qsceneloader.cpp io/qsceneloader.h io/qsceneloader_p.h + io/scene.cpp io/scene_p.h + io/scenemanager.cpp io/scenemanager_p.h + jobs/abstractpickingjob.cpp jobs/abstractpickingjob_p.h + jobs/calcboundingvolumejob.cpp jobs/calcboundingvolumejob_p.h + jobs/computefilteredboundingvolumejob.cpp jobs/computefilteredboundingvolumejob_p.h + jobs/expandboundingvolumejob.cpp jobs/expandboundingvolumejob_p.h + jobs/filterentitybycomponentjob_p.h + jobs/filterlayerentityjob.cpp jobs/filterlayerentityjob_p.h + jobs/filterproximitydistancejob.cpp jobs/filterproximitydistancejob_p.h + jobs/framecleanupjob.cpp jobs/framecleanupjob_p.h + jobs/frustumcullingjob.cpp jobs/frustumcullingjob_p.h + jobs/genericlambdajob_p.h + jobs/job_common_p.h + jobs/lightgatherer.cpp jobs/lightgatherer_p.h + jobs/loadgeometryjob.cpp jobs/loadgeometryjob_p.h + jobs/loadscenejob.cpp jobs/loadscenejob_p.h + jobs/loadskeletonjob.cpp jobs/loadskeletonjob_p.h + jobs/pickboundingvolumejob.cpp jobs/pickboundingvolumejob_p.h + jobs/pickboundingvolumeutils.cpp jobs/pickboundingvolumeutils_p.h + jobs/raycastingjob.cpp jobs/raycastingjob_p.h + jobs/sendbuffercapturejob.cpp jobs/sendbuffercapturejob_p.h + jobs/updateentitylayersjob.cpp jobs/updateentitylayersjob_p.h + jobs/updatelevelofdetailjob.cpp jobs/updatelevelofdetailjob_p.h + jobs/updateshaderdatatransformjob.cpp jobs/updateshaderdatatransformjob_p.h + jobs/updateskinningpalettejob.cpp jobs/updateskinningpalettejob_p.h + jobs/updatetreeenabledjob.cpp jobs/updatetreeenabledjob_p.h + jobs/updateworldboundingvolumejob.cpp jobs/updateworldboundingvolumejob_p.h + jobs/updateworldtransformjob.cpp jobs/updateworldtransformjob_p.h + lights/environmentlight.cpp lights/environmentlight_p.h + lights/light.cpp lights/light_p.h + lights/lightsource.cpp lights/lightsource_p.h + lights/qabstractlight.cpp lights/qabstractlight.h lights/qabstractlight_p.h + lights/qdirectionallight.cpp lights/qdirectionallight.h lights/qdirectionallight_p.h + lights/qenvironmentlight.cpp lights/qenvironmentlight.h lights/qenvironmentlight_p.h + lights/qpointlight.cpp lights/qpointlight.h lights/qpointlight_p.h + lights/qspotlight.cpp lights/qspotlight.h lights/qspotlight_p.h + materialsystem/effect.cpp materialsystem/effect_p.h + materialsystem/filterkey.cpp materialsystem/filterkey_p.h + materialsystem/material.cpp materialsystem/material_p.h + materialsystem/parameter.cpp materialsystem/parameter_p.h + materialsystem/qeffect.cpp materialsystem/qeffect.h materialsystem/qeffect_p.h + materialsystem/qfilterkey.cpp materialsystem/qfilterkey.h materialsystem/qfilterkey_p.h + materialsystem/qgraphicsapifilter.cpp materialsystem/qgraphicsapifilter.h materialsystem/qgraphicsapifilter_p.h + materialsystem/qmaterial.cpp materialsystem/qmaterial.h materialsystem/qmaterial_p.h + materialsystem/qparameter.cpp materialsystem/qparameter.h materialsystem/qparameter_p.h + materialsystem/qrenderpass.cpp materialsystem/qrenderpass.h materialsystem/qrenderpass_p.h + materialsystem/qshaderdata.cpp materialsystem/qshaderdata.h materialsystem/qshaderdata_p.h + materialsystem/qshaderimage.cpp materialsystem/qshaderimage.h materialsystem/qshaderimage_p.h + materialsystem/qshaderprogram.cpp materialsystem/qshaderprogram.h materialsystem/qshaderprogram_p.h + materialsystem/qshaderprogrambuilder.cpp materialsystem/qshaderprogrambuilder.h materialsystem/qshaderprogrambuilder_p.h + materialsystem/qtechnique.cpp materialsystem/qtechnique.h materialsystem/qtechnique_p.h + materialsystem/renderpass.cpp materialsystem/renderpass_p.h + materialsystem/shader.cpp materialsystem/shader_p.h + materialsystem/shaderbuilder.cpp materialsystem/shaderbuilder_p.h + materialsystem/shaderdata.cpp materialsystem/shaderdata_p.h + materialsystem/shaderimage.cpp materialsystem/shaderimage_p.h + materialsystem/technique.cpp materialsystem/technique_p.h + materialsystem/techniquemanager.cpp materialsystem/techniquemanager_p.h + picking/objectpicker.cpp picking/objectpicker_p.h + picking/pickeventfilter.cpp picking/pickeventfilter_p.h + picking/qabstractraycaster.cpp picking/qabstractraycaster.h picking/qabstractraycaster_p.h + picking/qobjectpicker.cpp picking/qobjectpicker.h picking/qobjectpicker_p.h + picking/qpickevent.cpp picking/qpickevent.h picking/qpickevent_p.h + picking/qpicklineevent.cpp picking/qpicklineevent.h + picking/qpickpointevent.cpp picking/qpickpointevent.h + picking/qpicktriangleevent.cpp picking/qpicktriangleevent.h picking/qpicktriangleevent_p.h + picking/qraycaster.cpp picking/qraycaster.h + picking/qraycasterhit.cpp picking/qraycasterhit.h + picking/qscreenraycaster.cpp picking/qscreenraycaster.h + picking/raycaster.cpp picking/raycaster_p.h + qrendererplugin.cpp qrendererplugin_p.h + qrendererpluginfactory.cpp qrendererpluginfactory_p.h + qt3drender_global.h qt3drender_global_p.h + raycasting/boundingsphere.cpp raycasting/boundingsphere_p.h + raycasting/qabstractcollisionqueryservice.cpp raycasting/qabstractcollisionqueryservice_p.h + raycasting/qboundingvolume.cpp raycasting/qboundingvolume_p.h + raycasting/qboundingvolumeprovider.cpp raycasting/qboundingvolumeprovider_p.h + raycasting/qcollisionqueryresult.cpp raycasting/qcollisionqueryresult_p.h + raycasting/qray3d.cpp raycasting/qray3d_p.h + raycasting/qraycastingservice.cpp raycasting/qraycastingservice_p.h + renderlogging.cpp renderlogging_p.h + renderstates/genericstate_p.h + renderstates/qalphacoverage.cpp renderstates/qalphacoverage.h + renderstates/qalphatest.cpp renderstates/qalphatest.h renderstates/qalphatest_p.h + renderstates/qblendequation.cpp renderstates/qblendequation.h renderstates/qblendequation_p.h + renderstates/qblendequationarguments.cpp renderstates/qblendequationarguments.h renderstates/qblendequationarguments_p.h + renderstates/qclipplane.cpp renderstates/qclipplane.h renderstates/qclipplane_p.h + renderstates/qcolormask.cpp renderstates/qcolormask.h renderstates/qcolormask_p.h + renderstates/qcullface.cpp renderstates/qcullface.h renderstates/qcullface_p.h + renderstates/qdepthrange.cpp renderstates/qdepthrange.h renderstates/qdepthrange_p.h + renderstates/qdepthtest.cpp renderstates/qdepthtest.h renderstates/qdepthtest_p.h + renderstates/qdithering.cpp renderstates/qdithering.h + renderstates/qfrontface.cpp renderstates/qfrontface.h renderstates/qfrontface_p.h + renderstates/qlinewidth.cpp renderstates/qlinewidth.h renderstates/qlinewidth_p.h + renderstates/qmultisampleantialiasing.cpp renderstates/qmultisampleantialiasing.h + renderstates/qnodepthmask.cpp renderstates/qnodepthmask.h + renderstates/qpointsize.cpp renderstates/qpointsize.h renderstates/qpointsize_p.h + renderstates/qpolygonoffset.cpp renderstates/qpolygonoffset.h renderstates/qpolygonoffset_p.h + renderstates/qrastermode.cpp renderstates/qrastermode.h renderstates/qrastermode_p.h + renderstates/qrenderstate.cpp renderstates/qrenderstate.h renderstates/qrenderstate_p.h + renderstates/qscissortest.cpp renderstates/qscissortest.h renderstates/qscissortest_p.h + renderstates/qseamlesscubemap.cpp renderstates/qseamlesscubemap.h + renderstates/qstencilmask.cpp renderstates/qstencilmask.h renderstates/qstencilmask_p.h + renderstates/qstenciloperation.cpp renderstates/qstenciloperation.h renderstates/qstenciloperation_p.h + renderstates/qstenciloperationarguments.cpp renderstates/qstenciloperationarguments.h renderstates/qstenciloperationarguments_p.h + renderstates/qstenciltest.cpp renderstates/qstenciltest.h renderstates/qstenciltest_p.h + renderstates/qstenciltestarguments.cpp renderstates/qstenciltestarguments.h renderstates/qstenciltestarguments_p.h + renderstates/renderstatenode.cpp renderstates/renderstatenode_p.h + renderstates/renderstates.cpp renderstates/renderstates_p.h + renderstates/renderstateset.cpp renderstates/renderstateset_p.h + renderstates/statemask_p.h + renderstates/statevariant.cpp renderstates/statevariant_p.h + services/vsyncframeadvanceservice.cpp services/vsyncframeadvanceservice_p.h + shadergraph/qshaderformat.cpp shadergraph/qshaderformat_p.h + shadergraph/qshadergenerator.cpp shadergraph/qshadergenerator_p.h + shadergraph/qshadergraph.cpp shadergraph/qshadergraph_p.h + shadergraph/qshadergraphloader.cpp shadergraph/qshadergraphloader_p.h + shadergraph/qshaderlanguage.cpp shadergraph/qshaderlanguage_p.h + shadergraph/qshadernode.cpp shadergraph/qshadernode_p.h + shadergraph/qshadernodeport.cpp shadergraph/qshadernodeport_p.h + shadergraph/qshadernodesloader.cpp shadergraph/qshadernodesloader_p.h + texture/qabstracttexture.cpp texture/qabstracttexture.h texture/qabstracttexture_p.h + texture/qabstracttextureimage.cpp texture/qabstracttextureimage.h texture/qabstracttextureimage_p.h + texture/qpaintedtextureimage.cpp texture/qpaintedtextureimage.h texture/qpaintedtextureimage_p.h + texture/qtexture.cpp texture/qtexture.h texture/qtexture_p.h + texture/qtexturedata.cpp texture/qtexturedata.h + texture/qtexturedataupdate.cpp texture/qtexturedataupdate.h texture/qtexturedataupdate_p.h + texture/qtexturegenerator.cpp texture/qtexturegenerator_p.h + texture/qtextureimage.cpp texture/qtextureimage.h texture/qtextureimage_p.h + texture/qtextureimagedata.cpp texture/qtextureimagedata.h texture/qtextureimagedata_p.h + texture/qtextureimagedatagenerator.h + texture/qtexturewrapmode.cpp texture/qtexturewrapmode.h + texture/texture.cpp texture/texture_p.h + texture/textureimage.cpp texture/textureimage_p.h + DEFINES + BUILD_QT3D_MODULE + INCLUDE_DIRECTORIES + backend + framegraph + frontend + geometry + io + jobs + lights + materialsystem + picking + raycasting + renderstates + services + shadergraph + surfaces + texture + LIBRARIES + Qt::Concurrent + Qt::CorePrivate + PUBLIC_LIBRARIES + Qt::3DCorePrivate + Qt::Core + Qt::OpenGL + PRIVATE_MODULE_INTERFACE + Qt::Concurrent + Qt::CorePrivate +) + +# Resources: +set(materialsystem_resource_files + "prototypes/default.json" +) + +qt_add_resource(3DRender "materialsystem" + PREFIX + "/" + BASE + "materialsystem" + FILES + ${materialsystem_resource_files} +) + + +#### Keys ignored in scope 1:.:.:render.pro:<TRUE>: +# MODULE = "3DRender" + +## Scopes: +##################################################################### + +qt_extend_target(3DRender CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) + +qt_extend_target(3DRender CONDITION QT_FEATURE_vulkan + SOURCES + surfaces/vulkaninstance.cpp surfaces/vulkaninstance_p.h +) diff --git a/src/render/configure.cmake b/src/render/configure.cmake new file mode 100644 index 000000000..47e961f64 --- /dev/null +++ b/src/render/configure.cmake @@ -0,0 +1,30 @@ +#### Inputs + + + +#### Libraries + + + +#### Tests + + + +#### Features + +qt_feature("qt3d_opengl_renderer" PRIVATE + SECTION "Qt 3D Renderers" + LABEL "OpenGL Renderer" + PURPOSE "Use the OpenGL renderer" +) + +qt_feature("qt3d_rhi_renderer" PRIVATE + SECTION "Qt 3D Renderers" + LABEL "RHI Renderer" + PURPOSE "Use the RHI renderer" +) + +qt_configure_add_summary_section(NAME "Qt3D Renderers") +qt_configure_add_summary_entry(ARGS "qt3d_opengl_renderer") +qt_configure_add_summary_entry(ARGS "qt3d_rhi_renderer") +qt_configure_end_summary_section() # end of "Qt3D" section diff --git a/src/render/surfaces/vulkaninstance_p.h b/src/render/surfaces/vulkaninstance_p.h index f46939ce6..14e6e8718 100644 --- a/src/render/surfaces/vulkaninstance_p.h +++ b/src/render/surfaces/vulkaninstance_p.h @@ -40,6 +40,17 @@ #ifndef QT3DRENDER_VULKANINSTANCE_P_H #define QT3DRENDER_VULKANINSTANCE_P_H +// +// W A R N I N G +// ------------- +// +// This file is not part of the Qt API. It exists for the convenience +// of other Qt classes. This header file may change from version to +// version without notice, or even be removed. +// +// We mean it. +// + #include <QtGui/qtguiglobal.h> #include <Qt3DRender/private/qt3drender_global_p.h> QT_BEGIN_NAMESPACE diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 000000000..39afecca3 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,10 @@ +# Generated from tests.pro. + +if(QT_BUILD_STANDALONE_TESTS) + # Add qt_find_package calls for extra dependencies that need to be found when building + # the standalone tests here. +endif() + +qt_build_tests() + +add_subdirectory(manual) # add here since default seems to be to not build them diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt new file mode 100644 index 000000000..0e2b3eff9 --- /dev/null +++ b/tests/auto/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from auto.pro. + +add_subdirectory(core) +#add_subdirectory(cmake) +add_subdirectory(global) +if(QT_FEATURE_qt3d_render) + add_subdirectory(render) + add_subdirectory(geometryloaders) +endif() +if(QT_FEATURE_qt3d_input) + add_subdirectory(input) +endif() +if(QT_FEATURE_qt3d_animation) + add_subdirectory(animation) +endif() +if(QT_FEATURE_qt3d_extras) + add_subdirectory(extras) +endif() +if(QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_render AND TARGET Qt::Quick) + add_subdirectory(quick3d) +endif() diff --git a/tests/auto/animation/CMakeLists.txt b/tests/auto/animation/CMakeLists.txt new file mode 100644 index 000000000..c258acf3d --- /dev/null +++ b/tests/auto/animation/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from animation.pro. + +add_subdirectory(qanimationaspect) +add_subdirectory(qanimationcliploader) +add_subdirectory(qclipanimator) +add_subdirectory(qblendedclipanimator) +add_subdirectory(qchannelmapper) +add_subdirectory(qclipblendvalue) +add_subdirectory(qanimationcontroller) +add_subdirectory(qanimationgroup) +add_subdirectory(qkeyframeanimation) +add_subdirectory(qmorphinganimation) +add_subdirectory(qmorphtarget) +add_subdirectory(qvertexblendanimation) +add_subdirectory(qclock) +add_subdirectory(qskeletonmapping) +add_subdirectory(qcallbackmapping) +if(QT_FEATURE_private_tests) + add_subdirectory(animationclip) + add_subdirectory(fcurve) + add_subdirectory(functionrangefinder) + add_subdirectory(bezierevaluator) + add_subdirectory(clipanimator) + add_subdirectory(blendedclipanimator) + add_subdirectory(channelmapper) + add_subdirectory(channelmapping) + add_subdirectory(qlerpclipblend) + add_subdirectory(clipblendnodemanager) + add_subdirectory(clipblendnode) + add_subdirectory(lerpclipblend) + add_subdirectory(clipblendnodevisitor) + add_subdirectory(qadditiveclipblend) + add_subdirectory(additiveclipblend) + add_subdirectory(clipblendvalue) + add_subdirectory(animationutils) + add_subdirectory(qabstractanimation) + add_subdirectory(clock) + add_subdirectory(skeleton) + add_subdirectory(findrunningclipanimatorsjob) + add_subdirectory(qchannelmapping) +endif() diff --git a/tests/auto/animation/additiveclipblend/CMakeLists.txt b/tests/auto/animation/additiveclipblend/CMakeLists.txt new file mode 100644 index 000000000..216cffdb3 --- /dev/null +++ b/tests/auto/animation/additiveclipblend/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from additiveclipblend.pro. + +##################################################################### +## tst_additiveclipblend Test: +##################################################################### + +qt_add_test(tst_additiveclipblend + SOURCES + tst_additiveclipblend.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:additiveclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_additiveclipblend) diff --git a/tests/auto/animation/animationclip/CMakeLists.txt b/tests/auto/animation/animationclip/CMakeLists.txt new file mode 100644 index 000000000..9bdcf0cd5 --- /dev/null +++ b/tests/auto/animation/animationclip/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from animationclip.pro. + +##################################################################### +## tst_animationclip Test: +##################################################################### + +qt_add_test(tst_animationclip + SOURCES + tst_animationclip.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:animationclip.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_animationclip) diff --git a/tests/auto/animation/animationutils/CMakeLists.txt b/tests/auto/animation/animationutils/CMakeLists.txt new file mode 100644 index 000000000..278b90dcf --- /dev/null +++ b/tests/auto/animation/animationutils/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from animationutils.pro. + +##################################################################### +## tst_animationutils Test: +##################################################################### + +qt_add_test(tst_animationutils + SOURCES + tst_animationutils.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(animationutils_resource_files + "clip1.json" + "clip2.json" + "clip3.json" + "clip4.json" + "clip5.json" + "clip6.json" +) + +qt_add_resource(tst_animationutils "animationutils" + PREFIX + "/" + FILES + ${animationutils_resource_files} +) + + +#### Keys ignored in scope 1:.:.:animationutils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_animationutils) diff --git a/tests/auto/animation/bezierevaluator/CMakeLists.txt b/tests/auto/animation/bezierevaluator/CMakeLists.txt new file mode 100644 index 000000000..a979cb95d --- /dev/null +++ b/tests/auto/animation/bezierevaluator/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from bezierevaluator.pro. + +##################################################################### +## tst_bezierevaluator Test: +##################################################################### + +qt_add_test(tst_bezierevaluator + SOURCES + tst_bezierevaluator.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:bezierevaluator.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/blendedclipanimator/CMakeLists.txt b/tests/auto/animation/blendedclipanimator/CMakeLists.txt new file mode 100644 index 000000000..510cf7ea6 --- /dev/null +++ b/tests/auto/animation/blendedclipanimator/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from blendedclipanimator.pro. + +##################################################################### +## tst_blendedclipanimator Test: +##################################################################### + +qt_add_test(tst_blendedclipanimator + SOURCES + tst_blendedclipanimator.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:blendedclipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_blendedclipanimator) diff --git a/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp b/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp index 6c99579c2..ad42da24d 100644 --- a/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp +++ b/tests/auto/animation/blendedclipanimator/tst_blendedclipanimator.cpp @@ -43,7 +43,6 @@ #include <Qt3DAnimation/qchannelmapper.h> #include <Qt3DAnimation/private/qblendedclipanimator_p.h> #include <Qt3DAnimation/private/blendedclipanimator_p.h> -#include "qbackendnodetester.h" class tst_BlendedClipAnimator : public Qt3DCore::QBackendNodeTester { diff --git a/tests/auto/animation/channelmapper/CMakeLists.txt b/tests/auto/animation/channelmapper/CMakeLists.txt new file mode 100644 index 000000000..fb37a7bab --- /dev/null +++ b/tests/auto/animation/channelmapper/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from channelmapper.pro. + +##################################################################### +## tst_channelmapper Test: +##################################################################### + +qt_add_test(tst_channelmapper + SOURCES + tst_channelmapper.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:channelmapper.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_channelmapper) diff --git a/tests/auto/animation/channelmapping/CMakeLists.txt b/tests/auto/animation/channelmapping/CMakeLists.txt new file mode 100644 index 000000000..06675af06 --- /dev/null +++ b/tests/auto/animation/channelmapping/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from channelmapping.pro. + +##################################################################### +## tst_channelmapping Test: +##################################################################### + +qt_add_test(tst_channelmapping + SOURCES + tst_channelmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:channelmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../core/common/common.cmake) +qt3d_setup_common_test(tst_channelmapping) diff --git a/tests/auto/animation/clipanimator/CMakeLists.txt b/tests/auto/animation/clipanimator/CMakeLists.txt new file mode 100644 index 000000000..4c7d9c2c8 --- /dev/null +++ b/tests/auto/animation/clipanimator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipanimator.pro. + +##################################################################### +## tst_clipanimator Test: +##################################################################### + +qt_add_test(tst_clipanimator + SOURCES + tst_clipanimator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipanimator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendnode/CMakeLists.txt b/tests/auto/animation/clipblendnode/CMakeLists.txt new file mode 100644 index 000000000..394a6e484 --- /dev/null +++ b/tests/auto/animation/clipblendnode/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendnode.pro. + +##################################################################### +## tst_clipblendnode Test: +##################################################################### + +qt_add_test(tst_clipblendnode + SOURCES + tst_clipblendnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendnodemanager/CMakeLists.txt b/tests/auto/animation/clipblendnodemanager/CMakeLists.txt new file mode 100644 index 000000000..0647e66ff --- /dev/null +++ b/tests/auto/animation/clipblendnodemanager/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendnodemanager.pro. + +##################################################################### +## tst_clipblendnodemanager Test: +##################################################################### + +qt_add_test(tst_clipblendnodemanager + SOURCES + tst_clipblendnodemanager.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendnodemanager.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendnodemanager CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendnodevisitor/CMakeLists.txt b/tests/auto/animation/clipblendnodevisitor/CMakeLists.txt new file mode 100644 index 000000000..8c8d73c48 --- /dev/null +++ b/tests/auto/animation/clipblendnodevisitor/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendnodevisitor.pro. + +##################################################################### +## tst_clipblendnodevisitor Test: +##################################################################### + +qt_add_test(tst_clipblendnodevisitor + SOURCES + tst_clipblendnodevisitor.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendnodevisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendnodevisitor CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clipblendvalue/CMakeLists.txt b/tests/auto/animation/clipblendvalue/CMakeLists.txt new file mode 100644 index 000000000..99f6afd34 --- /dev/null +++ b/tests/auto/animation/clipblendvalue/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clipblendvalue.pro. + +##################################################################### +## tst_clipblendvalue Test: +##################################################################### + +qt_add_test(tst_clipblendvalue + SOURCES + tst_clipblendvalue.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clipblendvalue.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clipblendvalue CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/clock/CMakeLists.txt b/tests/auto/animation/clock/CMakeLists.txt new file mode 100644 index 000000000..ca457c32e --- /dev/null +++ b/tests/auto/animation/clock/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from clock.pro. + +##################################################################### +## tst_clock Test: +##################################################################### + +qt_add_test(tst_clock + SOURCES + tst_clock.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:clock.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_clock CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/fcurve/CMakeLists.txt b/tests/auto/animation/fcurve/CMakeLists.txt new file mode 100644 index 000000000..2c33937d1 --- /dev/null +++ b/tests/auto/animation/fcurve/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from fcurve.pro. + +##################################################################### +## tst_fcurve Test: +##################################################################### + +qt_add_test(tst_fcurve + SOURCES + tst_fcurve.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:fcurve.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt b/tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt new file mode 100644 index 000000000..eeaafae0e --- /dev/null +++ b/tests/auto/animation/findrunningclipanimatorsjob/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from findrunningclipanimatorsjob.pro. + +##################################################################### +## tst_findrunningclipanimatorsjob Test: +##################################################################### + +qt_add_test(tst_findrunningclipanimatorsjob + SOURCES + tst_findrunningclipanimatorsjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(findrunningclipanimatorsjob_resource_files + "clip1.json" +) + +qt_add_resource(tst_findrunningclipanimatorsjob "findrunningclipanimatorsjob" + PREFIX + "/" + FILES + ${findrunningclipanimatorsjob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:findrunningclipanimatorsjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_findrunningclipanimatorsjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/functionrangefinder/CMakeLists.txt b/tests/auto/animation/functionrangefinder/CMakeLists.txt new file mode 100644 index 000000000..9e035f0df --- /dev/null +++ b/tests/auto/animation/functionrangefinder/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from functionrangefinder.pro. + +##################################################################### +## tst_sandwichfinder Test: +##################################################################### + +qt_add_test(tst_sandwichfinder + SOURCES + tst_functionrangefinder.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:functionrangefinder.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/lerpclipblend/CMakeLists.txt b/tests/auto/animation/lerpclipblend/CMakeLists.txt new file mode 100644 index 000000000..430bcd202 --- /dev/null +++ b/tests/auto/animation/lerpclipblend/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from lerpclipblend.pro. + +##################################################################### +## tst_lerpclipblend Test: +##################################################################### + +qt_add_test(tst_lerpclipblend + SOURCES + tst_lerpclipblend.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:lerpclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_lerpclipblend CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qabstractanimation/CMakeLists.txt b/tests/auto/animation/qabstractanimation/CMakeLists.txt new file mode 100644 index 000000000..7e6a4b847 --- /dev/null +++ b/tests/auto/animation/qabstractanimation/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qabstractanimation.pro. + +##################################################################### +## tst_qabstractanimation Test: +##################################################################### + +qt_add_test(tst_qabstractanimation + SOURCES + tst_qabstractanimation.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractanimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qadditiveclipblend/CMakeLists.txt b/tests/auto/animation/qadditiveclipblend/CMakeLists.txt new file mode 100644 index 000000000..1d220c566 --- /dev/null +++ b/tests/auto/animation/qadditiveclipblend/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qadditiveclipblend.pro. + +##################################################################### +## tst_qadditiveclipblend Test: +##################################################################### + +qt_add_test(tst_qadditiveclipblend + SOURCES + tst_qadditiveclipblend.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qadditiveclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qadditiveclipblend CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qanimationaspect/CMakeLists.txt b/tests/auto/animation/qanimationaspect/CMakeLists.txt new file mode 100644 index 000000000..0376d9c74 --- /dev/null +++ b/tests/auto/animation/qanimationaspect/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qanimationaspect.pro. + +##################################################################### +## tst_qanimationaspect Test: +##################################################################### + +qt_add_test(tst_qanimationaspect + SOURCES + tst_qanimationaspect.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationaspect.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qanimationcliploader/CMakeLists.txt b/tests/auto/animation/qanimationcliploader/CMakeLists.txt new file mode 100644 index 000000000..72e179601 --- /dev/null +++ b/tests/auto/animation/qanimationcliploader/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qanimationcliploader.pro. + +##################################################################### +## tst_qanimationclip Test: +##################################################################### + +qt_add_test(tst_qanimationclip + SOURCES + tst_qanimationcliploader.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationcliploader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qanimationclip CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qanimationcontroller/CMakeLists.txt b/tests/auto/animation/qanimationcontroller/CMakeLists.txt new file mode 100644 index 000000000..9d22b4b07 --- /dev/null +++ b/tests/auto/animation/qanimationcontroller/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qanimationcontroller.pro. + +##################################################################### +## tst_qanimationcontroller Test: +##################################################################### + +qt_add_test(tst_qanimationcontroller + SOURCES + tst_qanimationcontroller.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationcontroller.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qanimationgroup/CMakeLists.txt b/tests/auto/animation/qanimationgroup/CMakeLists.txt new file mode 100644 index 000000000..04a289b3d --- /dev/null +++ b/tests/auto/animation/qanimationgroup/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qanimationgroup.pro. + +##################################################################### +## tst_qanimationgroup Test: +##################################################################### + +qt_add_test(tst_qanimationgroup + SOURCES + tst_qanimationgroup.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanimationgroup.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qblendedclipanimator/CMakeLists.txt b/tests/auto/animation/qblendedclipanimator/CMakeLists.txt new file mode 100644 index 000000000..c64f09d7e --- /dev/null +++ b/tests/auto/animation/qblendedclipanimator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qblendedclipanimator.pro. + +##################################################################### +## tst_qblendedclipanimator Test: +##################################################################### + +qt_add_test(tst_qblendedclipanimator + SOURCES + tst_qblendedclipanimator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qblendedclipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qblendedclipanimator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qcallbackmapping/CMakeLists.txt b/tests/auto/animation/qcallbackmapping/CMakeLists.txt new file mode 100644 index 000000000..2b43dcdda --- /dev/null +++ b/tests/auto/animation/qcallbackmapping/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qcallbackmapping.pro. + +##################################################################### +## tst_qcallbackmapping Test: +##################################################################### + +qt_add_test(tst_qcallbackmapping + SOURCES + tst_qcallbackmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcallbackmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcallbackmapping CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qchannelmapper/CMakeLists.txt b/tests/auto/animation/qchannelmapper/CMakeLists.txt new file mode 100644 index 000000000..c4b430d48 --- /dev/null +++ b/tests/auto/animation/qchannelmapper/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qchannelmapper.pro. + +##################################################################### +## tst_qchannelmapper Test: +##################################################################### + +qt_add_test(tst_qchannelmapper + SOURCES + tst_qchannelmapper.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qchannelmapper.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qchannelmapper CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qchannelmapping/CMakeLists.txt b/tests/auto/animation/qchannelmapping/CMakeLists.txt new file mode 100644 index 000000000..cb0293056 --- /dev/null +++ b/tests/auto/animation/qchannelmapping/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qchannelmapping.pro. + +##################################################################### +## tst_qchannelmapping Test: +##################################################################### + +qt_add_test(tst_qchannelmapping + SOURCES + tst_qchannelmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qchannelmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qchannelmapping CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qclipanimator/CMakeLists.txt b/tests/auto/animation/qclipanimator/CMakeLists.txt new file mode 100644 index 000000000..1bc3bed21 --- /dev/null +++ b/tests/auto/animation/qclipanimator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclipanimator.pro. + +##################################################################### +## tst_qclipanimator Test: +##################################################################### + +qt_add_test(tst_qclipanimator + SOURCES + tst_qclipanimator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclipanimator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclipanimator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qclipblendvalue/CMakeLists.txt b/tests/auto/animation/qclipblendvalue/CMakeLists.txt new file mode 100644 index 000000000..060f49d3c --- /dev/null +++ b/tests/auto/animation/qclipblendvalue/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclipblendvalue.pro. + +##################################################################### +## tst_qclipblendvalue Test: +##################################################################### + +qt_add_test(tst_qclipblendvalue + SOURCES + tst_qclipblendvalue.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclipblendvalue.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclipblendvalue CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qclock/CMakeLists.txt b/tests/auto/animation/qclock/CMakeLists.txt new file mode 100644 index 000000000..d0792e577 --- /dev/null +++ b/tests/auto/animation/qclock/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclock.pro. + +##################################################################### +## tst_qclock Test: +##################################################################### + +qt_add_test(tst_qclock + SOURCES + tst_qclock.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclock.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclock CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qkeyframeanimation/CMakeLists.txt b/tests/auto/animation/qkeyframeanimation/CMakeLists.txt new file mode 100644 index 000000000..2037c8c99 --- /dev/null +++ b/tests/auto/animation/qkeyframeanimation/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qkeyframeanimation.pro. + +##################################################################### +## tst_qkeyframeanimation Test: +##################################################################### + +qt_add_test(tst_qkeyframeanimation + SOURCES + tst_qkeyframeanimation.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qkeyframeanimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qlerpclipblend/CMakeLists.txt b/tests/auto/animation/qlerpclipblend/CMakeLists.txt new file mode 100644 index 000000000..1fc5a0585 --- /dev/null +++ b/tests/auto/animation/qlerpclipblend/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qlerpclipblend.pro. + +##################################################################### +## tst_qlerpclipblend Test: +##################################################################### + +qt_add_test(tst_qlerpclipblend + SOURCES + tst_qlerpclipblend.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlerpclipblend.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlerpclipblend CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qmorphinganimation/CMakeLists.txt b/tests/auto/animation/qmorphinganimation/CMakeLists.txt new file mode 100644 index 000000000..32078c8b9 --- /dev/null +++ b/tests/auto/animation/qmorphinganimation/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qmorphinganimation.pro. + +##################################################################### +## tst_qmorphinganimation Test: +##################################################################### + +qt_add_test(tst_qmorphinganimation + SOURCES + tst_qmorphinganimation.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmorphinganimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qmorphtarget/CMakeLists.txt b/tests/auto/animation/qmorphtarget/CMakeLists.txt new file mode 100644 index 000000000..dc8c452f2 --- /dev/null +++ b/tests/auto/animation/qmorphtarget/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qmorphtarget.pro. + +##################################################################### +## tst_qmorphtarget Test: +##################################################################### + +qt_add_test(tst_qmorphtarget + SOURCES + tst_qmorphtarget.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmorphtarget.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/qskeletonmapping/CMakeLists.txt b/tests/auto/animation/qskeletonmapping/CMakeLists.txt new file mode 100644 index 000000000..23687dfdd --- /dev/null +++ b/tests/auto/animation/qskeletonmapping/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qskeletonmapping.pro. + +##################################################################### +## tst_qskeletonmapping Test: +##################################################################### + +qt_add_test(tst_qskeletonmapping + SOURCES + tst_qskeletonmapping.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + 3DAnimation + 3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qskeletonmapping.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qskeletonmapping CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/animation/qvertexblendanimation/CMakeLists.txt b/tests/auto/animation/qvertexblendanimation/CMakeLists.txt new file mode 100644 index 000000000..03fd65987 --- /dev/null +++ b/tests/auto/animation/qvertexblendanimation/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qvertexblendanimation.pro. + +##################################################################### +## tst_qvertexblendanimation Test: +##################################################################### + +qt_add_test(tst_qvertexblendanimation + SOURCES + tst_qvertexblendanimation.cpp + PUBLIC_LIBRARIES + 3DAnimation + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qvertexblendanimation.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/animation/skeleton/CMakeLists.txt b/tests/auto/animation/skeleton/CMakeLists.txt new file mode 100644 index 000000000..29c7ab7e3 --- /dev/null +++ b/tests/auto/animation/skeleton/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from skeleton.pro. + +##################################################################### +## tst_skeleton Test: +##################################################################### + +qt_add_test(tst_skeleton + SOURCES + tst_skeleton.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DAnimationPrivate + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:skeleton.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_skeleton CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/core/CMakeLists.txt b/tests/auto/core/CMakeLists.txt new file mode 100644 index 000000000..b5e65e8ff --- /dev/null +++ b/tests/auto/core/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from core.pro. + +add_subdirectory(handle) +add_subdirectory(qresourcemanager) +add_subdirectory(nodes) +add_subdirectory(qaspectengine) +add_subdirectory(qaspectfactory) +add_subdirectory(qaspectjob) +add_subdirectory(qchangearbiter) +add_subdirectory(qscene) +add_subdirectory(qservicelocator) +add_subdirectory(qjoint) +add_subdirectory(qskeletonloader) +add_subdirectory(qskeleton) +add_subdirectory(qarmature) +if(QT_FEATURE_private_tests) + add_subdirectory(qentity) + add_subdirectory(qtransform) + add_subdirectory(threadpooler) + add_subdirectory(vector4d_base) + add_subdirectory(vector3d_base) + add_subdirectory(aspectcommanddebugger) + add_subdirectory(qscheduler) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_simd_sse2) + add_subdirectory(vector4d_sse) + add_subdirectory(vector3d_sse) + add_subdirectory(matrix4x4_sse) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(matrix4x4_avx2) +endif() diff --git a/tests/auto/core/aspectcommanddebugger/CMakeLists.txt b/tests/auto/core/aspectcommanddebugger/CMakeLists.txt new file mode 100644 index 000000000..08ad70bf7 --- /dev/null +++ b/tests/auto/core/aspectcommanddebugger/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from aspectcommanddebugger.pro. + +##################################################################### +## tst_aspectcommandddebugger Test: +##################################################################### + +qt_add_test(tst_aspectcommandddebugger + SOURCES + tst_aspectcommanddebugger.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:aspectcommanddebugger.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/common/common.cmake b/tests/auto/core/common/common.cmake new file mode 100644 index 000000000..43857a65f --- /dev/null +++ b/tests/auto/core/common/common.cmake @@ -0,0 +1,11 @@ +function(qt3d_setup_common_test target) + set(commonDir ${PROJECT_SOURCE_DIR}/tests/auto/core/common) + target_sources(${target} PRIVATE ${commonDir}/qbackendnodetester.h ${commonDir}/qbackendnodetester.cpp) + target_include_directories(${target} PRIVATE ${commonDir}) + +# qt_extend_target(${target} CONDITION QT_FEATURE_private_tests +# SOURCES +# ${commonDir}/qbackendnodetester.cpp ${commonDir}/qbackendnodetester.h +# ${commonDir}/testarbiter.h +# ) +endfunction() diff --git a/tests/auto/core/handle/CMakeLists.txt b/tests/auto/core/handle/CMakeLists.txt new file mode 100644 index 000000000..69f45aad9 --- /dev/null +++ b/tests/auto/core/handle/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from handle.pro. + +##################################################################### +## tst_handle Test: +##################################################################### + +qt_add_test(tst_handle + SOURCES + tst_handle.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:handle.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/matrix4x4_avx2/CMakeLists.txt b/tests/auto/core/matrix4x4_avx2/CMakeLists.txt new file mode 100644 index 000000000..648967283 --- /dev/null +++ b/tests/auto/core/matrix4x4_avx2/CMakeLists.txt @@ -0,0 +1,15 @@ +# Generated from matrix4x4_avx2.pro. + +##################################################################### +## tst_matrix4x4_avx2 Test: +##################################################################### + +qt_add_test(tst_matrix4x4_avx2 + SOURCES + tst_matrix4x4_avx2.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/core/matrix4x4_sse/CMakeLists.txt b/tests/auto/core/matrix4x4_sse/CMakeLists.txt new file mode 100644 index 000000000..8d28bd22c --- /dev/null +++ b/tests/auto/core/matrix4x4_sse/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from matrix4x4_sse.pro. + +##################################################################### +## tst_matrix4x4_sse Test: +##################################################################### + +qt_add_test(tst_matrix4x4_sse + SOURCES + tst_matrix4x4_sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/nodes/CMakeLists.txt b/tests/auto/core/nodes/CMakeLists.txt new file mode 100644 index 000000000..56d375359 --- /dev/null +++ b/tests/auto/core/nodes/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from nodes.pro. + +##################################################################### +## tst_nodes Test: +##################################################################### + +qt_add_test(tst_nodes + SOURCES + tst_nodes.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:nodes.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_nodes CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qarmature/CMakeLists.txt b/tests/auto/core/qarmature/CMakeLists.txt new file mode 100644 index 000000000..aa1989553 --- /dev/null +++ b/tests/auto/core/qarmature/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qarmature.pro. + +##################################################################### +## tst_qarmature Test: +##################################################################### + +qt_add_test(tst_qarmature + SOURCES + tst_qarmature.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qarmature.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qarmature CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qaspectengine/CMakeLists.txt b/tests/auto/core/qaspectengine/CMakeLists.txt new file mode 100644 index 000000000..3ca3a576a --- /dev/null +++ b/tests/auto/core/qaspectengine/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qaspectengine.pro. + +##################################################################### +## tst_qaspectengine Test: +##################################################################### + +qt_add_test(tst_qaspectengine + SOURCES + tst_qaspectengine.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaspectengine.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qaspectfactory/CMakeLists.txt b/tests/auto/core/qaspectfactory/CMakeLists.txt new file mode 100644 index 000000000..b85033cb1 --- /dev/null +++ b/tests/auto/core/qaspectfactory/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qaspectfactory.pro. + +##################################################################### +## tst_qaspectfactory Test: +##################################################################### + +qt_add_test(tst_qaspectfactory + SOURCES + tst_qaspectfactory.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaspectfactory.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qaspectjob/CMakeLists.txt b/tests/auto/core/qaspectjob/CMakeLists.txt new file mode 100644 index 000000000..5ea02f88e --- /dev/null +++ b/tests/auto/core/qaspectjob/CMakeLists.txt @@ -0,0 +1,16 @@ +# Generated from qaspectjob.pro. + +##################################################################### +## tst_qaspectjob Test: +##################################################################### + +qt_add_test(tst_qaspectjob + SOURCES + tst_qaspectjob.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaspectjob.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qchangearbiter/CMakeLists.txt b/tests/auto/core/qchangearbiter/CMakeLists.txt new file mode 100644 index 000000000..ba4569dd2 --- /dev/null +++ b/tests/auto/core/qchangearbiter/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qchangearbiter.pro. + +##################################################################### +## tst_qchangearbiter Test: +##################################################################### + +qt_add_test(tst_qchangearbiter + SOURCES + tst_qchangearbiter.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qchangearbiter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qchangearbiter CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qentity/CMakeLists.txt b/tests/auto/core/qentity/CMakeLists.txt new file mode 100644 index 000000000..e3a3c39b3 --- /dev/null +++ b/tests/auto/core/qentity/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qentity.pro. + +##################################################################### +## tst_qentity Test: +##################################################################### + +qt_add_test(tst_qentity + SOURCES + tst_qentity.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qentity.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qjoint/CMakeLists.txt b/tests/auto/core/qjoint/CMakeLists.txt new file mode 100644 index 000000000..c3b3b7195 --- /dev/null +++ b/tests/auto/core/qjoint/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qjoint.pro. + +##################################################################### +## tst_qjoint Test: +##################################################################### + +qt_add_test(tst_qjoint + SOURCES + tst_qjoint.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qjoint.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qjoint CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qresourcemanager/CMakeLists.txt b/tests/auto/core/qresourcemanager/CMakeLists.txt new file mode 100644 index 000000000..9fbc1c622 --- /dev/null +++ b/tests/auto/core/qresourcemanager/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qresourcemanager.pro. + +##################################################################### +## tst_qresourcemanager Test: +##################################################################### + +qt_add_test(tst_qresourcemanager + SOURCES + tst_qresourcemanager.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qresourcemanager.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp b/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp index 197f4fb71..d95586664 100644 --- a/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp +++ b/tests/auto/core/qresourcemanager/tst_qresourcemanager.cpp @@ -434,13 +434,13 @@ void tst_QResourceManager::checkCleanup() data->m_value.ref(); // THEN - QCOMPARE(data->m_value.load(), 1); + QCOMPARE(data->m_value.loadRelaxed(), 1); // WHEN manager.release(newHandle); // THEN - QCOMPARE(data->m_value.load(), 0); + QCOMPARE(data->m_value.loadRelaxed(), 0); } diff --git a/tests/auto/core/qscene/CMakeLists.txt b/tests/auto/core/qscene/CMakeLists.txt new file mode 100644 index 000000000..581d5705d --- /dev/null +++ b/tests/auto/core/qscene/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qscene.pro. + +##################################################################### +## tst_qscene Test: +##################################################################### + +qt_add_test(tst_qscene + SOURCES + tst_qscene.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscene.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qscene CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qscheduler/CMakeLists.txt b/tests/auto/core/qscheduler/CMakeLists.txt new file mode 100644 index 000000000..7447a8026 --- /dev/null +++ b/tests/auto/core/qscheduler/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qscheduler.pro. + +##################################################################### +## tst_qscheduler Test: +##################################################################### + +qt_add_test(tst_qscheduler + SOURCES + tst_qscheduler.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscheduler.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qservicelocator/CMakeLists.txt b/tests/auto/core/qservicelocator/CMakeLists.txt new file mode 100644 index 000000000..71d48d335 --- /dev/null +++ b/tests/auto/core/qservicelocator/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qservicelocator.pro. + +##################################################################### +## tst_qservicelocator Test: +##################################################################### + +qt_add_test(tst_qservicelocator + SOURCES + tst_qservicelocator.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qservicelocator.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/qskeleton/CMakeLists.txt b/tests/auto/core/qskeleton/CMakeLists.txt new file mode 100644 index 000000000..941c91c6c --- /dev/null +++ b/tests/auto/core/qskeleton/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qskeleton.pro. + +##################################################################### +## tst_qskeleton Test: +##################################################################### + +qt_add_test(tst_qskeleton + SOURCES + tst_qskeleton.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qskeleton.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qskeleton CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qskeletonloader/CMakeLists.txt b/tests/auto/core/qskeletonloader/CMakeLists.txt new file mode 100644 index 000000000..e044349c5 --- /dev/null +++ b/tests/auto/core/qskeletonloader/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qskeletonloader.pro. + +##################################################################### +## tst_qskeletonloader Test: +##################################################################### + +qt_add_test(tst_qskeletonloader + SOURCES + tst_qskeletonloader.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qskeletonloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qskeletonloader CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/qtransform/CMakeLists.txt b/tests/auto/core/qtransform/CMakeLists.txt new file mode 100644 index 000000000..7a8d9441e --- /dev/null +++ b/tests/auto/core/qtransform/CMakeLists.txt @@ -0,0 +1,29 @@ +# Generated from qtransform.pro. + +##################################################################### +## tst_qtransform Test: +##################################################################### + +qt_add_test(tst_qtransform + SOURCES + tst_qtransform.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtransform.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtransform CONDITION QT_FEATURE_private_tests + SOURCES + ../common/qbackendnodetester.cpp ../common/qbackendnodetester.h + ../common/testarbiter.h +) diff --git a/tests/auto/core/threadpooler/CMakeLists.txt b/tests/auto/core/threadpooler/CMakeLists.txt new file mode 100644 index 000000000..d09ef8795 --- /dev/null +++ b/tests/auto/core/threadpooler/CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from threadpooler.pro. + +##################################################################### +## tst_threadpooler Test: +##################################################################### + +qt_add_test(tst_threadpooler + SOURCES + tst_threadpooler.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:threadpooler.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/core/vector3d_base/CMakeLists.txt b/tests/auto/core/vector3d_base/CMakeLists.txt new file mode 100644 index 000000000..83bddc490 --- /dev/null +++ b/tests/auto/core/vector3d_base/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector3d_base.pro. + +##################################################################### +## tst_vector3d_base Test: +##################################################################### + +qt_add_test(tst_vector3d_base + SOURCES + tst_vector3d_base.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/vector3d_sse/CMakeLists.txt b/tests/auto/core/vector3d_sse/CMakeLists.txt new file mode 100644 index 000000000..30818d073 --- /dev/null +++ b/tests/auto/core/vector3d_sse/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector3d_sse.pro. + +##################################################################### +## tst_vector3d_sse Test: +##################################################################### + +qt_add_test(tst_vector3d_sse + SOURCES + tst_vector3d_sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/vector4d_base/CMakeLists.txt b/tests/auto/core/vector4d_base/CMakeLists.txt new file mode 100644 index 000000000..3b514814a --- /dev/null +++ b/tests/auto/core/vector4d_base/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector4d_base.pro. + +##################################################################### +## tst_vector4d_base Test: +##################################################################### + +qt_add_test(tst_vector4d_base + SOURCES + tst_vector4d_base.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/core/vector4d_sse/CMakeLists.txt b/tests/auto/core/vector4d_sse/CMakeLists.txt new file mode 100644 index 000000000..92efad8c3 --- /dev/null +++ b/tests/auto/core/vector4d_sse/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from vector4d_sse.pro. + +##################################################################### +## tst_vector4d_sse Test: +##################################################################### + +qt_add_test(tst_vector4d_sse + SOURCES + tst_vector4d_sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui +) diff --git a/tests/auto/extras/CMakeLists.txt b/tests/auto/extras/CMakeLists.txt new file mode 100644 index 000000000..5f2ec1b51 --- /dev/null +++ b/tests/auto/extras/CMakeLists.txt @@ -0,0 +1,12 @@ +# Generated from extras.pro. + +if(QT_CONFIG___contains___private_tests) + add_subdirectory(qcuboidgeometry) + add_subdirectory(qtorusgeometry) + add_subdirectory(qforwardrenderer) + add_subdirectory(qfirstpersoncameracontroller) + add_subdirectory(qorbitcameracontroller) +endif() +if(TARGET Qt::Quick) + add_subdirectory(qtext2dentity) +endif() diff --git a/tests/auto/extras/qcuboidgeometry/CMakeLists.txt b/tests/auto/extras/qcuboidgeometry/CMakeLists.txt new file mode 100644 index 000000000..97ceb833f --- /dev/null +++ b/tests/auto/extras/qcuboidgeometry/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qcuboidgeometry.pro. + +##################################################################### +## tst_qcuboidgeometry Test: +##################################################################### + +qt_add_test(tst_qcuboidgeometry + SOURCES + ../common/geometrytesthelper.h + tst_qcuboidgeometry.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DExtras + Qt::3DRender + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcuboidgeometry.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt b/tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt new file mode 100644 index 000000000..59c0f5711 --- /dev/null +++ b/tests/auto/extras/qfirstpersoncameracontroller/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qfirstpersoncameracontroller.pro. + +##################################################################### +## tst_qfirstpersoncameracontroller Test: +##################################################################### + +qt_add_test(tst_qfirstpersoncameracontroller + SOURCES + tst_qfirstpersoncameracontroller.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qfirstpersoncameracontroller.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qforwardrenderer/CMakeLists.txt b/tests/auto/extras/qforwardrenderer/CMakeLists.txt new file mode 100644 index 000000000..4159c6709 --- /dev/null +++ b/tests/auto/extras/qforwardrenderer/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qforwardrenderer.pro. + +##################################################################### +## tst_qforwardrenderer Test: +##################################################################### + +qt_add_test(tst_qforwardrenderer + SOURCES + tst_qforwardrenderer.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qforwardrenderer.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qorbitcameracontroller/CMakeLists.txt b/tests/auto/extras/qorbitcameracontroller/CMakeLists.txt new file mode 100644 index 000000000..d68541144 --- /dev/null +++ b/tests/auto/extras/qorbitcameracontroller/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qorbitcameracontroller.pro. + +##################################################################### +## tst_qorbitcameracontroller Test: +##################################################################### + +qt_add_test(tst_qorbitcameracontroller + SOURCES + tst_qorbitcameracontroller.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qorbitcameracontroller.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qtext2dentity/CMakeLists.txt b/tests/auto/extras/qtext2dentity/CMakeLists.txt new file mode 100644 index 000000000..ebc3d628f --- /dev/null +++ b/tests/auto/extras/qtext2dentity/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from qtext2dentity.pro. + +##################################################################### +## tst_qtext2dentity Test: +##################################################################### + +qt_add_test(tst_qtext2dentity + SOURCES + tst_qtext2dentity.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuickExtras + Qt::Gui + Qt::Qml +) + +# Resources: +set(qtext2dentity_resource_files + "qtext2dentity.qml" +) + +qt_add_resource(tst_qtext2dentity "qtext2dentity" + PREFIX + "/" + FILES + ${qtext2dentity_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qtext2dentity.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/extras/qtorusgeometry/CMakeLists.txt b/tests/auto/extras/qtorusgeometry/CMakeLists.txt new file mode 100644 index 000000000..632f15fb7 --- /dev/null +++ b/tests/auto/extras/qtorusgeometry/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qtorusgeometry.pro. + +##################################################################### +## tst_qtorusgeometry Test: +##################################################################### + +qt_add_test(tst_qtorusgeometry + SOURCES + ../common/geometrytesthelper.h + tst_qtorusgeometry.cpp + INCLUDE_DIRECTORIES + ../common + PUBLIC_LIBRARIES + Qt::3DExtras + Qt::3DRender + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtorusgeometry.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/geometryloaders/CMakeLists.txt b/tests/auto/geometryloaders/CMakeLists.txt new file mode 100644 index 000000000..df74bd804 --- /dev/null +++ b/tests/auto/geometryloaders/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from geometryloaders.pro. + +add_subdirectory(objgeometryloader) diff --git a/tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt b/tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt new file mode 100644 index 000000000..1b6ecb5e7 --- /dev/null +++ b/tests/auto/geometryloaders/objgeometryloader/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from objgeometryloader.pro. + +##################################################################### +## tst_objgeometryloader Test: +##################################################################### + +qt_add_test(tst_objgeometryloader + SOURCES + tst_objgeometryloader.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(resources_resource_files + "invalid_vertex_position.obj" +) + +qt_add_resource(tst_objgeometryloader "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) + + +#### Keys ignored in scope 1:.:.:objgeometryloader.pro:<TRUE>: +# OTHER_FILES = "invalid_vertex_position.obj" +# TEMPLATE = "app" diff --git a/tests/auto/global/CMakeLists.txt b/tests/auto/global/CMakeLists.txt new file mode 100644 index 000000000..6aa56b331 --- /dev/null +++ b/tests/auto/global/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from global.pro. + +if(QT_FEATURE_qt3d_extras AND QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_logic AND QT_FEATURE_qt3d_render) + add_subdirectory(aspects_startup_shutdown) +endif() diff --git a/tests/auto/global/aspects_startup_shutdown/CMakeLists.txt b/tests/auto/global/aspects_startup_shutdown/CMakeLists.txt new file mode 100644 index 000000000..4f6d20eac --- /dev/null +++ b/tests/auto/global/aspects_startup_shutdown/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from aspects_startup_shutdown.pro. + +##################################################################### +## tst_aspects_startup_shutdown Test: +##################################################################### + +qt_add_test(tst_aspects_startup_shutdown + SOURCES + tst_aspects_startup_shutdown.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:aspects_startup_shutdown.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/input/CMakeLists.txt b/tests/auto/input/CMakeLists.txt new file mode 100644 index 000000000..6bd7805af --- /dev/null +++ b/tests/auto/input/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from input.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(qaxis) + add_subdirectory(qaction) + add_subdirectory(qactioninput) + add_subdirectory(qabstractaxisinput) + add_subdirectory(qanalogaxisinput) + add_subdirectory(qbuttonaxisinput) + add_subdirectory(qkeyboardhandler) + add_subdirectory(qlogicaldevice) + add_subdirectory(axis) + add_subdirectory(action) + add_subdirectory(abstractaxisinput) + add_subdirectory(actioninput) + add_subdirectory(analogaxisinput) + add_subdirectory(buttonaxisinput) + add_subdirectory(keyboardhandler) + add_subdirectory(qaxisaccumulator) + add_subdirectory(inputsequence) + add_subdirectory(inputchord) + add_subdirectory(qabstractphysicaldevicebackendnode) + add_subdirectory(logicaldevice) + add_subdirectory(qabstractphysicaldeviceproxy) + add_subdirectory(physicaldeviceproxy) + add_subdirectory(loadproxydevicejob) + add_subdirectory(qmousedevice) + add_subdirectory(mousedevice) + add_subdirectory(utils) + add_subdirectory(axisaccumulator) + add_subdirectory(axisaccumulatorjob) + add_subdirectory(qmouseevent) +endif() diff --git a/tests/auto/input/abstractaxisinput/CMakeLists.txt b/tests/auto/input/abstractaxisinput/CMakeLists.txt new file mode 100644 index 000000000..d578024ff --- /dev/null +++ b/tests/auto/input/abstractaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from abstractaxisinput.pro. + +##################################################################### +## tst_abstractaxisinput Test: +##################################################################### + +qt_add_test(tst_abstractaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_abstractaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:abstractaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_abstractaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/action/CMakeLists.txt b/tests/auto/input/action/CMakeLists.txt new file mode 100644 index 000000000..0ac20120d --- /dev/null +++ b/tests/auto/input/action/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from action.pro. + +##################################################################### +## tst_action Test: +##################################################################### + +qt_add_test(tst_action + SOURCES + tst_action.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:action.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_action CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/actioninput/CMakeLists.txt b/tests/auto/input/actioninput/CMakeLists.txt new file mode 100644 index 000000000..174269b6f --- /dev/null +++ b/tests/auto/input/actioninput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from actioninput.pro. + +##################################################################### +## tst_actioninput Test: +##################################################################### + +qt_add_test(tst_actioninput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_actioninput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:actioninput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_actioninput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/analogaxisinput/CMakeLists.txt b/tests/auto/input/analogaxisinput/CMakeLists.txt new file mode 100644 index 000000000..885c0888a --- /dev/null +++ b/tests/auto/input/analogaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from analogaxisinput.pro. + +##################################################################### +## tst_analogaxisinput Test: +##################################################################### + +qt_add_test(tst_analogaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_analogaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:analogaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_analogaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/axis/CMakeLists.txt b/tests/auto/input/axis/CMakeLists.txt new file mode 100644 index 000000000..42ba96de4 --- /dev/null +++ b/tests/auto/input/axis/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from axis.pro. + +##################################################################### +## tst_axis Test: +##################################################################### + +qt_add_test(tst_axis + SOURCES + tst_axis.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:axis.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_axis CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/axisaccumulator/CMakeLists.txt b/tests/auto/input/axisaccumulator/CMakeLists.txt new file mode 100644 index 000000000..77f925afc --- /dev/null +++ b/tests/auto/input/axisaccumulator/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from axisaccumulator.pro. + +##################################################################### +## tst_axisaccumulator Test: +##################################################################### + +qt_add_test(tst_axisaccumulator + SOURCES + tst_axisaccumulator.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:axisaccumulator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_axisaccumulator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/axisaccumulatorjob/CMakeLists.txt b/tests/auto/input/axisaccumulatorjob/CMakeLists.txt new file mode 100644 index 000000000..4bd484ccc --- /dev/null +++ b/tests/auto/input/axisaccumulatorjob/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from axisaccumulatorjob.pro. + +##################################################################### +## tst_axisaccumulatorjob Test: +##################################################################### + +qt_add_test(tst_axisaccumulatorjob + SOURCES + tst_axisaccumulatorjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:axisaccumulatorjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_axisaccumulatorjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/buttonaxisinput/CMakeLists.txt b/tests/auto/input/buttonaxisinput/CMakeLists.txt new file mode 100644 index 000000000..cdc527962 --- /dev/null +++ b/tests/auto/input/buttonaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from buttonaxisinput.pro. + +##################################################################### +## tst_buttonaxisinput Test: +##################################################################### + +qt_add_test(tst_buttonaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_buttonaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:buttonaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_buttonaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/inputchord/CMakeLists.txt b/tests/auto/input/inputchord/CMakeLists.txt new file mode 100644 index 000000000..88eea1452 --- /dev/null +++ b/tests/auto/input/inputchord/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from inputchord.pro. + +##################################################################### +## tst_inputchord Test: +##################################################################### + +qt_add_test(tst_inputchord + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_inputchord.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:inputchord.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_inputchord CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/inputsequence/CMakeLists.txt b/tests/auto/input/inputsequence/CMakeLists.txt new file mode 100644 index 000000000..4a06aee45 --- /dev/null +++ b/tests/auto/input/inputsequence/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from inputsequence.pro. + +##################################################################### +## tst_inputsequence Test: +##################################################################### + +qt_add_test(tst_inputsequence + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_inputsequence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:inputsequence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_inputsequence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/keyboardhandler/CMakeLists.txt b/tests/auto/input/keyboardhandler/CMakeLists.txt new file mode 100644 index 000000000..ff7917e7b --- /dev/null +++ b/tests/auto/input/keyboardhandler/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from keyboardhandler.pro. + +##################################################################### +## tst_keyboardhandler Test: +##################################################################### + +qt_add_test(tst_keyboardhandler + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_keyboardhandler.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:keyboardhandler.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_keyboardhandler CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/loadproxydevicejob/CMakeLists.txt b/tests/auto/input/loadproxydevicejob/CMakeLists.txt new file mode 100644 index 000000000..e212599e8 --- /dev/null +++ b/tests/auto/input/loadproxydevicejob/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from loadproxydevicejob.pro. + +##################################################################### +## tst_loadproxydevicejob Test: +##################################################################### + +qt_add_test(tst_loadproxydevicejob + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_loadproxydevicejob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:loadproxydevicejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_loadproxydevicejob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/logicaldevice/CMakeLists.txt b/tests/auto/input/logicaldevice/CMakeLists.txt new file mode 100644 index 000000000..522050aea --- /dev/null +++ b/tests/auto/input/logicaldevice/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from logicaldevice.pro. + +##################################################################### +## tst_logicaldevice Test: +##################################################################### + +qt_add_test(tst_logicaldevice + SOURCES + tst_logicaldevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:logicaldevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_logicaldevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/mousedevice/CMakeLists.txt b/tests/auto/input/mousedevice/CMakeLists.txt new file mode 100644 index 000000000..7b7cb50e8 --- /dev/null +++ b/tests/auto/input/mousedevice/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from mousedevice.pro. + +##################################################################### +## tst_mousedevice Test: +##################################################################### + +qt_add_test(tst_mousedevice + SOURCES + tst_mousedevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:mousedevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_mousedevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/physicaldeviceproxy/CMakeLists.txt b/tests/auto/input/physicaldeviceproxy/CMakeLists.txt new file mode 100644 index 000000000..286402eda --- /dev/null +++ b/tests/auto/input/physicaldeviceproxy/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from physicaldeviceproxy.pro. + +##################################################################### +## tst_physicaldeviceproxy Test: +##################################################################### + +qt_add_test(tst_physicaldeviceproxy + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_physicaldeviceproxy.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:physicaldeviceproxy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_physicaldeviceproxy CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qabstractaxisinput/CMakeLists.txt b/tests/auto/input/qabstractaxisinput/CMakeLists.txt new file mode 100644 index 000000000..ebb37b24f --- /dev/null +++ b/tests/auto/input/qabstractaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qabstractaxisinput.pro. + +##################################################################### +## tst_qabstractaxisinput Test: +##################################################################### + +qt_add_test(tst_qabstractaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qabstractaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt b/tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt new file mode 100644 index 000000000..35dd298f7 --- /dev/null +++ b/tests/auto/input/qabstractphysicaldevicebackendnode/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qabstractphysicaldevicebackendnode.pro. + +##################################################################### +## tst_qabstractphysicaldevicebackendnode Test: +##################################################################### + +qt_add_test(tst_qabstractphysicaldevicebackendnode + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qabstractphysicaldevicebackendnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractphysicaldevicebackendnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractphysicaldevicebackendnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt b/tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt new file mode 100644 index 000000000..d300c7b5f --- /dev/null +++ b/tests/auto/input/qabstractphysicaldeviceproxy/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qabstractphysicaldeviceproxy.pro. + +##################################################################### +## tst_qabstractphysicaldeviceproxy Test: +##################################################################### + +qt_add_test(tst_qabstractphysicaldeviceproxy + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qabstractphysicaldeviceproxy.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractphysicaldeviceproxy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractphysicaldeviceproxy CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qaction/CMakeLists.txt b/tests/auto/input/qaction/CMakeLists.txt new file mode 100644 index 000000000..067feb91a --- /dev/null +++ b/tests/auto/input/qaction/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qaction.pro. + +##################################################################### +## tst_qaction Test: +##################################################################### + +qt_add_test(tst_qaction + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qaction.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaction.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qaction CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qactioninput/CMakeLists.txt b/tests/auto/input/qactioninput/CMakeLists.txt new file mode 100644 index 000000000..48c84c3e2 --- /dev/null +++ b/tests/auto/input/qactioninput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qactioninput.pro. + +##################################################################### +## tst_qactioninput Test: +##################################################################### + +qt_add_test(tst_qactioninput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qactioninput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qactioninput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qactioninput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qanalogaxisinput/CMakeLists.txt b/tests/auto/input/qanalogaxisinput/CMakeLists.txt new file mode 100644 index 000000000..6561c71e0 --- /dev/null +++ b/tests/auto/input/qanalogaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qanalogaxisinput.pro. + +##################################################################### +## tst_qanalogaxisinput Test: +##################################################################### + +qt_add_test(tst_qanalogaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qanalogaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qanalogaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qanalogaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qaxis/CMakeLists.txt b/tests/auto/input/qaxis/CMakeLists.txt new file mode 100644 index 000000000..6859e514d --- /dev/null +++ b/tests/auto/input/qaxis/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qaxis.pro. + +##################################################################### +## tst_qaxis Test: +##################################################################### + +qt_add_test(tst_qaxis + SOURCES + tst_qaxis.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaxis.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qaxis CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qaxisaccumulator/CMakeLists.txt b/tests/auto/input/qaxisaccumulator/CMakeLists.txt new file mode 100644 index 000000000..11a9f30de --- /dev/null +++ b/tests/auto/input/qaxisaccumulator/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qaxisaccumulator.pro. + +##################################################################### +## tst_qaxisaccumulator Test: +##################################################################### + +qt_add_test(tst_qaxisaccumulator + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qaxisaccumulator.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qaxisaccumulator.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qaxisaccumulator CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qbuttonaxisinput/CMakeLists.txt b/tests/auto/input/qbuttonaxisinput/CMakeLists.txt new file mode 100644 index 000000000..fa95d8afa --- /dev/null +++ b/tests/auto/input/qbuttonaxisinput/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qbuttonaxisinput.pro. + +##################################################################### +## tst_qbuttonaxisinput Test: +##################################################################### + +qt_add_test(tst_qbuttonaxisinput + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qbuttonaxisinput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qbuttonaxisinput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qbuttonaxisinput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qkeyboardhandler/CMakeLists.txt b/tests/auto/input/qkeyboardhandler/CMakeLists.txt new file mode 100644 index 000000000..76330addd --- /dev/null +++ b/tests/auto/input/qkeyboardhandler/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qkeyboardhandler.pro. + +##################################################################### +## tst_qkeyboardhandler Test: +##################################################################### + +qt_add_test(tst_qkeyboardhandler + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qkeyboardhandler.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qkeyboardhandler.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qkeyboardhandler CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qlogicaldevice/CMakeLists.txt b/tests/auto/input/qlogicaldevice/CMakeLists.txt new file mode 100644 index 000000000..7eba59e20 --- /dev/null +++ b/tests/auto/input/qlogicaldevice/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qlogicaldevice.pro. + +##################################################################### +## tst_qlogicaldevice Test: +##################################################################### + +qt_add_test(tst_qlogicaldevice + SOURCES + tst_qlogicaldevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlogicaldevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlogicaldevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qmousedevice/CMakeLists.txt b/tests/auto/input/qmousedevice/CMakeLists.txt new file mode 100644 index 000000000..812ffdfdb --- /dev/null +++ b/tests/auto/input/qmousedevice/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qmousedevice.pro. + +##################################################################### +## tst_qmousedevice Test: +##################################################################### + +qt_add_test(tst_qmousedevice + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qmousedevice.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmousedevice.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmousedevice CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/qmouseevent/CMakeLists.txt b/tests/auto/input/qmouseevent/CMakeLists.txt new file mode 100644 index 000000000..79f76469b --- /dev/null +++ b/tests/auto/input/qmouseevent/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from qmouseevent.pro. + +##################################################################### +## tst_qmouseevent Test: +##################################################################### + +qt_add_test(tst_qmouseevent + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_qmouseevent.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmouseevent.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmouseevent CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/input/utils/CMakeLists.txt b/tests/auto/input/utils/CMakeLists.txt new file mode 100644 index 000000000..1c7d2f77d --- /dev/null +++ b/tests/auto/input/utils/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from utils.pro. + +##################################################################### +## tst_utils Test: +##################################################################### + +qt_add_test(tst_utils + SOURCES + ../commons/testdevice.h + ../commons/testdeviceproxy.h + tst_utils.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DInput + Qt::3DInputPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:utils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_utils CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/quick3d/3dcore/CMakeLists.txt b/tests/auto/quick3d/3dcore/CMakeLists.txt new file mode 100644 index 000000000..adb239788 --- /dev/null +++ b/tests/auto/quick3d/3dcore/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from Qt::3DCore.pro. + +##################################################################### +## tst_import3dcore Test: +##################################################################### + +qt_add_test(tst_import3dcore + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_import3dcore.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set(3dcore_resource_files + "3dcore.qml" +) + +qt_add_resource(tst_import3dcore "Qt::3DCore" + PREFIX + "/" + FILES + ${3dcore_resource_files} +) + + +#### Keys ignored in scope 1:.:.:3dcore.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/3dinput/CMakeLists.txt b/tests/auto/quick3d/3dinput/CMakeLists.txt new file mode 100644 index 000000000..52612a899 --- /dev/null +++ b/tests/auto/quick3d/3dinput/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from 3dinput.pro. + +##################################################################### +## tst_import3dinput Test: +##################################################################### + +qt_add_test(tst_import3dinput + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_import3dinput.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set(3dinput_resource_files + "3dinput.qml" +) + +qt_add_resource(tst_import3dinput "3dinput" + PREFIX + "/" + FILES + ${3dinput_resource_files} +) + + +#### Keys ignored in scope 1:.:.:3dinput.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/3drender/CMakeLists.txt b/tests/auto/quick3d/3drender/CMakeLists.txt new file mode 100644 index 000000000..68196ca4d --- /dev/null +++ b/tests/auto/quick3d/3drender/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from 3drender.pro. + +##################################################################### +## tst_import3drender Test: +##################################################################### + +qt_add_test(tst_import3drender + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_import3drender.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set( 3drender_resource_files + "3drender.qml" +) + +qt_add_resource(tst_import3drender "3drender" + PREFIX + "/" + FILES + ${3drender_resource_files} +) + + +#### Keys ignored in scope 1:.:.:3drender.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/CMakeLists.txt b/tests/auto/quick3d/CMakeLists.txt new file mode 100644 index 000000000..504b7b2e9 --- /dev/null +++ b/tests/auto/quick3d/CMakeLists.txt @@ -0,0 +1,11 @@ +# Generated from quick3d.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(quick3dnodeinstantiator) + add_subdirectory(dynamicnodecreation) + add_subdirectory(3drender) + add_subdirectory(3dinput) + add_subdirectory(3dcore) + add_subdirectory(quick3dbuffer) + add_subdirectory(quick3dnode) +endif() diff --git a/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt b/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt new file mode 100644 index 000000000..a90760be4 --- /dev/null +++ b/tests/auto/quick3d/dynamicnodecreation/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from dynamicnodecreation.pro. + +##################################################################### +## tst_dynamicnodecreation Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_dynamicnodecreation + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_dynamicnodecreation.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:dynamicnodecreation.pro:<TRUE>: +# OTHER_FILES = "data/createDynamicChild.qml" "data/createMultiple.qml" "data/createSingle.qml" "data/inactive.qml" "data/dynamicEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt b/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt new file mode 100644 index 000000000..5c1667ae2 --- /dev/null +++ b/tests/auto/quick3d/quick3dbuffer/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from quick3dbuffer.pro. + +##################################################################### +## tst_quick3dbuffer Test: +##################################################################### + +qt_add_test(tst_quick3dbuffer + SOURCES + tst_quick3dbuffer.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:quick3dbuffer.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/quick3dnode/CMakeLists.txt b/tests/auto/quick3d/quick3dnode/CMakeLists.txt new file mode 100644 index 000000000..520cec50a --- /dev/null +++ b/tests/auto/quick3d/quick3dnode/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from quick3dnode.pro. + +##################################################################### +## tst_quick3dnode Test: +##################################################################### + +qt_add_test(tst_quick3dnode + SOURCES + ../../render/qmlscenereader/qmlscenereader.cpp ../../render/qmlscenereader/qmlscenereader.h + tst_quick3dnode.cpp + INCLUDE_DIRECTORIES + ../../render/qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickRenderPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml +) + +# Resources: +set(quick3dnode_resource_files + "quick3dnodev9.qml" +) + +qt_add_resource(tst_quick3dnode "quick3dnode" + PREFIX + "/" + FILES + ${quick3dnode_resource_files} +) + + +#### Keys ignored in scope 1:.:.:quick3dnode.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt b/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt new file mode 100644 index 000000000..f79d97d2e --- /dev/null +++ b/tests/auto/quick3d/quick3dnodeinstantiator/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from quick3dnodeinstantiator.pro. + +##################################################################### +## tst_qnodeinstantiator Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qnodeinstantiator + SOURCES + ../../shared/util.cpp ../../shared/util.h + stringmodel.h + tst_quick3dnodeinstantiator.cpp + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DQuick + Qt::3DQuickPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:quick3dnodeinstantiator.pro:<TRUE>: +# OTHER_FILES = "data/createAndRemove.qml" "data/createMultiple.qml" "data/createNone.qml" "data/createSingle.qml" "data/createNested.qml" "data/inactive.qml" "data/stringModel.qml" + +## Scopes: +##################################################################### diff --git a/tests/auto/render/CMakeLists.txt b/tests/auto/render/CMakeLists.txt new file mode 100644 index 000000000..3727f0748 --- /dev/null +++ b/tests/auto/render/CMakeLists.txt @@ -0,0 +1,72 @@ +# Generated from render.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(aspect) + add_subdirectory(entity) + add_subdirectory(renderpass) + add_subdirectory(shader) + add_subdirectory(shaderbuilder) + add_subdirectory(texture) + add_subdirectory(material) + add_subdirectory(vsyncframeadvanceservice) +# add_subdirectory(meshfunctors) + add_subdirectory(qattribute) + add_subdirectory(qbuffer) + add_subdirectory(qgeometry) + add_subdirectory(qgeometryrenderer) + add_subdirectory(qlevelofdetail) + add_subdirectory(levelofdetail) + add_subdirectory(buffer) + add_subdirectory(attribute) + add_subdirectory(geometry) + add_subdirectory(geometryrenderer) + add_subdirectory(qcameraselector) + add_subdirectory(qclearbuffers) + add_subdirectory(qframegraphnode) + add_subdirectory(qlayerfilter) + add_subdirectory(qabstractlight) + add_subdirectory(qenvironmentlight) + add_subdirectory(qrenderpassfilter) + add_subdirectory(qrenderstate) + add_subdirectory(qrendertargetselector) + add_subdirectory(qsortpolicy) + add_subdirectory(qrenderstateset) + add_subdirectory(qtechniquefilter) + add_subdirectory(qtextureimagedata) + add_subdirectory(qviewport) + add_subdirectory(framegraphnode) + add_subdirectory(qobjectpicker) + add_subdirectory(objectpicker) +endif() +if(QT_FEATURE_private_tests AND NOT QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(qray3d) + add_subdirectory(raycasting) + add_subdirectory(triangleboundingvolume) +endif() +if(QT_FEATURE_private_tests AND TARGET Qt::Quick) + add_subdirectory(raycastingjob) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_opengl_renderer) + add_subdirectory(opengl) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_extras AND QT_FEATURE_qt3d_opengl_renderer) + add_subdirectory(qmaterial) + add_subdirectory(geometryloaders) + add_subdirectory(picking) + add_subdirectory(gltfplugins) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_extras AND QT_FEATURE_qt3d_opengl_renderer AND TARGET Qt::Quick) + add_subdirectory(boundingsphere) + add_subdirectory(pickboundingvolumejob) + add_subdirectory(updateshaderdatatransformjob) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_input AND QT_FEATURE_qt3d_opengl_renderer AND TARGET Qt::Quick) + add_subdirectory(qscene2d) + add_subdirectory(scene2d) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_opengl_renderer AND QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(alignedresourcesmanagers-avx) +endif() +if(QT_FEATURE_private_tests AND QT_FEATURE_qt3d_opengl_renderer AND QT_FEATURE_qt3d_simd_sse2 AND NOT QT_FEATURE_qt3d_simd_avx2) + add_subdirectory(alignedresourcesmanagers-sse) +endif() diff --git a/tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt b/tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt new file mode 100644 index 000000000..225d0e36f --- /dev/null +++ b/tests/auto/render/alignedresourcesmanagers-avx/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from alignedresourcesmanagers-avx.pro. + +##################################################################### +## tst_alignedresourcesmanagers-avx Test: +##################################################################### + +qt_add_test(tst_alignedresourcesmanagers-avx + SOURCES + tst_alignedresourcesmanagers-avx.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:alignedresourcesmanagers-avx.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt b/tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt new file mode 100644 index 000000000..d83d6b6bd --- /dev/null +++ b/tests/auto/render/alignedresourcesmanagers-sse/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from alignedresourcesmanagers-sse.pro. + +##################################################################### +## tst_alignedresourcesmanagers-avx Test: +##################################################################### + +qt_add_test(tst_alignedresourcesmanagers-avx + SOURCES + tst_alignedresourcesmanagers-sse.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:alignedresourcesmanagers-sse.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/armature/CMakeLists.txt b/tests/auto/render/armature/CMakeLists.txt new file mode 100644 index 000000000..b7a97cd02 --- /dev/null +++ b/tests/auto/render/armature/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from armature.pro. + +##################################################################### +## tst_armature Test: +##################################################################### + +qt_add_test(tst_armature + SOURCES + tst_armature.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:armature.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_armature CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/aspect/CMakeLists.txt b/tests/auto/render/aspect/CMakeLists.txt new file mode 100644 index 000000000..6ed1f2710 --- /dev/null +++ b/tests/auto/render/aspect/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from aspect.pro. + +##################################################################### +## tst_aspect Test: +##################################################################### + +qt_add_test(tst_aspect + SOURCES + tst_aspect.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:aspect.pro:<TRUE>: +# TEMPLATE = "app" + +include(../commons/commons.cmake) +qt3d_setup_common_render_test(tst_aspect USE_TEST_ASPECT) diff --git a/tests/auto/render/attribute/CMakeLists.txt b/tests/auto/render/attribute/CMakeLists.txt new file mode 100644 index 000000000..09c679bae --- /dev/null +++ b/tests/auto/render/attribute/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from attribute.pro. + +##################################################################### +## tst_attribute Test: +##################################################################### + +qt_add_test(tst_attribute + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_attribute.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:attribute.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_attribute CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_attribute CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/blitframebuffer/CMakeLists.txt b/tests/auto/render/blitframebuffer/CMakeLists.txt new file mode 100644 index 000000000..898b2ec48 --- /dev/null +++ b/tests/auto/render/blitframebuffer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from blitframebuffer.pro. + +##################################################################### +## tst_blitframebuffer Test: +##################################################################### + +qt_add_test(tst_blitframebuffer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_blitframebuffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:blitframebuffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_blitframebuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_blitframebuffer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/boundingsphere/CMakeLists.txt b/tests/auto/render/boundingsphere/CMakeLists.txt new file mode 100644 index 000000000..07e8dd1f6 --- /dev/null +++ b/tests/auto/render/boundingsphere/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from boundingsphere.pro. + +##################################################################### +## tst_boundingsphere Test: +##################################################################### + +qt_add_test(tst_boundingsphere + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_boundingsphere.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(boundingsphere_resource_files + "cube.qml" + "sphere.qml" +) + +qt_add_resource(tst_boundingsphere "boundingsphere" + PREFIX + "/" + FILES + ${boundingsphere_resource_files} +) + + +#### Keys ignored in scope 1:.:.:boundingsphere.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_boundingsphere CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_boundingsphere CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/boundingvolumedebug/CMakeLists.txt b/tests/auto/render/boundingvolumedebug/CMakeLists.txt new file mode 100644 index 000000000..e6e4c3a98 --- /dev/null +++ b/tests/auto/render/boundingvolumedebug/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from boundingvolumedebug.pro. + +##################################################################### +## boundingvolumedebug Test: +##################################################################### + +qt_add_test(boundingvolumedebug + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_boundingvolumedebug.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:boundingvolumedebug.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(boundingvolumedebug CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/buffer/CMakeLists.txt b/tests/auto/render/buffer/CMakeLists.txt new file mode 100644 index 000000000..c16a2a57f --- /dev/null +++ b/tests/auto/render/buffer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from buffer.pro. + +##################################################################### +## tst_buffer Test: +##################################################################### + +qt_add_test(tst_buffer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_buffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:buffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_buffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_buffer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/commons/commons.cmake b/tests/auto/render/commons/commons.cmake new file mode 100644 index 000000000..9565c91c7 --- /dev/null +++ b/tests/auto/render/commons/commons.cmake @@ -0,0 +1,14 @@ +include(${PROJECT_SOURCE_DIR}/tests/auto/core/common/common.cmake) + +function(qt3d_setup_common_render_test target) + cmake_parse_arguments(args "USE_TEST_ASPECT" "" "" ${ARGN}) + set(commonDir ${PROJECT_SOURCE_DIR}/tests/auto/core/common) + set(commonsDir ${PROJECT_SOURCE_DIR}/tests/auto/render/commons) + target_sources(${target} PRIVATE ${commonsDir}/testrenderer.h ${commonsDir}/testrenderer.cpp) + if (args_USE_TEST_ASPECT) + target_sources(${target} PRIVATE ${commonsDir}/testaspect.h ${commonsDir}/testaspect.cpp) + endif() + target_include_directories(${target} PRIVATE ${commonsDir}) + + qt3d_setup_common_test(${target}) +endfunction() diff --git a/tests/auto/render/commons/testaspect.h b/tests/auto/render/commons/testaspect.h index 22d0a7172..35cf6534a 100644 --- a/tests/auto/render/commons/testaspect.h +++ b/tests/auto/render/commons/testaspect.h @@ -58,9 +58,9 @@ public: Qt3DRender::Render::NodeManagers *nodeManagers() const; - void onEngineStartup(); - void onRegistered(); - void onUnregistered(); + void onEngineStartup() override; + void onRegistered() override; + void onUnregistered() override; void registerNode(Qt3DCore::QNode *node) { m_frontEndNodes.insert(node->id(), node); } void registerTree(Qt3DCore::QEntity *root) { diff --git a/tests/auto/render/computecommand/CMakeLists.txt b/tests/auto/render/computecommand/CMakeLists.txt new file mode 100644 index 000000000..672109a44 --- /dev/null +++ b/tests/auto/render/computecommand/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from computecommand.pro. + +##################################################################### +## tst_computecommand Test: +##################################################################### + +qt_add_test(tst_computecommand + SOURCES + tst_computecommand.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:computecommand.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_computecommand USE_TEST_ASPECT) diff --git a/tests/auto/render/coordinatereader/CMakeLists.txt b/tests/auto/render/coordinatereader/CMakeLists.txt new file mode 100644 index 000000000..f0ce340c6 --- /dev/null +++ b/tests/auto/render/coordinatereader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from coordinatereader.pro. + +##################################################################### +## coordinatereader Test: +##################################################################### + +qt_add_test(coordinatereader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_coordinatereader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:coordinatereader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(coordinatereader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(coordinatereader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/ddstextures/CMakeLists.txt b/tests/auto/render/ddstextures/CMakeLists.txt new file mode 100644 index 000000000..cbc1084ac --- /dev/null +++ b/tests/auto/render/ddstextures/CMakeLists.txt @@ -0,0 +1,28 @@ +# Generated from ddstextures.pro. + +##################################################################### +## tst_ddstextures Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_ddstextures + SOURCES + tst_ddstextures.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:ddstextures.pro:<TRUE>: +# OTHER_FILES = "data/16x16x1-1-bc1.dds" "data/16x16x1-1-bc1-dx10.dds" "data/16x16x1-1-bc1-nomips.dds" "data/16x16x1-1-bc1-nomips-dx10.dds" "data/16x16x1-1-bc3.dds" "data/16x16x1-1-bc3-dx10.dds" "data/16x16x1-1-bc3-nomips.dds" "data/16x16x1-1-bc3-nomips-dx10.dds" "data/16x16x1-1-lumi.dds" "data/16x16x1-1-lumi-nomips.dds" "data/16x16x1-1-rgb.dds" "data/16x16x1-1-rgb-nomips.dds" "data/16x16x1-6-bc1.dds" "data/16x16x1-6-bc1-dx10.dds" "data/16x16x1-6-bc1-nomips.dds" "data/16x16x1-6-bc1-nomips-dx10.dds" "data/16x16x1-6-bc3.dds" "data/16x16x1-6-bc3-dx10.dds" "data/16x16x1-6-bc3-nomips.dds" "data/16x16x1-6-bc3-nomips-dx10.dds" "data/16x16x1-6-lumi.dds" "data/16x16x1-6-lumi-nomips.dds" "data/16x16x1-6-rgb.dds" "data/16x16x1-6-rgb-nomips.dds" "data/16x16-etc1.pkm" "data/16x16-etc2.pkm" +# TEMPLATE = "app" diff --git a/tests/auto/render/effect/CMakeLists.txt b/tests/auto/render/effect/CMakeLists.txt new file mode 100644 index 000000000..acee32cf3 --- /dev/null +++ b/tests/auto/render/effect/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from effect.pro. + +##################################################################### +## tst_effect Test: +##################################################################### + +qt_add_test(tst_effect + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_effect.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:effect.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_effect CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_effect CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/entity/CMakeLists.txt b/tests/auto/render/entity/CMakeLists.txt new file mode 100644 index 000000000..7ea655cb2 --- /dev/null +++ b/tests/auto/render/entity/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from entity.pro. + +##################################################################### +## tst_entity Test: +##################################################################### + +qt_add_test(tst_entity + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_entity.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:entity.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_entity CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/filterentitybycomponent/CMakeLists.txt b/tests/auto/render/filterentitybycomponent/CMakeLists.txt new file mode 100644 index 000000000..d46b5f71e --- /dev/null +++ b/tests/auto/render/filterentitybycomponent/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from filterentitybycomponent.pro. + +##################################################################### +## tst_filterentitybycomponent Test: +##################################################################### + +qt_add_test(tst_filterentitybycomponent + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_filterentitybycomponent.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:filterentitybycomponent.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_filterentitybycomponent CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/filterkey/CMakeLists.txt b/tests/auto/render/filterkey/CMakeLists.txt new file mode 100644 index 000000000..f274ab509 --- /dev/null +++ b/tests/auto/render/filterkey/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from filterkey.pro. + +##################################################################### +## tst_filterkey Test: +##################################################################### + +qt_add_test(tst_filterkey + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_filterkey.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:filterkey.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_filterkey CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_filterkey CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/framegraphnode/CMakeLists.txt b/tests/auto/render/framegraphnode/CMakeLists.txt new file mode 100644 index 000000000..92ddd7fda --- /dev/null +++ b/tests/auto/render/framegraphnode/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from framegraphnode.pro. + +##################################################################### +## tst_framegraphnode Test: +##################################################################### + +qt_add_test(tst_framegraphnode + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_framegraphnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:framegraphnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_framegraphnode CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_framegraphnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/framegraphvisitor/CMakeLists.txt b/tests/auto/render/framegraphvisitor/CMakeLists.txt new file mode 100644 index 000000000..0f23b49be --- /dev/null +++ b/tests/auto/render/framegraphvisitor/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from framegraphvisitor.pro. + +##################################################################### +## tst_framegraphvisitor Test: +##################################################################### + +qt_add_test(tst_framegraphvisitor + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_framegraphvisitor.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:framegraphvisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_framegraphvisitor CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/genericlambdajob/CMakeLists.txt b/tests/auto/render/genericlambdajob/CMakeLists.txt new file mode 100644 index 000000000..382eae3fa --- /dev/null +++ b/tests/auto/render/genericlambdajob/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from genericlambdajob.pro. + +##################################################################### +## tst_genericlambdajob Test: +##################################################################### + +qt_add_test(tst_genericlambdajob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_genericlambdajob.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:genericlambdajob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_genericlambdajob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/geometry/CMakeLists.txt b/tests/auto/render/geometry/CMakeLists.txt new file mode 100644 index 000000000..2f653a16e --- /dev/null +++ b/tests/auto/render/geometry/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from geometry.pro. + +##################################################################### +## tst_geometry Test: +##################################################################### + +qt_add_test(tst_geometry + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_geometry.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:geometry.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_geometry CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_geometry CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/geometryloaders/CMakeLists.txt b/tests/auto/render/geometryloaders/CMakeLists.txt new file mode 100644 index 000000000..dab7699c9 --- /dev/null +++ b/tests/auto/render/geometryloaders/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from geometryloaders.pro. + +##################################################################### +## tst_geometryloaders Test: +##################################################################### + +qt_add_test(tst_geometryloaders + SOURCES + tst_geometryloaders.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(geometryloaders_resource_files + "cube.fbx" + "cube.gltf" + "cube.obj" + "cube.ply" + "cube.stl" + "cube2.obj" + "cube_buffer.bin" +) + +qt_add_resource(tst_geometryloaders "geometryloaders" + PREFIX + "/" + FILES + ${geometryloaders_resource_files} +) + + +#### Keys ignored in scope 1:.:.:geometryloaders.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/geometryrenderer/CMakeLists.txt b/tests/auto/render/geometryrenderer/CMakeLists.txt new file mode 100644 index 000000000..9b9ac31d8 --- /dev/null +++ b/tests/auto/render/geometryrenderer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from geometryrenderer.pro. + +##################################################################### +## tst_geometryrenderer Test: +##################################################################### + +qt_add_test(tst_geometryrenderer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_geometryrenderer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:geometryrenderer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_geometryrenderer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_geometryrenderer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/gltexture/CMakeLists.txt b/tests/auto/render/gltexture/CMakeLists.txt new file mode 100644 index 000000000..3402c7fe5 --- /dev/null +++ b/tests/auto/render/gltexture/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from gltexture.pro. + +##################################################################### +## tst_gltexture Test: +##################################################################### + +qt_add_test(tst_gltexture + SOURCES + tst_gltexture.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(resources_resource_files + "image.jpg" +) + +qt_add_resource(tst_gltexture "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) + + +#### Keys ignored in scope 1:.:.:gltexture.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/gltfplugins/CMakeLists.txt b/tests/auto/render/gltfplugins/CMakeLists.txt new file mode 100644 index 000000000..fbb6fddec --- /dev/null +++ b/tests/auto/render/gltfplugins/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from gltfplugins.pro. + +##################################################################### +## tst_gltfplugins Test: +##################################################################### + +qt_add_test(tst_gltfplugins + SOURCES + tst_gltfplugins.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +# Resources: +set(images_resource_files + "ontopmaterial.frag" + "ontopmaterial.vert" + "ontopmaterialES2.frag" + "ontopmaterialES2.vert" + "qtlogo.png" + "qtlogo_normal.png" + "qtlogo_specular.png" + "qtlogo_with_alpha.png" +) + +qt_add_resource(tst_gltfplugins "images" + PREFIX + "/" + FILES + ${images_resource_files} +) + + +#### Keys ignored in scope 1:.:.:gltfplugins.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/joint/CMakeLists.txt b/tests/auto/render/joint/CMakeLists.txt new file mode 100644 index 000000000..c70af13df --- /dev/null +++ b/tests/auto/render/joint/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from joint.pro. + +##################################################################### +## tst_joint Test: +##################################################################### + +qt_add_test(tst_joint + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_joint.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:joint.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_joint CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_joint CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/ktxtextures/CMakeLists.txt b/tests/auto/render/ktxtextures/CMakeLists.txt new file mode 100644 index 000000000..4a143a364 --- /dev/null +++ b/tests/auto/render/ktxtextures/CMakeLists.txt @@ -0,0 +1,27 @@ +# Generated from ktxtextures.pro. + +##################################################################### +## tst_ktxtextures Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_ktxtextures + SOURCES + tst_ktxtextures.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:ktxtextures.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/layerfiltering/CMakeLists.txt b/tests/auto/render/layerfiltering/CMakeLists.txt new file mode 100644 index 000000000..f7779eabc --- /dev/null +++ b/tests/auto/render/layerfiltering/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from layerfiltering.pro. + +##################################################################### +## tst_layerfiltering Test: +##################################################################### + +qt_add_test(tst_layerfiltering + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_layerfiltering.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:layerfiltering.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_layerfiltering CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/levelofdetail/CMakeLists.txt b/tests/auto/render/levelofdetail/CMakeLists.txt new file mode 100644 index 000000000..362e001c3 --- /dev/null +++ b/tests/auto/render/levelofdetail/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from levelofdetail.pro. + +##################################################################### +## tst_levelofdetail Test: +##################################################################### + +qt_add_test(tst_levelofdetail + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_levelofdetail.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:levelofdetail.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_levelofdetail CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_levelofdetail CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/loadscenejob/CMakeLists.txt b/tests/auto/render/loadscenejob/CMakeLists.txt new file mode 100644 index 000000000..69164b1a0 --- /dev/null +++ b/tests/auto/render/loadscenejob/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from loadscenejob.pro. + +##################################################################### +## tst_loadscenejob Test: +##################################################################### + +qt_add_test(tst_loadscenejob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_loadscenejob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:loadscenejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_loadscenejob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_loadscenejob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/material/CMakeLists.txt b/tests/auto/render/material/CMakeLists.txt new file mode 100644 index 000000000..25eea6211 --- /dev/null +++ b/tests/auto/render/material/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from material.pro. + +##################################################################### +## tst_material Test: +##################################################################### + +qt_add_test(tst_material + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_material.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:material.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_material CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_material CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/memorybarrier/CMakeLists.txt b/tests/auto/render/memorybarrier/CMakeLists.txt new file mode 100644 index 000000000..91b889a54 --- /dev/null +++ b/tests/auto/render/memorybarrier/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from memorybarrier.pro. + +##################################################################### +## tst_memorybarrier Test: +##################################################################### + +qt_add_test(tst_memorybarrier + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_memorybarrier.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:memorybarrier.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_memorybarrier CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_memorybarrier CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/meshfunctors/CMakeLists.txt b/tests/auto/render/meshfunctors/CMakeLists.txt new file mode 100644 index 000000000..e3bb775ad --- /dev/null +++ b/tests/auto/render/meshfunctors/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from meshfunctors.pro. + +##################################################################### +## tst_renderviews Test: +##################################################################### + +qt_add_test(tst_renderviews + SOURCES + tst_meshfunctors.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:meshfunctors.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/objectpicker/CMakeLists.txt b/tests/auto/render/objectpicker/CMakeLists.txt new file mode 100644 index 000000000..e4dca7dfa --- /dev/null +++ b/tests/auto/render/objectpicker/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from objectpicker.pro. + +##################################################################### +## objectpicker Test: +##################################################################### + +qt_add_test(objectpicker + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_objectpicker.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:objectpicker.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(objectpicker CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(objectpicker CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/opengl/CMakeLists.txt b/tests/auto/render/opengl/CMakeLists.txt new file mode 100644 index 000000000..f77c95aed --- /dev/null +++ b/tests/auto/render/opengl/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from opengl.pro. + +add_subdirectory(filtercompatibletechniquejob) +add_subdirectory(graphicshelpergl3_3) +add_subdirectory(graphicshelpergl3_2) +add_subdirectory(graphicshelpergl2) +add_subdirectory(glshadermanager) +add_subdirectory(textures) +add_subdirectory(renderer) +add_subdirectory(renderviewutils) +add_subdirectory(renderviews) +add_subdirectory(renderqueue) +add_subdirectory(renderviewbuilder) +add_subdirectory(qgraphicsutils) +add_subdirectory(computecommand) +if(TARGET Qt::Quick) + add_subdirectory(materialparametergathererjob) +endif() +if(NOT MACOS) + add_subdirectory(graphicshelpergl4) +endif() diff --git a/tests/auto/render/opengl/computecommand/CMakeLists.txt b/tests/auto/render/opengl/computecommand/CMakeLists.txt new file mode 100644 index 000000000..c76abf6f1 --- /dev/null +++ b/tests/auto/render/opengl/computecommand/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from computecommand.pro. + +##################################################################### +## tst_computecommand Test: +##################################################################### + +qt_add_test(tst_computecommandgl + SOURCES + tst_computecommand.cpp +) + +#### Keys ignored in scope 1:.:.:computecommand.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_computecommandgl USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_computecommandgl) + +qt_extend_target(tst_computecommandgl CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/computecommand/tst_computecommand.cpp b/tests/auto/render/opengl/computecommand/tst_computecommand.cpp index bbe999ce8..4f4f7a1fb 100644 --- a/tests/auto/render/opengl/computecommand/tst_computecommand.cpp +++ b/tests/auto/render/opengl/computecommand/tst_computecommand.cpp @@ -37,10 +37,9 @@ #include <Qt3DCore/private/qaspectmanager_p.h> #include <Qt3DCore/private/qscene_p.h> #include <renderer_p.h> -#include "qbackendnodetester.h" #include "testrenderer.h" #include "testarbiter.h" - +#include "qbackendnodetester.h" // tst_Renderer is a friend class of Renderer class tst_Renderer : public Qt3DRender::Render::OpenGL::Renderer diff --git a/tests/auto/render/opengl/filtercompatibletechniquejob/CMakeLists.txt b/tests/auto/render/opengl/filtercompatibletechniquejob/CMakeLists.txt new file mode 100644 index 000000000..1fa9bee37 --- /dev/null +++ b/tests/auto/render/opengl/filtercompatibletechniquejob/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from filtercompatibletechniquejob.pro. + +##################################################################### +## tst_filtercompatibletechniquejob Test: +##################################################################### + +qt_add_test(tst_filtercompatibletechniquejob + SOURCES + tst_filtercompatibletechniquejob.cpp +) + +#### Keys ignored in scope 1:.:.:filtercompatibletechniquejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_filtercompatibletechniquejob USE_TEST_ASPECT) +qt3d_setup_common_test(tst_filtercompatibletechniquejob) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_filtercompatibletechniquejob) + +qt_extend_target(tst_filtercompatibletechniquejob CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp index e9dae6d97..556d99c3b 100644 --- a/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp +++ b/tests/auto/render/opengl/filtercompatibletechniquejob/tst_filtercompatibletechniquejob.cpp @@ -42,6 +42,8 @@ #include <submissioncontext_p.h> #include <filtercompatibletechniquejob_p.h> +#include "qbackendnodetester.h" + QT_BEGIN_NAMESPACE namespace Qt3DRender { diff --git a/tests/auto/render/opengl/glshadermanager/CMakeLists.txt b/tests/auto/render/opengl/glshadermanager/CMakeLists.txt new file mode 100644 index 000000000..0da95b156 --- /dev/null +++ b/tests/auto/render/opengl/glshadermanager/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from glshadermanager.pro. + +##################################################################### +## tst_glshadermanager Test: +##################################################################### + +qt_add_test(tst_glshadermanager + SOURCES + tst_glshadermanager.cpp +) + +#### Keys ignored in scope 1:.:.:glshadermanager.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_glshadermanager USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_glshadermanager) + +qt_extend_target(tst_glshadermanager CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl2/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl2/CMakeLists.txt new file mode 100644 index 000000000..427321382 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl2/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl2.pro. + +##################################################################### +## tst_graphicshelpergl2 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl2 + SOURCES + tst_graphicshelpergl2.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl2.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl2 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl2) + +qt_extend_target(tst_graphicshelpergl2 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl3_2/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl3_2/CMakeLists.txt new file mode 100644 index 000000000..93a1e5e60 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl3_2/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl3_2.pro. + +##################################################################### +## tst_graphicshelpergl3_2 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl3_2 + SOURCES + tst_graphicshelpergl3_2.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl3_2.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl3_2 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl3_2) + +qt_extend_target(tst_graphicshelpergl3_2 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl3_3/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl3_3/CMakeLists.txt new file mode 100644 index 000000000..028879f40 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl3_3/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl3_3.pro. + +##################################################################### +## tst_graphicshelpergl3_3 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl3_3 + SOURCES + tst_graphicshelpergl3_3.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl3_3.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl3_3 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl3_3) + +qt_extend_target(tst_graphicshelpergl3_3 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/graphicshelpergl4/CMakeLists.txt b/tests/auto/render/opengl/graphicshelpergl4/CMakeLists.txt new file mode 100644 index 000000000..4f466f0f2 --- /dev/null +++ b/tests/auto/render/opengl/graphicshelpergl4/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from graphicshelpergl4.pro. + +##################################################################### +## tst_graphicshelpergl4 Test: +##################################################################### + +qt_add_test(tst_graphicshelpergl4 + SOURCES + tst_graphicshelpergl4.cpp +) + +#### Keys ignored in scope 1:.:.:graphicshelpergl4.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_graphicshelpergl4 USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_graphicshelpergl4) + +qt_extend_target(tst_graphicshelpergl4 CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/materialparametergathererjob/CMakeLists.txt b/tests/auto/render/opengl/materialparametergathererjob/CMakeLists.txt new file mode 100644 index 000000000..dfadad96e --- /dev/null +++ b/tests/auto/render/opengl/materialparametergathererjob/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from materialparametergathererjob.pro. + +##################################################################### +## tst_materialparametergathererjob Test: +##################################################################### + +qt_add_test(tst_materialparametergathererjob + SOURCES + tst_materialparametergathererjob.cpp +) + +#### Keys ignored in scope 1:.:.:materialparametergathererjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_materialparametergathererjob) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_materialparametergathererjob) + +qt_extend_target(tst_materialparametergathererjob CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/qgraphicsutils/CMakeLists.txt b/tests/auto/render/opengl/qgraphicsutils/CMakeLists.txt new file mode 100644 index 000000000..06f00fd5a --- /dev/null +++ b/tests/auto/render/opengl/qgraphicsutils/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from qgraphicsutils.pro. + +##################################################################### +## tst_qgraphicsutils Test: +##################################################################### + +qt_add_test(tst_qgraphicsutils + SOURCES + tst_qgraphicsutils.cpp +) + +#### Keys ignored in scope 1:.:.:qgraphicsutils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_qgraphicsutils) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_qgraphicsutils) + +qt_extend_target(tst_qgraphicsutils CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderer/CMakeLists.txt b/tests/auto/render/opengl/renderer/CMakeLists.txt new file mode 100644 index 000000000..9cac82016 --- /dev/null +++ b/tests/auto/render/opengl/renderer/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from renderer.pro. + +##################################################################### +## tst_renderer Test: +##################################################################### + +qt_add_test(tst_renderer + SOURCES + tst_renderer.cpp +) + +#### Keys ignored in scope 1:.:.:renderer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderer USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderer) + +qt_extend_target(tst_renderer CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) + +qt_extend_target(tst_renderer CONDITION useCommonTestAspect + SOURCES + ../../commons/testaspect.cpp ../../commons/testaspect.h +) diff --git a/tests/auto/render/opengl/renderqueue/CMakeLists.txt b/tests/auto/render/opengl/renderqueue/CMakeLists.txt new file mode 100644 index 000000000..940aa1f65 --- /dev/null +++ b/tests/auto/render/opengl/renderqueue/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderqueue.pro. + +##################################################################### +## tst_renderqueue Test: +##################################################################### + +qt_add_test(tst_renderqueue + SOURCES + tst_renderqueue.cpp +) + +#### Keys ignored in scope 1:.:.:renderqueue.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderqueue USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderqueue) + +qt_extend_target(tst_renderqueue CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderviewbuilder/CMakeLists.txt b/tests/auto/render/opengl/renderviewbuilder/CMakeLists.txt new file mode 100644 index 000000000..1e47584be --- /dev/null +++ b/tests/auto/render/opengl/renderviewbuilder/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderviewbuilder.pro. + +##################################################################### +## tst_renderviewbuilder Test: +##################################################################### + +qt_add_test(tst_renderviewbuilder + SOURCES + tst_renderviewbuilder.cpp +) + +#### Keys ignored in scope 1:.:.:renderviewbuilder.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderviewbuilder) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderviewbuilder) + +qt_extend_target(tst_renderviewbuilder CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp b/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp index f092795e3..8e929e5da 100644 --- a/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp +++ b/tests/auto/render/opengl/renderviewbuilder/tst_renderviewbuilder.cpp @@ -87,10 +87,7 @@ public: }); } - ~TestAspect() - { - QRenderAspect::onUnregistered(); - } + ~TestAspect(); Qt3DRender::Render::NodeManagers *nodeManagers() const { @@ -116,6 +113,11 @@ private: QScopedPointer<Qt3DCore::QAspectJobManager> m_jobManager; }; +TestAspect::~TestAspect() +{ + QRenderAspect::onUnregistered(); +} + } // namespace Qt3DRender QT_END_NAMESPACE @@ -526,8 +528,8 @@ private Q_SLOTS: Qt3DRender::QTechniqueFilter *techniqueFilter = new Qt3DRender::QTechniqueFilter(frustumCulling); Qt3DRender::QRenderPassFilter *renderPassFilter = new Qt3DRender::QRenderPassFilter(techniqueFilter); Qt3DRender::QLayer *layer = new Qt3DRender::QLayer(); - layerFilter->addLayer(layer); + Qt3DRender::TestAspect testAspect(buildSimpleScene(viewport)); // THEN diff --git a/tests/auto/render/opengl/renderviews/CMakeLists.txt b/tests/auto/render/opengl/renderviews/CMakeLists.txt new file mode 100644 index 000000000..4a675c02e --- /dev/null +++ b/tests/auto/render/opengl/renderviews/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderviews.pro. + +##################################################################### +## tst_renderviews Test: +##################################################################### + +qt_add_test(tst_renderviews + SOURCES + tst_renderviews.cpp +) + +#### Keys ignored in scope 1:.:.:renderviews.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderviews USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderviews) + +qt_extend_target(tst_renderviews CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/renderviewutils/CMakeLists.txt b/tests/auto/render/opengl/renderviewutils/CMakeLists.txt new file mode 100644 index 000000000..10cb1e0c7 --- /dev/null +++ b/tests/auto/render/opengl/renderviewutils/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from renderviewutils.pro. + +##################################################################### +## tst_renderviewutils Test: +##################################################################### + +qt_add_test(tst_renderviewutils + SOURCES + tst_renderviewutils.cpp +) + +#### Keys ignored in scope 1:.:.:renderviewutils.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_renderviewutils USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_renderviewutils) + +qt_extend_target(tst_renderviewutils CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/opengl/textures/CMakeLists.txt b/tests/auto/render/opengl/textures/CMakeLists.txt new file mode 100644 index 000000000..59bdc8923 --- /dev/null +++ b/tests/auto/render/opengl/textures/CMakeLists.txt @@ -0,0 +1,30 @@ +# Generated from textures.pro. + +##################################################################### +## tst_textures Test: +##################################################################### + +qt_add_test(tst_textures + SOURCES + tst_textures.cpp +) + +#### Keys ignored in scope 1:.:.:textures.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_textures USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_textures) + +qt_extend_target(tst_textures CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/auto/render/parameter/CMakeLists.txt b/tests/auto/render/parameter/CMakeLists.txt new file mode 100644 index 000000000..57fe863b6 --- /dev/null +++ b/tests/auto/render/parameter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from parameter.pro. + +##################################################################### +## tst_parameter Test: +##################################################################### + +qt_add_test(tst_parameter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_parameter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:parameter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_parameter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_parameter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/pickboundingvolumejob/CMakeLists.txt b/tests/auto/render/pickboundingvolumejob/CMakeLists.txt new file mode 100644 index 000000000..2521850f7 --- /dev/null +++ b/tests/auto/render/pickboundingvolumejob/CMakeLists.txt @@ -0,0 +1,70 @@ +# Generated from pickboundingvolumejob.pro. + +##################################################################### +## tst_pickboundingvolumejob Test: +##################################################################### + +qt_add_test(tst_pickboundingvolumejob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_pickboundingvolumejob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(pickboundingvolumejob_resource_files + "testscene_cameraposition.qml" + "testscene_childentity.qml" + "testscene_dragdisabled.qml" + "testscene_dragenabled.qml" + "testscene_dragenabledhoverenabled.qml" + "testscene_dragenabledoverlapping.qml" + "testscene_improperframegraph.qml" + "testscene_nopicking.qml" + "testscene_parententity.qml" + "testscene_pickersdisabled.qml" + "testscene_priorityoverlapping.qml" + "testscene_viewports.qml" +) + +qt_add_resource(tst_pickboundingvolumejob "pickboundingvolumejob" + PREFIX + "/" + FILES + ${pickboundingvolumejob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:pickboundingvolumejob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_pickboundingvolumejob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_pickboundingvolumejob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/picking/CMakeLists.txt b/tests/auto/render/picking/CMakeLists.txt new file mode 100644 index 000000000..cec82aabc --- /dev/null +++ b/tests/auto/render/picking/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from picking.pro. + +##################################################################### +## tst_picking Test: +##################################################################### + +qt_add_test(tst_picking + SOURCES + tst_picking.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:picking.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/proximityfilter/CMakeLists.txt b/tests/auto/render/proximityfilter/CMakeLists.txt new file mode 100644 index 000000000..aab3248bc --- /dev/null +++ b/tests/auto/render/proximityfilter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from proximityfilter.pro. + +##################################################################### +## tst_proximityfilter Test: +##################################################################### + +qt_add_test(tst_proximityfilter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_proximityfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:proximityfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_proximityfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_proximityfilter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/proximityfiltering/CMakeLists.txt b/tests/auto/render/proximityfiltering/CMakeLists.txt new file mode 100644 index 000000000..b4edb9705 --- /dev/null +++ b/tests/auto/render/proximityfiltering/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from proximityfiltering.pro. + +##################################################################### +## tst_proximityfiltering Test: +##################################################################### + +qt_add_test(tst_proximityfiltering + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_proximityfiltering.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:proximityfiltering.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_proximityfiltering CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qabstractlight/CMakeLists.txt b/tests/auto/render/qabstractlight/CMakeLists.txt new file mode 100644 index 000000000..d5e5f8f1b --- /dev/null +++ b/tests/auto/render/qabstractlight/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qabstractlight.pro. + +##################################################################### +## tst_qabstractlight Test: +##################################################################### + +qt_add_test(tst_qabstractlight + SOURCES + tst_qabstractlight.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstractlight.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstractlight CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qabstracttexture/CMakeLists.txt b/tests/auto/render/qabstracttexture/CMakeLists.txt new file mode 100644 index 000000000..d49db3b7b --- /dev/null +++ b/tests/auto/render/qabstracttexture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qabstracttexture.pro. + +##################################################################### +## tst_qabstracttexture Test: +##################################################################### + +qt_add_test(tst_qabstracttexture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qabstracttexture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstracttexture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstracttexture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qabstracttexture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qabstracttextureimage/CMakeLists.txt b/tests/auto/render/qabstracttextureimage/CMakeLists.txt new file mode 100644 index 000000000..321968ea5 --- /dev/null +++ b/tests/auto/render/qabstracttextureimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qabstracttextureimage.pro. + +##################################################################### +## tst_qabstracttextureimage Test: +##################################################################### + +qt_add_test(tst_qabstracttextureimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qabstracttextureimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qabstracttextureimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qabstracttextureimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qabstracttextureimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qattribute/CMakeLists.txt b/tests/auto/render/qattribute/CMakeLists.txt new file mode 100644 index 000000000..433b14d6f --- /dev/null +++ b/tests/auto/render/qattribute/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qattribute.pro. + +##################################################################### +## tst_qattribute Test: +##################################################################### + +qt_add_test(tst_qattribute + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qattribute.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qattribute.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qattribute CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qattribute CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qblitframebuffer/CMakeLists.txt b/tests/auto/render/qblitframebuffer/CMakeLists.txt new file mode 100644 index 000000000..2ce0fd223 --- /dev/null +++ b/tests/auto/render/qblitframebuffer/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qblitframebuffer.pro. + +##################################################################### +## tst_qblitframebuffer Test: +##################################################################### + +qt_add_test(tst_qblitframebuffer + SOURCES + tst_qblitframebuffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qblitframebuffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qblitframebuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qboundingvolumedebug/CMakeLists.txt b/tests/auto/render/qboundingvolumedebug/CMakeLists.txt new file mode 100644 index 000000000..ae53b2635 --- /dev/null +++ b/tests/auto/render/qboundingvolumedebug/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qboundingvolumedebug.pro. + +##################################################################### +## tst_qboundingvolumedebug Test: +##################################################################### + +qt_add_test(tst_qboundingvolumedebug + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qboundingvolumedebug.cpp + INCLUDE_DIRECTORIES + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qboundingvolumedebug.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qboundingvolumedebug CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qbuffer/CMakeLists.txt b/tests/auto/render/qbuffer/CMakeLists.txt new file mode 100644 index 000000000..1a9fc0d3a --- /dev/null +++ b/tests/auto/render/qbuffer/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qbuffer.pro. + +##################################################################### +## tst_qbuffer Test: +##################################################################### + +qt_add_test(tst_qbuffer + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qbuffer.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qbuffer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qbuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qbuffer CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qcamera/CMakeLists.txt b/tests/auto/render/qcamera/CMakeLists.txt new file mode 100644 index 000000000..b3fd30c6a --- /dev/null +++ b/tests/auto/render/qcamera/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qcamera.pro. + +##################################################################### +## tst_qcamera Test: +##################################################################### + +qt_add_test(tst_qcamera + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qcamera.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcamera.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcamera CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qcamera CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qcameralens/CMakeLists.txt b/tests/auto/render/qcameralens/CMakeLists.txt new file mode 100644 index 000000000..be3eea5f1 --- /dev/null +++ b/tests/auto/render/qcameralens/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qcameralens.pro. + +##################################################################### +## tst_qcameralens Test: +##################################################################### + +qt_add_test(tst_qcameralens + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qcameralens.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcameralens.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcameralens CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qcameralens CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qcameraselector/CMakeLists.txt b/tests/auto/render/qcameraselector/CMakeLists.txt new file mode 100644 index 000000000..8ab124bdd --- /dev/null +++ b/tests/auto/render/qcameraselector/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qcameraselector.pro. + +##################################################################### +## tst_qcameraselector Test: +##################################################################### + +qt_add_test(tst_qcameraselector + SOURCES + tst_qcameraselector.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcameraselector.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcameraselector CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qclearbuffers/CMakeLists.txt b/tests/auto/render/qclearbuffers/CMakeLists.txt new file mode 100644 index 000000000..035b15891 --- /dev/null +++ b/tests/auto/render/qclearbuffers/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qclearbuffers.pro. + +##################################################################### +## tst_qclearbuffer Test: +##################################################################### + +qt_add_test(tst_qclearbuffer + SOURCES + tst_qclearbuffers.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qclearbuffers.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qclearbuffer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qcomputecommand/CMakeLists.txt b/tests/auto/render/qcomputecommand/CMakeLists.txt new file mode 100644 index 000000000..b5db22c1c --- /dev/null +++ b/tests/auto/render/qcomputecommand/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qcomputecommand.pro. + +##################################################################### +## tst_qcomputecommand Test: +##################################################################### + +qt_add_test(tst_qcomputecommand + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qcomputecommand.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qcomputecommand.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qcomputecommand CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qcomputecommand CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qdispatchcompute/CMakeLists.txt b/tests/auto/render/qdispatchcompute/CMakeLists.txt new file mode 100644 index 000000000..7ff7bd115 --- /dev/null +++ b/tests/auto/render/qdispatchcompute/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qdispatchcompute.pro. + +##################################################################### +## tst_qdispatchcompute Test: +##################################################################### + +qt_add_test(tst_qdispatchcompute + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qdispatchcompute.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qdispatchcompute.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qdispatchcompute CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qdispatchcompute CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qeffect/CMakeLists.txt b/tests/auto/render/qeffect/CMakeLists.txt new file mode 100644 index 000000000..129e2c00e --- /dev/null +++ b/tests/auto/render/qeffect/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qeffect.pro. + +##################################################################### +## tst_qeffect Test: +##################################################################### + +qt_add_test(tst_qeffect + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qeffect.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qeffect.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qeffect CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qeffect CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qenvironmentlight/CMakeLists.txt b/tests/auto/render/qenvironmentlight/CMakeLists.txt new file mode 100644 index 000000000..dbcb9b335 --- /dev/null +++ b/tests/auto/render/qenvironmentlight/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qenvironmentlight.pro. + +##################################################################### +## tst_environmentlight Test: +##################################################################### + +qt_add_test(tst_environmentlight + SOURCES + tst_qenvironmentlight.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qenvironmentlight.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_environmentlight CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qfilterkey/CMakeLists.txt b/tests/auto/render/qfilterkey/CMakeLists.txt new file mode 100644 index 000000000..127df2198 --- /dev/null +++ b/tests/auto/render/qfilterkey/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qfilterkey.pro. + +##################################################################### +## tst_qfilterkey Test: +##################################################################### + +qt_add_test(tst_qfilterkey + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qfilterkey.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qfilterkey.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qfilterkey CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qfilterkey CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qframegraphnode/CMakeLists.txt b/tests/auto/render/qframegraphnode/CMakeLists.txt new file mode 100644 index 000000000..41648fccb --- /dev/null +++ b/tests/auto/render/qframegraphnode/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qframegraphnode.pro. + +##################################################################### +## tst_qframegraphnode Test: +##################################################################### + +qt_add_test(tst_qframegraphnode + SOURCES + tst_qframegraphnode.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qframegraphnode.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qframegraphnode CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qgeometry/CMakeLists.txt b/tests/auto/render/qgeometry/CMakeLists.txt new file mode 100644 index 000000000..04aaa7844 --- /dev/null +++ b/tests/auto/render/qgeometry/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qgeometry.pro. + +##################################################################### +## tst_qgeometry Test: +##################################################################### + +qt_add_test(tst_qgeometry + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qgeometry.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgeometry.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qgeometry CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qgeometry CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qgeometryrenderer/CMakeLists.txt b/tests/auto/render/qgeometryrenderer/CMakeLists.txt new file mode 100644 index 000000000..679077d36 --- /dev/null +++ b/tests/auto/render/qgeometryrenderer/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qgeometryrenderer.pro. + +##################################################################### +## tst_qgeometryrenderer Test: +##################################################################### + +qt_add_test(tst_qgeometryrenderer + SOURCES + tst_qgeometryrenderer.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgeometryrenderer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qgeometryrenderer CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qgraphicsapifilter/CMakeLists.txt b/tests/auto/render/qgraphicsapifilter/CMakeLists.txt new file mode 100644 index 000000000..58df5f53a --- /dev/null +++ b/tests/auto/render/qgraphicsapifilter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qgraphicsapifilter.pro. + +##################################################################### +## tst_qgraphicsapifilter Test: +##################################################################### + +qt_add_test(tst_qgraphicsapifilter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qgraphicsapifilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgraphicsapifilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qgraphicsapifilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qgraphicsapifilter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qlayerfilter/CMakeLists.txt b/tests/auto/render/qlayerfilter/CMakeLists.txt new file mode 100644 index 000000000..b0261ba79 --- /dev/null +++ b/tests/auto/render/qlayerfilter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qlayerfilter.pro. + +##################################################################### +## tst_qlayerfilter Test: +##################################################################### + +qt_add_test(tst_qlayerfilter + SOURCES + tst_qlayerfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlayerfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlayerfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qlevelofdetail/CMakeLists.txt b/tests/auto/render/qlevelofdetail/CMakeLists.txt new file mode 100644 index 000000000..0ffe45bf6 --- /dev/null +++ b/tests/auto/render/qlevelofdetail/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qlevelofdetail.pro. + +##################################################################### +## tst_qlevelofdetail Test: +##################################################################### + +qt_add_test(tst_qlevelofdetail + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qlevelofdetail.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qlevelofdetail.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qlevelofdetail CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qlevelofdetail CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qmaterial/CMakeLists.txt b/tests/auto/render/qmaterial/CMakeLists.txt new file mode 100644 index 000000000..c9ee72ea8 --- /dev/null +++ b/tests/auto/render/qmaterial/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from qmaterial.pro. + +##################################################################### +## tst_qmaterial Test: +##################################################################### + +qt_add_test(tst_qmaterial + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qmaterial.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmaterial.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmaterial CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qmaterial CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qmemorybarrier/CMakeLists.txt b/tests/auto/render/qmemorybarrier/CMakeLists.txt new file mode 100644 index 000000000..dccc01dc6 --- /dev/null +++ b/tests/auto/render/qmemorybarrier/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qmemorybarrier.pro. + +##################################################################### +## tst_qmemorybarrier Test: +##################################################################### + +qt_add_test(tst_qmemorybarrier + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qmemorybarrier.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmemorybarrier.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmemorybarrier CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qmemorybarrier CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qmesh/CMakeLists.txt b/tests/auto/render/qmesh/CMakeLists.txt new file mode 100644 index 000000000..7e652efa0 --- /dev/null +++ b/tests/auto/render/qmesh/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qmesh.pro. + +##################################################################### +## tst_qmesh Test: +##################################################################### + +qt_add_test(tst_qmesh + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qmesh.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qmesh.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qmesh CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qmesh CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qobjectpicker/CMakeLists.txt b/tests/auto/render/qobjectpicker/CMakeLists.txt new file mode 100644 index 000000000..22a7db7e9 --- /dev/null +++ b/tests/auto/render/qobjectpicker/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qobjectpicker.pro. + +##################################################################### +## tst_qobjectpicker Test: +##################################################################### + +qt_add_test(tst_qobjectpicker + SOURCES + tst_qobjectpicker.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qobjectpicker.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qobjectpicker CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qparameter/CMakeLists.txt b/tests/auto/render/qparameter/CMakeLists.txt new file mode 100644 index 000000000..bae7324e8 --- /dev/null +++ b/tests/auto/render/qparameter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qparameter.pro. + +##################################################################### +## tst_qparameter Test: +##################################################################### + +qt_add_test(tst_qparameter + SOURCES + tst_qparameter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qparameter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qparameter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qproximityfilter/CMakeLists.txt b/tests/auto/render/qproximityfilter/CMakeLists.txt new file mode 100644 index 000000000..c477edf57 --- /dev/null +++ b/tests/auto/render/qproximityfilter/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qproximityfilter.pro. + +##################################################################### +## tst_qproximityfilter Test: +##################################################################### + +qt_add_test(tst_qproximityfilter + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qproximityfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qproximityfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qproximityfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qproximityfilter CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qray3d/CMakeLists.txt b/tests/auto/render/qray3d/CMakeLists.txt new file mode 100644 index 000000000..ac917e75a --- /dev/null +++ b/tests/auto/render/qray3d/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qray3d.pro. + +##################################################################### +## tst_qray3d Test: +##################################################################### + +qt_add_test(tst_qray3d + SOURCES + tst_qray3d.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qray3d.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/qraycaster/CMakeLists.txt b/tests/auto/render/qraycaster/CMakeLists.txt new file mode 100644 index 000000000..70b4622b7 --- /dev/null +++ b/tests/auto/render/qraycaster/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qraycaster.pro. + +##################################################################### +## tst_qraycaster Test: +##################################################################### + +qt_add_test(tst_qraycaster + SOURCES + tst_qraycaster.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qraycaster.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qraycaster CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrendercapture/CMakeLists.txt b/tests/auto/render/qrendercapture/CMakeLists.txt new file mode 100644 index 000000000..86a0ae7b1 --- /dev/null +++ b/tests/auto/render/qrendercapture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendercapture.pro. + +##################################################################### +## tst_qrendercapture Test: +##################################################################### + +qt_add_test(tst_qrendercapture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendercapture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendercapture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendercapture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_qrendercapture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrenderpass/CMakeLists.txt b/tests/auto/render/qrenderpass/CMakeLists.txt new file mode 100644 index 000000000..84af1cdb4 --- /dev/null +++ b/tests/auto/render/qrenderpass/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrenderpass.pro. + +##################################################################### +## tst_qrenderpass Test: +##################################################################### + +qt_add_test(tst_qrenderpass + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrenderpass.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderpass.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderpass CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrenderpass CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrenderpassfilter/CMakeLists.txt b/tests/auto/render/qrenderpassfilter/CMakeLists.txt new file mode 100644 index 000000000..2fe7a55b3 --- /dev/null +++ b/tests/auto/render/qrenderpassfilter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qrenderpassfilter.pro. + +##################################################################### +## tst_qrenderpassfilter Test: +##################################################################### + +qt_add_test(tst_qrenderpassfilter + SOURCES + tst_qrenderpassfilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderpassfilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderpassfilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrendersettings/CMakeLists.txt b/tests/auto/render/qrendersettings/CMakeLists.txt new file mode 100644 index 000000000..39883a70b --- /dev/null +++ b/tests/auto/render/qrendersettings/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendersettings.pro. + +##################################################################### +## tst_qrendersettings Test: +##################################################################### + +qt_add_test(tst_qrendersettings + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendersettings.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendersettings.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendersettings CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendersettings CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrenderstate/CMakeLists.txt b/tests/auto/render/qrenderstate/CMakeLists.txt new file mode 100644 index 000000000..249a6a84f --- /dev/null +++ b/tests/auto/render/qrenderstate/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrenderstate.pro. + +##################################################################### +## tst_qrenderstate Test: +##################################################################### + +qt_add_test(tst_qrenderstate + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrenderstate.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderstate.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderstate CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrenderstate CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrenderstateset/CMakeLists.txt b/tests/auto/render/qrenderstateset/CMakeLists.txt new file mode 100644 index 000000000..f6572f404 --- /dev/null +++ b/tests/auto/render/qrenderstateset/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qrenderstateset.pro. + +##################################################################### +## tst_qrenderstateset Test: +##################################################################### + +qt_add_test(tst_qrenderstateset + SOURCES + tst_qrenderstateset.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrenderstateset.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrenderstateset CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qrendersurfaceselector/CMakeLists.txt b/tests/auto/render/qrendersurfaceselector/CMakeLists.txt new file mode 100644 index 000000000..45e167be4 --- /dev/null +++ b/tests/auto/render/qrendersurfaceselector/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendersurfaceselector.pro. + +##################################################################### +## tst_qrendersurfaceselector Test: +##################################################################### + +qt_add_test(tst_qrendersurfaceselector + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendersurfaceselector.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendersurfaceselector.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendersurfaceselector CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendersurfaceselector CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrendertarget/CMakeLists.txt b/tests/auto/render/qrendertarget/CMakeLists.txt new file mode 100644 index 000000000..0a482e3a4 --- /dev/null +++ b/tests/auto/render/qrendertarget/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendertarget.pro. + +##################################################################### +## tst_qrendertarget Test: +##################################################################### + +qt_add_test(tst_qrendertarget + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendertarget.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendertarget.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendertarget CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendertarget CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrendertargetoutput/CMakeLists.txt b/tests/auto/render/qrendertargetoutput/CMakeLists.txt new file mode 100644 index 000000000..296edcd3c --- /dev/null +++ b/tests/auto/render/qrendertargetoutput/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qrendertargetoutput.pro. + +##################################################################### +## tst_qrendertargetoutput Test: +##################################################################### + +qt_add_test(tst_qrendertargetoutput + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qrendertargetoutput.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendertargetoutput.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendertargetoutput CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qrendertargetoutput CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qrendertargetselector/CMakeLists.txt b/tests/auto/render/qrendertargetselector/CMakeLists.txt new file mode 100644 index 000000000..1a444110c --- /dev/null +++ b/tests/auto/render/qrendertargetselector/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qrendertargetselector.pro. + +##################################################################### +## tst_qrendertargetselector Test: +##################################################################### + +qt_add_test(tst_qrendertargetselector + SOURCES + tst_qrendertargetselector.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qrendertargetselector.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qrendertargetselector CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qscene2d/CMakeLists.txt b/tests/auto/render/qscene2d/CMakeLists.txt new file mode 100644 index 000000000..acb5fc9fc --- /dev/null +++ b/tests/auto/render/qscene2d/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from qscene2d.pro. + +##################################################################### +## qscene2d Test: +##################################################################### + +qt_add_test(qscene2d + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qscene2d.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuickScene2D + Qt::3DQuickScene2DPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscene2d.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(qscene2d CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(qscene2d CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qsceneloader/CMakeLists.txt b/tests/auto/render/qsceneloader/CMakeLists.txt new file mode 100644 index 000000000..f5c01de44 --- /dev/null +++ b/tests/auto/render/qsceneloader/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qsceneloader.pro. + +##################################################################### +## tst_qsceneloader Test: +##################################################################### + +qt_add_test(tst_qsceneloader + SOURCES + tst_qsceneloader.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsceneloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsceneloader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qscreenraycaster/CMakeLists.txt b/tests/auto/render/qscreenraycaster/CMakeLists.txt new file mode 100644 index 000000000..e43686da3 --- /dev/null +++ b/tests/auto/render/qscreenraycaster/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qscreenraycaster.pro. + +##################################################################### +## tst_qscreenraycaster Test: +##################################################################### + +qt_add_test(tst_qscreenraycaster + SOURCES + tst_qscreenraycaster.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qscreenraycaster.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qscreenraycaster CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qsetfence/CMakeLists.txt b/tests/auto/render/qsetfence/CMakeLists.txt new file mode 100644 index 000000000..37ed87cf2 --- /dev/null +++ b/tests/auto/render/qsetfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qsetfence.pro. + +##################################################################### +## tst_qsetfence Test: +##################################################################### + +qt_add_test(tst_qsetfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qsetfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsetfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsetfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qsetfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qshaderimage/CMakeLists.txt b/tests/auto/render/qshaderimage/CMakeLists.txt new file mode 100644 index 000000000..5ec561e00 --- /dev/null +++ b/tests/auto/render/qshaderimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qshaderimage.pro. + +##################################################################### +## tst_qshaderimage Test: +##################################################################### + +qt_add_test(tst_qshaderimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qshaderimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qshaderimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qshaderimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qshaderimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qshaderprogram/CMakeLists.txt b/tests/auto/render/qshaderprogram/CMakeLists.txt new file mode 100644 index 000000000..86e95094e --- /dev/null +++ b/tests/auto/render/qshaderprogram/CMakeLists.txt @@ -0,0 +1,53 @@ +# Generated from qshaderprogram.pro. + +##################################################################### +## tst_qshaderprogram Test: +##################################################################### + +qt_add_test(tst_qshaderprogram + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qshaderprogram.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(shaders_resource_files + "included.frag" + "main.frag" + "mainabsolute.frag" +) + +qt_add_resource(tst_qshaderprogram "shaders" + PREFIX + "/" + FILES + ${shaders_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qshaderprogram.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qshaderprogram CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qshaderprogram CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qshaderprogrambuilder/CMakeLists.txt b/tests/auto/render/qshaderprogrambuilder/CMakeLists.txt new file mode 100644 index 000000000..41388c687 --- /dev/null +++ b/tests/auto/render/qshaderprogrambuilder/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qshaderprogrambuilder.pro. + +##################################################################### +## tst_qshaderprogrambuilder Test: +##################################################################### + +qt_add_test(tst_qshaderprogrambuilder + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qshaderprogrambuilder.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qshaderprogrambuilder.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qshaderprogrambuilder CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qshaderprogrambuilder CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qsharedgltexture/CMakeLists.txt b/tests/auto/render/qsharedgltexture/CMakeLists.txt new file mode 100644 index 000000000..c87840e7f --- /dev/null +++ b/tests/auto/render/qsharedgltexture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qsharedgltexture.pro. + +##################################################################### +## tst_qsharedgltexture Test: +##################################################################### + +qt_add_test(tst_qsharedgltexture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qsharedgltexture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsharedgltexture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsharedgltexture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qsharedgltexture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qsortpolicy/CMakeLists.txt b/tests/auto/render/qsortpolicy/CMakeLists.txt new file mode 100644 index 000000000..a91e1642f --- /dev/null +++ b/tests/auto/render/qsortpolicy/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qsortpolicy.pro. + +##################################################################### +## tst_qsortmethod Test: +##################################################################### + +qt_add_test(tst_qsortmethod + SOURCES + tst_qsortpolicy.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qsortpolicy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qsortmethod CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qtechnique/CMakeLists.txt b/tests/auto/render/qtechnique/CMakeLists.txt new file mode 100644 index 000000000..025c2524c --- /dev/null +++ b/tests/auto/render/qtechnique/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qtechnique.pro. + +##################################################################### +## tst_qtechnique Test: +##################################################################### + +qt_add_test(tst_qtechnique + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qtechnique.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtechnique.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtechnique CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qtechnique CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qtechniquefilter/CMakeLists.txt b/tests/auto/render/qtechniquefilter/CMakeLists.txt new file mode 100644 index 000000000..2c0bc9841 --- /dev/null +++ b/tests/auto/render/qtechniquefilter/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qtechniquefilter.pro. + +##################################################################### +## tst_qtechniquefilter Test: +##################################################################### + +qt_add_test(tst_qtechniquefilter + SOURCES + tst_qtechniquefilter.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtechniquefilter.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtechniquefilter CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qtexturedataupdate/CMakeLists.txt b/tests/auto/render/qtexturedataupdate/CMakeLists.txt new file mode 100644 index 000000000..3b66d7990 --- /dev/null +++ b/tests/auto/render/qtexturedataupdate/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from qtexturedataupdate.pro. + +##################################################################### +## tst_qtexturedataupdate Test: +##################################################################### + +qt_add_test(tst_qtexturedataupdate + SOURCES + tst_qtexturedataupdate.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtexturedataupdate.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/qtextureimage/CMakeLists.txt b/tests/auto/render/qtextureimage/CMakeLists.txt new file mode 100644 index 000000000..151ff61ed --- /dev/null +++ b/tests/auto/render/qtextureimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qtextureimage.pro. + +##################################################################### +## tst_qtextureimage Test: +##################################################################### + +qt_add_test(tst_qtextureimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qtextureimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextureimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtextureimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qtextureimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qtextureimagedata/CMakeLists.txt b/tests/auto/render/qtextureimagedata/CMakeLists.txt new file mode 100644 index 000000000..97ae69fd4 --- /dev/null +++ b/tests/auto/render/qtextureimagedata/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qtextureimagedata.pro. + +##################################################################### +## tst_qtextureimagedata Test: +##################################################################### + +qt_add_test(tst_qtextureimagedata + SOURCES + tst_qtextureimagedata.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextureimagedata.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtextureimagedata CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qtextureloader/CMakeLists.txt b/tests/auto/render/qtextureloader/CMakeLists.txt new file mode 100644 index 000000000..c0ade791c --- /dev/null +++ b/tests/auto/render/qtextureloader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qtextureloader.pro. + +##################################################################### +## tst_qtextureloader Test: +##################################################################### + +qt_add_test(tst_qtextureloader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qtextureloader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qtextureloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qtextureloader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qtextureloader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/qviewport/CMakeLists.txt b/tests/auto/render/qviewport/CMakeLists.txt new file mode 100644 index 000000000..79456f6dc --- /dev/null +++ b/tests/auto/render/qviewport/CMakeLists.txt @@ -0,0 +1,31 @@ +# Generated from qviewport.pro. + +##################################################################### +## tst_qviewport Test: +##################################################################### + +qt_add_test(tst_qviewport + SOURCES + tst_qviewport.cpp + INCLUDE_DIRECTORIES + ../../core/common + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qviewport.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qviewport CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/qwaitfence/CMakeLists.txt b/tests/auto/render/qwaitfence/CMakeLists.txt new file mode 100644 index 000000000..ec07022c0 --- /dev/null +++ b/tests/auto/render/qwaitfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from qwaitfence.pro. + +##################################################################### +## tst_qwaitfence Test: +##################################################################### + +qt_add_test(tst_qwaitfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_qwaitfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qwaitfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qwaitfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_qwaitfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/raycaster/CMakeLists.txt b/tests/auto/render/raycaster/CMakeLists.txt new file mode 100644 index 000000000..2925f511a --- /dev/null +++ b/tests/auto/render/raycaster/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from raycaster.pro. + +##################################################################### +## raycaster Test: +##################################################################### + +qt_add_test(raycaster + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_raycaster.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:raycaster.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(raycaster CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(raycaster CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/raycasting/CMakeLists.txt b/tests/auto/render/raycasting/CMakeLists.txt new file mode 100644 index 000000000..9d45d1208 --- /dev/null +++ b/tests/auto/render/raycasting/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from raycasting.pro. + +##################################################################### +## tst_raycasting Test: +##################################################################### + +qt_add_test(tst_raycasting + SOURCES + tst_raycasting.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:raycasting.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/raycastingjob/CMakeLists.txt b/tests/auto/render/raycastingjob/CMakeLists.txt new file mode 100644 index 000000000..f407cd8e9 --- /dev/null +++ b/tests/auto/render/raycastingjob/CMakeLists.txt @@ -0,0 +1,63 @@ +# Generated from raycastingjob.pro. + +##################################################################### +## tst_raycastingjob Test: +##################################################################### + +qt_add_test(tst_raycastingjob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_raycastingjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(raycastingjob_resource_files + "testscene_screenraycasting.qml" + "testscene_worldraycasting.qml" + "testscene_worldraycastingalllayers.qml" + "testscene_worldraycastinglayer.qml" + "testscene_worldraycastingparentlayer.qml" +) + +qt_add_resource(tst_raycastingjob "raycastingjob" + PREFIX + "/" + FILES + ${raycastingjob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:raycastingjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_raycastingjob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) + +qt_extend_target(tst_raycastingjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) diff --git a/tests/auto/render/raycastingjob/tst_raycastingjob.cpp b/tests/auto/render/raycastingjob/tst_raycastingjob.cpp index 5c8a1d76f..93b4e6f78 100644 --- a/tests/auto/render/raycastingjob/tst_raycastingjob.cpp +++ b/tests/auto/render/raycastingjob/tst_raycastingjob.cpp @@ -149,8 +149,8 @@ public: m_engine = nullptr; } - void onRegistered() { QRenderAspect::onRegistered(); } - void onUnregistered() { QRenderAspect::onUnregistered(); } + void onRegistered() override { QRenderAspect::onRegistered(); } + void onUnregistered() override { QRenderAspect::onUnregistered(); } Qt3DRender::Render::NodeManagers *nodeManagers() const { return d_func()->m_renderer->nodeManagers(); } Qt3DRender::Render::FrameGraphNode *frameGraphRoot() const { return d_func()->m_renderer->frameGraphRoot(); } diff --git a/tests/auto/render/rendercapture/CMakeLists.txt b/tests/auto/render/rendercapture/CMakeLists.txt new file mode 100644 index 000000000..89c8f1d01 --- /dev/null +++ b/tests/auto/render/rendercapture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from rendercapture.pro. + +##################################################################### +## rendercapture Test: +##################################################################### + +qt_add_test(rendercapture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_rendercapture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:rendercapture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(rendercapture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(rendercapture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/renderpass/CMakeLists.txt b/tests/auto/render/renderpass/CMakeLists.txt new file mode 100644 index 000000000..1e5eddab6 --- /dev/null +++ b/tests/auto/render/renderpass/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from renderpass.pro. + +##################################################################### +## tst_renderpass Test: +##################################################################### + +qt_add_test(tst_renderpass + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_renderpass.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:renderpass.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_renderpass CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_renderpass CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/rendertarget/CMakeLists.txt b/tests/auto/render/rendertarget/CMakeLists.txt new file mode 100644 index 000000000..83184fe81 --- /dev/null +++ b/tests/auto/render/rendertarget/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from rendertarget.pro. + +##################################################################### +## tst_rendertarget Test: +##################################################################### + +qt_add_test(tst_rendertarget + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_rendertarget.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:rendertarget.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_rendertarget CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_rendertarget CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/scene2d/CMakeLists.txt b/tests/auto/render/scene2d/CMakeLists.txt new file mode 100644 index 000000000..ad7d357d3 --- /dev/null +++ b/tests/auto/render/scene2d/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from scene2d.pro. + +##################################################################### +## tst_scene2d Test: +##################################################################### + +qt_add_test(tst_scene2d + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_scene2d.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DQuickScene2D + Qt::3DQuickScene2DPrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:scene2d.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_scene2d CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_scene2d CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/sceneloader/CMakeLists.txt b/tests/auto/render/sceneloader/CMakeLists.txt new file mode 100644 index 000000000..b49fb4d25 --- /dev/null +++ b/tests/auto/render/sceneloader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from sceneloader.pro. + +##################################################################### +## tst_sceneloader Test: +##################################################################### + +qt_add_test(tst_sceneloader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_sceneloader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:sceneloader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_sceneloader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_sceneloader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/segmentvisitor/CMakeLists.txt b/tests/auto/render/segmentvisitor/CMakeLists.txt new file mode 100644 index 000000000..927321bbb --- /dev/null +++ b/tests/auto/render/segmentvisitor/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from segmentvisitor.pro. + +##################################################################### +## segmentvisitor Test: +##################################################################### + +qt_add_test(segmentvisitor + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_segmentvisitor.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:segmentvisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(segmentvisitor CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(segmentvisitor CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/setfence/CMakeLists.txt b/tests/auto/render/setfence/CMakeLists.txt new file mode 100644 index 000000000..021258f3b --- /dev/null +++ b/tests/auto/render/setfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from setfence.pro. + +##################################################################### +## tst_setfence Test: +##################################################################### + +qt_add_test(tst_setfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_setfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:setfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_setfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_setfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/shader/CMakeLists.txt b/tests/auto/render/shader/CMakeLists.txt new file mode 100644 index 000000000..6704991e5 --- /dev/null +++ b/tests/auto/render/shader/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from shader.pro. + +##################################################################### +## tst_shader Test: +##################################################################### + +qt_add_test(tst_shader + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_shader.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:shader.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_shader CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_shader CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/shaderbuilder/CMakeLists.txt b/tests/auto/render/shaderbuilder/CMakeLists.txt new file mode 100644 index 000000000..dbd77de2c --- /dev/null +++ b/tests/auto/render/shaderbuilder/CMakeLists.txt @@ -0,0 +1,56 @@ +# Generated from shaderbuilder.pro. + +##################################################################### +## tst_shaderbuilder Test: +##################################################################### + +qt_add_test(tst_shaderbuilder + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_shaderbuilder.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +# Resources: +set(shaderbuilder_resource_files + "input.json" + "lightmodel.es2.inc" + "lightmodel.gl3.inc" + "output.es2" + "output.gl3" + "prototypes.json" +) + +qt_add_resource(tst_shaderbuilder "shaderbuilder" + PREFIX + "/" + FILES + ${shaderbuilder_resource_files} +) + + +#### Keys ignored in scope 1:.:.:shaderbuilder.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_shaderbuilder CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_shaderbuilder CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/shadergraph/CMakeLists.txt b/tests/auto/render/shadergraph/CMakeLists.txt new file mode 100644 index 000000000..36789d1ec --- /dev/null +++ b/tests/auto/render/shadergraph/CMakeLists.txt @@ -0,0 +1,9 @@ +# Generated from shadergraph.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(qshadergenerator) + add_subdirectory(qshadergraph) + add_subdirectory(qshadergraphloader) + add_subdirectory(qshadernodes) + add_subdirectory(qshadernodesloader) +endif() diff --git a/tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt b/tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt new file mode 100644 index 000000000..dec233cc9 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadergenerator/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadergenerator.pro. + +##################################################################### +## tst_qshadergenerator Test: +##################################################################### + +qt_add_test(tst_qshadergenerator + SOURCES + tst_qshadergenerator.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt b/tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt new file mode 100644 index 000000000..55a56daf3 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadergraph/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadergraph.pro. + +##################################################################### +## tst_qshadergraph Test: +##################################################################### + +qt_add_test(tst_qshadergraph + SOURCES + tst_qshadergraph.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt b/tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt new file mode 100644 index 000000000..2a817770d --- /dev/null +++ b/tests/auto/render/shadergraph/qshadergraphloader/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadergraphloader.pro. + +##################################################################### +## tst_qshadergraphloader Test: +##################################################################### + +qt_add_test(tst_qshadergraphloader + SOURCES + tst_qshadergraphloader.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt b/tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt new file mode 100644 index 000000000..056f7d910 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadernodes/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadernodes.pro. + +##################################################################### +## tst_qshadernodes Test: +##################################################################### + +qt_add_test(tst_qshadernodes + SOURCES + tst_qshadernodes.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt b/tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt new file mode 100644 index 000000000..e258735f8 --- /dev/null +++ b/tests/auto/render/shadergraph/qshadernodesloader/CMakeLists.txt @@ -0,0 +1,13 @@ +# Generated from qshadernodesloader.pro. + +##################################################################### +## tst_qshadernodesloader Test: +##################################################################### + +qt_add_test(tst_qshadernodesloader + SOURCES + tst_qshadernodesloader.cpp + PUBLIC_LIBRARIES + Qt::3DRenderPrivate + Qt::Gui +) diff --git a/tests/auto/render/shaderimage/CMakeLists.txt b/tests/auto/render/shaderimage/CMakeLists.txt new file mode 100644 index 000000000..b358810e4 --- /dev/null +++ b/tests/auto/render/shaderimage/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from shaderimage.pro. + +##################################################################### +## tst_shaderimage Test: +##################################################################### + +qt_add_test(tst_shaderimage + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_shaderimage.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:shaderimage.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_shaderimage CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_shaderimage CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/skeleton/CMakeLists.txt b/tests/auto/render/skeleton/CMakeLists.txt new file mode 100644 index 000000000..e20757b92 --- /dev/null +++ b/tests/auto/render/skeleton/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from skeleton.pro. + +##################################################################### +## tst_skeleton Test: +##################################################################### + +qt_add_test(tst_skeleton + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_skeleton.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:skeleton.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_skeleton CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_skeleton CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/sortpolicy/CMakeLists.txt b/tests/auto/render/sortpolicy/CMakeLists.txt new file mode 100644 index 000000000..d7aa14161 --- /dev/null +++ b/tests/auto/render/sortpolicy/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from sortpolicy.pro. + +##################################################################### +## tst_sortpolicy Test: +##################################################################### + +qt_add_test(tst_sortpolicy + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_sortpolicy.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:sortpolicy.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_sortpolicy CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_sortpolicy CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/technique/CMakeLists.txt b/tests/auto/render/technique/CMakeLists.txt new file mode 100644 index 000000000..7bc587113 --- /dev/null +++ b/tests/auto/render/technique/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from technique.pro. + +##################################################################### +## tst_technique Test: +##################################################################### + +qt_add_test(tst_technique + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_technique.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:technique.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_technique CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_technique CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/texture/CMakeLists.txt b/tests/auto/render/texture/CMakeLists.txt new file mode 100644 index 000000000..5188a847a --- /dev/null +++ b/tests/auto/render/texture/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from texture.pro. + +##################################################################### +## tst_texture Test: +##################################################################### + +qt_add_test(tst_texture + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_texture.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:texture.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_texture CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_texture CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/transform/CMakeLists.txt b/tests/auto/render/transform/CMakeLists.txt new file mode 100644 index 000000000..c99820cb8 --- /dev/null +++ b/tests/auto/render/transform/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from transform.pro. + +##################################################################### +## tst_transform Test: +##################################################################### + +qt_add_test(tst_transform + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_transform.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:transform.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_transform CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_transform CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/triangleboundingvolume/CMakeLists.txt b/tests/auto/render/triangleboundingvolume/CMakeLists.txt new file mode 100644 index 000000000..60563be14 --- /dev/null +++ b/tests/auto/render/triangleboundingvolume/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from triangleboundingvolume.pro. + +##################################################################### +## tst_triangleboundingvolume Test: +##################################################################### + +qt_add_test(tst_triangleboundingvolume + SOURCES + tst_triangleboundingvolume.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:triangleboundingvolume.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/trianglevisitor/CMakeLists.txt b/tests/auto/render/trianglevisitor/CMakeLists.txt new file mode 100644 index 000000000..b081e4a53 --- /dev/null +++ b/tests/auto/render/trianglevisitor/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from trianglevisitor.pro. + +##################################################################### +## trianglevisitor Test: +##################################################################### + +qt_add_test(trianglevisitor + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_trianglevisitor.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:trianglevisitor.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(trianglevisitor CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(trianglevisitor CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/uniform/CMakeLists.txt b/tests/auto/render/uniform/CMakeLists.txt new file mode 100644 index 000000000..fb7789605 --- /dev/null +++ b/tests/auto/render/uniform/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from uniform.pro. + +##################################################################### +## tst_uniform Test: +##################################################################### + +qt_add_test(tst_uniform + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_uniform.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:uniform.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_uniform CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_uniform CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt b/tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt new file mode 100644 index 000000000..db702602c --- /dev/null +++ b/tests/auto/render/updateshaderdatatransformjob/CMakeLists.txt @@ -0,0 +1,60 @@ +# Generated from updateshaderdatatransformjob.pro. + +##################################################################### +## tst_updateshaderdatatransformjob Test: +##################################################################### + +qt_add_test(tst_updateshaderdatatransformjob + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h + tst_updateshaderdatatransformjob.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + ../qmlscenereader + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DQuickPrivate + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(updateshaderdatatransformjob_resource_files + "test_scene_model_to_eye.qml" + "test_scene_model_to_world.qml" +) + +qt_add_resource(tst_updateshaderdatatransformjob "updateshaderdatatransformjob" + PREFIX + "/" + FILES + ${updateshaderdatatransformjob_resource_files} +) + + +#### Keys ignored in scope 1:.:.:updateshaderdatatransformjob.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_updateshaderdatatransformjob CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_updateshaderdatatransformjob CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt b/tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt new file mode 100644 index 000000000..c04489978 --- /dev/null +++ b/tests/auto/render/vsyncframeadvanceservice/CMakeLists.txt @@ -0,0 +1,19 @@ +# Generated from vsyncframeadvanceservice.pro. + +##################################################################### +## tst_vsyncframeadvanceservice Test: +##################################################################### + +qt_add_test(tst_vsyncframeadvanceservice + SOURCES + tst_vsyncframeadvanceservice.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:vsyncframeadvanceservice.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/auto/render/waitfence/CMakeLists.txt b/tests/auto/render/waitfence/CMakeLists.txt new file mode 100644 index 000000000..4e191a6cd --- /dev/null +++ b/tests/auto/render/waitfence/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from waitfence.pro. + +##################################################################### +## tst_waitfence Test: +##################################################################### + +qt_add_test(tst_waitfence + SOURCES + ../commons/testrenderer.cpp ../commons/testrenderer.h + tst_waitfence.cpp + INCLUDE_DIRECTORIES + ../../core/common + ../commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:waitfence.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_waitfence CONDITION QT_FEATURE_private_tests + SOURCES + ../../core/common/qbackendnodetester.cpp ../../core/common/qbackendnodetester.h + ../../core/common/testarbiter.h +) + +qt_extend_target(tst_waitfence CONDITION useCommonTestAspect + SOURCES + ../commons/testaspect.cpp ../commons/testaspect.h +) diff --git a/tests/benchmarks/CMakeLists.txt b/tests/benchmarks/CMakeLists.txt new file mode 100644 index 000000000..16b89ba34 --- /dev/null +++ b/tests/benchmarks/CMakeLists.txt @@ -0,0 +1,6 @@ +# Generated from benchmarks.pro. + +add_subdirectory(core) +if(QT_FEATURE_qt3d_render) + add_subdirectory(render) +endif() diff --git a/tests/benchmarks/Qt3DBench/CMakeLists.txt b/tests/benchmarks/Qt3DBench/CMakeLists.txt new file mode 100644 index 000000000..078d6d8e8 --- /dev/null +++ b/tests/benchmarks/Qt3DBench/CMakeLists.txt @@ -0,0 +1,49 @@ +# Generated from qt3dbench-qml.pro. + +##################################################################### +## qt3dbench-qml Binary: +##################################################################### + +qt_add_benchmark(qt3dbench-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DQuick + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(qt3dbench-qml_resource_files + "GroundPlane.qml" + "Light.qml" + "Qt3DBenchFrameGraph.qml" + "Qt3DBenchMain.qml" + "ShadowEffect.qml" + "ShadowMaterial.qml" + "SphereElement.qml" + "SphereView.qml" + "shaders/ads.frag" + "shaders/ads.vert" + "shaders/shadowmap.frag" + "shaders/shadowmap.vert" +) + +qt_add_resource(qt3dbench-qml "qt3dbench-qml" + PREFIX + "/" + FILES + ${qt3dbench-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qt3dbench-qml.pro:<TRUE>: +# OTHER_FILES = "*.qml" + +## Scopes: +##################################################################### diff --git a/tests/benchmarks/core/CMakeLists.txt b/tests/benchmarks/core/CMakeLists.txt new file mode 100644 index 000000000..f200e108e --- /dev/null +++ b/tests/benchmarks/core/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from core.pro. + +add_subdirectory(qresourcesmanager) diff --git a/tests/benchmarks/core/qresourcesmanager/CMakeLists.txt b/tests/benchmarks/core/qresourcesmanager/CMakeLists.txt new file mode 100644 index 000000000..3816002e9 --- /dev/null +++ b/tests/benchmarks/core/qresourcesmanager/CMakeLists.txt @@ -0,0 +1,4 @@ +# Generated from qresourcesmanager.pro. + +add_subdirectory(arraypolicy) +add_subdirectory(qresourcesmanager) diff --git a/tests/benchmarks/core/qresourcesmanager/arraypolicy/CMakeLists.txt b/tests/benchmarks/core/qresourcesmanager/arraypolicy/CMakeLists.txt new file mode 100644 index 000000000..fe0608de7 --- /dev/null +++ b/tests/benchmarks/core/qresourcesmanager/arraypolicy/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from arraypolicy.pro. + +##################################################################### +## tst_bench_arraypolicy Binary: +##################################################################### + +qt_add_benchmark(tst_bench_arraypolicy + SOURCES + tst_bench_arraypolicy.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:arraypolicy.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/core/qresourcesmanager/qresourcesmanager/CMakeLists.txt b/tests/benchmarks/core/qresourcesmanager/qresourcesmanager/CMakeLists.txt new file mode 100644 index 000000000..a05d5c667 --- /dev/null +++ b/tests/benchmarks/core/qresourcesmanager/qresourcesmanager/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qresourcesmanager.pro. + +##################################################################### +## tst_bench_qresourcesmanager Binary: +##################################################################### + +qt_add_benchmark(tst_bench_qresourcesmanager + SOURCES + tst_bench_qresourcesmanager.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::Gui + Qt::Test +) + +#### Keys ignored in scope 1:.:.:qresourcesmanager.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/benchmarks/render/CMakeLists.txt b/tests/benchmarks/render/CMakeLists.txt new file mode 100644 index 000000000..8491c0381 --- /dev/null +++ b/tests/benchmarks/render/CMakeLists.txt @@ -0,0 +1,8 @@ +# Generated from render.pro. + +if(QT_FEATURE_private_tests) + add_subdirectory(jobs) + add_subdirectory(layerfiltering) + add_subdirectory(materialparametergathering) + add_subdirectory(opengl) +endif() diff --git a/tests/benchmarks/render/jobs/CMakeLists.txt b/tests/benchmarks/render/jobs/CMakeLists.txt new file mode 100644 index 000000000..7f143b845 --- /dev/null +++ b/tests/benchmarks/render/jobs/CMakeLists.txt @@ -0,0 +1,101 @@ +# Generated from jobs.pro. + +##################################################################### +## tst_bench_jobs Binary: +##################################################################### + +qt_add_benchmark(tst_bench_jobs + SOURCES + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicscontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicscontext_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_1.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_1_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_3.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_3_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperinterface_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/imagesubmissioncontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/imagesubmissioncontext_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/qgraphicsutils_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/submissioncontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/submissioncontext_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/texturesubmissioncontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/texturesubmissioncontext_p.h + ../../../../src/plugins/renderers/opengl/io/glbuffer.cpp ../../../../src/plugins/renderers/opengl/io/glbuffer_p.h + ../../../../src/plugins/renderers/opengl/jobs/filtercompatibletechniquejob.cpp ../../../../src/plugins/renderers/opengl/jobs/filtercompatibletechniquejob_p.h + ../../../../src/plugins/renderers/opengl/jobs/materialparametergathererjob.cpp ../../../../src/plugins/renderers/opengl/jobs/materialparametergathererjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandbuilderjob.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandbuilderjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandupdaterjob.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandupdaterjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewinitializerjob.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewinitializerjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewjobutils.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewjobutils_p.h + ../../../../src/plugins/renderers/opengl/managers/gl_handle_types_p.h + ../../../../src/plugins/renderers/opengl/managers/glresourcemanagers.cpp ../../../../src/plugins/renderers/opengl/managers/glresourcemanagers_p.h + ../../../../src/plugins/renderers/opengl/renderer/commandexecuter.cpp ../../../../src/plugins/renderers/opengl/renderer/commandexecuter_p.h + ../../../../src/plugins/renderers/opengl/renderer/frameprofiler_p.h + ../../../../src/plugins/renderers/opengl/renderer/glfence_p.h + ../../../../src/plugins/renderers/opengl/renderer/gllights.cpp ../../../../src/plugins/renderers/opengl/renderer/gllights_p.h + ../../../../src/plugins/renderers/opengl/renderer/glshader.cpp ../../../../src/plugins/renderers/opengl/renderer/glshader_p.h + ../../../../src/plugins/renderers/opengl/renderer/logging.cpp ../../../../src/plugins/renderers/opengl/renderer/logging_p.h + ../../../../src/plugins/renderers/opengl/renderer/openglvertexarrayobject.cpp ../../../../src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h + ../../../../src/plugins/renderers/opengl/renderer/rendercommand.cpp ../../../../src/plugins/renderers/opengl/renderer/rendercommand_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderer.cpp ../../../../src/plugins/renderers/opengl/renderer/renderer_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderercache_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderqueue.cpp ../../../../src/plugins/renderers/opengl/renderer/renderqueue_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderview.cpp ../../../../src/plugins/renderers/opengl/renderer/renderview_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderviewbuilder.cpp ../../../../src/plugins/renderers/opengl/renderer/renderviewbuilder_p.h + ../../../../src/plugins/renderers/opengl/renderer/shaderparameterpack.cpp ../../../../src/plugins/renderers/opengl/renderer/shaderparameterpack_p.h + ../../../../src/plugins/renderers/opengl/renderer/shadervariables_p.h + ../../../../src/plugins/renderers/opengl/textures/gltexture.cpp ../../../../src/plugins/renderers/opengl/textures/gltexture_p.h + ../../../../src/plugins/renderers/opengl/textures/renderbuffer.cpp ../../../../src/plugins/renderers/opengl/textures/renderbuffer_p.h + tst_bench_jobs.cpp + DEFINES + BUILD_QT3D_MODULE + QT3D_RENDER_UNIT_TESTS + QT_BUILDING_QT + QT_BUILD_INTERNAL + QT_NO_FOREACH QT_NO_FOREACH + INCLUDE_DIRECTORIES + ../../../../src/plugins/renderers/opengl + ../../../../src/plugins/renderers/opengl/graphicshelpers + ../../../../src/plugins/renderers/opengl/io + ../../../../src/plugins/renderers/opengl/jobs + ../../../../src/plugins/renderers/opengl/managers + ../../../../src/plugins/renderers/opengl/renderer + ../../../../src/plugins/renderers/opengl/textures + LIBRARIES + Qt::OpenGLExtensions + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DQuick + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::OpenGLPrivate + Qt::Qml + Qt::Test +) + +#### Keys ignored in scope 1:.:.:jobs.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_bench_jobs CONDITION NOT INTEGRITY + SOURCES + ../../../../src/plugins/renderers/opengl/debug/imguirenderer.cpp ../../../../src/plugins/renderers/opengl/debug/imguirenderer_p.h + INCLUDE_DIRECTORIES + ../../../../src/plugins/renderers/opengl/debug +) + +qt_extend_target(tst_bench_jobs CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/benchmarks/render/layerfiltering/CMakeLists.txt b/tests/benchmarks/render/layerfiltering/CMakeLists.txt new file mode 100644 index 000000000..25db8cada --- /dev/null +++ b/tests/benchmarks/render/layerfiltering/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from layerfiltering.pro. + +##################################################################### +## tst_bench_layerfiltering Test: +##################################################################### + +qt_add_test(tst_bench_layerfiltering + SOURCES + ../../../auto/render/commons/testrenderer.cpp ../../../auto/render/commons/testrenderer.h + tst_bench_layerfiltering.cpp + DEFINES + QT_BUILD_INTERNAL + INCLUDE_DIRECTORIES + ../../../auto/render/commons + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:layerfiltering.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_bench_layerfiltering CONDITION useCommonTestAspect + SOURCES + ../../../auto/render/commons/testaspect.cpp ../../../auto/render/commons/testaspect.h +) diff --git a/tests/benchmarks/render/materialparametergathering/CMakeLists.txt b/tests/benchmarks/render/materialparametergathering/CMakeLists.txt new file mode 100644 index 000000000..1e4b7f107 --- /dev/null +++ b/tests/benchmarks/render/materialparametergathering/CMakeLists.txt @@ -0,0 +1,104 @@ +# Generated from materialparametergathering.pro. + +##################################################################### +## tst_bench_materialparametergathering Test: +##################################################################### + +qt_add_test(tst_bench_materialparametergathering + SOURCES + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicscontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicscontext_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_1.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_1_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_2.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_3.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_3_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperinterface_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/imagesubmissioncontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/imagesubmissioncontext_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/qgraphicsutils_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/submissioncontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/submissioncontext_p.h + ../../../../src/plugins/renderers/opengl/graphicshelpers/texturesubmissioncontext.cpp ../../../../src/plugins/renderers/opengl/graphicshelpers/texturesubmissioncontext_p.h + ../../../../src/plugins/renderers/opengl/io/glbuffer.cpp ../../../../src/plugins/renderers/opengl/io/glbuffer_p.h + ../../../../src/plugins/renderers/opengl/jobs/filtercompatibletechniquejob.cpp ../../../../src/plugins/renderers/opengl/jobs/filtercompatibletechniquejob_p.h + ../../../../src/plugins/renderers/opengl/jobs/materialparametergathererjob.cpp ../../../../src/plugins/renderers/opengl/jobs/materialparametergathererjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandbuilderjob.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandbuilderjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandupdaterjob.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewcommandupdaterjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewinitializerjob.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewinitializerjob_p.h + ../../../../src/plugins/renderers/opengl/jobs/renderviewjobutils.cpp ../../../../src/plugins/renderers/opengl/jobs/renderviewjobutils_p.h + ../../../../src/plugins/renderers/opengl/managers/gl_handle_types_p.h + ../../../../src/plugins/renderers/opengl/managers/glresourcemanagers.cpp ../../../../src/plugins/renderers/opengl/managers/glresourcemanagers_p.h + ../../../../src/plugins/renderers/opengl/renderer/commandexecuter.cpp ../../../../src/plugins/renderers/opengl/renderer/commandexecuter_p.h + ../../../../src/plugins/renderers/opengl/renderer/frameprofiler_p.h + ../../../../src/plugins/renderers/opengl/renderer/glfence_p.h + ../../../../src/plugins/renderers/opengl/renderer/gllights.cpp ../../../../src/plugins/renderers/opengl/renderer/gllights_p.h + ../../../../src/plugins/renderers/opengl/renderer/glshader.cpp ../../../../src/plugins/renderers/opengl/renderer/glshader_p.h + ../../../../src/plugins/renderers/opengl/renderer/logging.cpp ../../../../src/plugins/renderers/opengl/renderer/logging_p.h + ../../../../src/plugins/renderers/opengl/renderer/openglvertexarrayobject.cpp ../../../../src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h + ../../../../src/plugins/renderers/opengl/renderer/rendercommand.cpp ../../../../src/plugins/renderers/opengl/renderer/rendercommand_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderer.cpp ../../../../src/plugins/renderers/opengl/renderer/renderer_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderercache_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderqueue.cpp ../../../../src/plugins/renderers/opengl/renderer/renderqueue_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderview.cpp ../../../../src/plugins/renderers/opengl/renderer/renderview_p.h + ../../../../src/plugins/renderers/opengl/renderer/renderviewbuilder.cpp ../../../../src/plugins/renderers/opengl/renderer/renderviewbuilder_p.h + ../../../../src/plugins/renderers/opengl/renderer/shaderparameterpack.cpp ../../../../src/plugins/renderers/opengl/renderer/shaderparameterpack_p.h + ../../../../src/plugins/renderers/opengl/renderer/shadervariables_p.h + ../../../../src/plugins/renderers/opengl/textures/gltexture.cpp ../../../../src/plugins/renderers/opengl/textures/gltexture_p.h + ../../../../src/plugins/renderers/opengl/textures/renderbuffer.cpp ../../../../src/plugins/renderers/opengl/textures/renderbuffer_p.h + ../../../auto/render/commons/testrenderer.cpp ../../../auto/render/commons/testrenderer.h + tst_bench_materialparametergathering.cpp + DEFINES + BUILD_QT3D_MODULE + QT_BUILDING_QT + QT_BUILD_INTERNAL + QT_NO_FOREACH QT_NO_FOREACH + INCLUDE_DIRECTORIES + ../../../../src/plugins/renderers/opengl + ../../../../src/plugins/renderers/opengl/graphicshelpers + ../../../../src/plugins/renderers/opengl/io + ../../../../src/plugins/renderers/opengl/jobs + ../../../../src/plugins/renderers/opengl/managers + ../../../../src/plugins/renderers/opengl/renderer + ../../../../src/plugins/renderers/opengl/textures + ../../../auto/render/commons + LIBRARIES + Qt::OpenGLExtensions + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::OpenGLPrivate +) + +#### Keys ignored in scope 1:.:.:materialparametergathering.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +qt_extend_target(tst_bench_materialparametergathering CONDITION useCommonTestAspect + SOURCES + ../../../auto/render/commons/testaspect.cpp ../../../auto/render/commons/testaspect.h +) + +qt_extend_target(tst_bench_materialparametergathering CONDITION NOT INTEGRITY + SOURCES + ../../../../src/plugins/renderers/opengl/debug/imguirenderer.cpp ../../../../src/plugins/renderers/opengl/debug/imguirenderer_p.h + INCLUDE_DIRECTORIES + ../../../../src/plugins/renderers/opengl/debug +) + +qt_extend_target(tst_bench_materialparametergathering CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/benchmarks/render/opengl/CMakeLists.txt b/tests/benchmarks/render/opengl/CMakeLists.txt new file mode 100644 index 000000000..b7e54edc2 --- /dev/null +++ b/tests/benchmarks/render/opengl/CMakeLists.txt @@ -0,0 +1,3 @@ +# Generated from opengl.pro. + +add_subdirectory(shaderparameterpack) diff --git a/tests/benchmarks/render/opengl/shaderparameterpack/CMakeLists.txt b/tests/benchmarks/render/opengl/shaderparameterpack/CMakeLists.txt new file mode 100644 index 000000000..d1ad1bc1e --- /dev/null +++ b/tests/benchmarks/render/opengl/shaderparameterpack/CMakeLists.txt @@ -0,0 +1,96 @@ +# Generated from shaderparameterpack.pro. + +##################################################################### +## tst_bench_shaderparameterpack Test: +##################################################################### + +qt_add_test(tst_bench_shaderparameterpack + SOURCES + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicscontext.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicscontext_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes2_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_1.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_1_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperes3_2_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl2.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl2_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_2.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_2_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_3.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl3_3_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelpergl4_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/graphicshelperinterface_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/imagesubmissioncontext.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/imagesubmissioncontext_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/qgraphicsutils_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/submissioncontext.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/submissioncontext_p.h + ../../../../../src/plugins/renderers/opengl/graphicshelpers/texturesubmissioncontext.cpp ../../../../../src/plugins/renderers/opengl/graphicshelpers/texturesubmissioncontext_p.h + ../../../../../src/plugins/renderers/opengl/io/glbuffer.cpp ../../../../../src/plugins/renderers/opengl/io/glbuffer_p.h + ../../../../../src/plugins/renderers/opengl/jobs/filtercompatibletechniquejob.cpp ../../../../../src/plugins/renderers/opengl/jobs/filtercompatibletechniquejob_p.h + ../../../../../src/plugins/renderers/opengl/jobs/materialparametergathererjob.cpp ../../../../../src/plugins/renderers/opengl/jobs/materialparametergathererjob_p.h + ../../../../../src/plugins/renderers/opengl/jobs/renderviewcommandbuilderjob.cpp ../../../../../src/plugins/renderers/opengl/jobs/renderviewcommandbuilderjob_p.h + ../../../../../src/plugins/renderers/opengl/jobs/renderviewcommandupdaterjob.cpp ../../../../../src/plugins/renderers/opengl/jobs/renderviewcommandupdaterjob_p.h + ../../../../../src/plugins/renderers/opengl/jobs/renderviewinitializerjob.cpp ../../../../../src/plugins/renderers/opengl/jobs/renderviewinitializerjob_p.h + ../../../../../src/plugins/renderers/opengl/jobs/renderviewjobutils.cpp ../../../../../src/plugins/renderers/opengl/jobs/renderviewjobutils_p.h + ../../../../../src/plugins/renderers/opengl/managers/gl_handle_types_p.h + ../../../../../src/plugins/renderers/opengl/managers/glresourcemanagers.cpp ../../../../../src/plugins/renderers/opengl/managers/glresourcemanagers_p.h + ../../../../../src/plugins/renderers/opengl/renderer/commandexecuter.cpp ../../../../../src/plugins/renderers/opengl/renderer/commandexecuter_p.h + ../../../../../src/plugins/renderers/opengl/renderer/frameprofiler_p.h + ../../../../../src/plugins/renderers/opengl/renderer/glfence_p.h + ../../../../../src/plugins/renderers/opengl/renderer/gllights.cpp ../../../../../src/plugins/renderers/opengl/renderer/gllights_p.h + ../../../../../src/plugins/renderers/opengl/renderer/glshader.cpp ../../../../../src/plugins/renderers/opengl/renderer/glshader_p.h + ../../../../../src/plugins/renderers/opengl/renderer/logging.cpp ../../../../../src/plugins/renderers/opengl/renderer/logging_p.h + ../../../../../src/plugins/renderers/opengl/renderer/openglvertexarrayobject.cpp ../../../../../src/plugins/renderers/opengl/renderer/openglvertexarrayobject_p.h + ../../../../../src/plugins/renderers/opengl/renderer/rendercommand.cpp ../../../../../src/plugins/renderers/opengl/renderer/rendercommand_p.h + ../../../../../src/plugins/renderers/opengl/renderer/renderer.cpp ../../../../../src/plugins/renderers/opengl/renderer/renderer_p.h + ../../../../../src/plugins/renderers/opengl/renderer/renderercache_p.h + ../../../../../src/plugins/renderers/opengl/renderer/renderqueue.cpp ../../../../../src/plugins/renderers/opengl/renderer/renderqueue_p.h + ../../../../../src/plugins/renderers/opengl/renderer/renderview.cpp ../../../../../src/plugins/renderers/opengl/renderer/renderview_p.h + ../../../../../src/plugins/renderers/opengl/renderer/renderviewbuilder.cpp ../../../../../src/plugins/renderers/opengl/renderer/renderviewbuilder_p.h + ../../../../../src/plugins/renderers/opengl/renderer/shaderparameterpack.cpp ../../../../../src/plugins/renderers/opengl/renderer/shaderparameterpack_p.h + ../../../../../src/plugins/renderers/opengl/renderer/shadervariables_p.h + ../../../../../src/plugins/renderers/opengl/textures/gltexture.cpp ../../../../../src/plugins/renderers/opengl/textures/gltexture_p.h + ../../../../../src/plugins/renderers/opengl/textures/renderbuffer.cpp ../../../../../src/plugins/renderers/opengl/textures/renderbuffer_p.h + ../../../../auto/render/commons/testrenderer.cpp ../../../../auto/render/commons/testrenderer.h + tst_bench_shaderparameterpack.cpp + DEFINES + BUILD_QT3D_MODULE + QT_BUILDING_QT + QT_BUILD_INTERNAL + QT_NO_FOREACH QT_NO_FOREACH + INCLUDE_DIRECTORIES + ../../../../../src/plugins/renderers/opengl + ../../../../../src/plugins/renderers/opengl/graphicshelpers + ../../../../../src/plugins/renderers/opengl/io + ../../../../../src/plugins/renderers/opengl/jobs + ../../../../../src/plugins/renderers/opengl/managers + ../../../../../src/plugins/renderers/opengl/renderer + ../../../../../src/plugins/renderers/opengl/textures + ../../../../auto/render/commons + LIBRARIES + Qt::OpenGLExtensions + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DCorePrivate + Qt::3DRender + Qt::3DRenderPrivate + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::OpenGLPrivate +) + +#### Keys ignored in scope 1:.:.:shaderparameterpack.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### + +include(../../commons/commons.cmake) +qt3d_setup_common_render_test(tst_bench_shaderparameterpack USE_TEST_ASPECT) +include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake) +qt3d_setup_opengl_renderer_target(tst_bench_shaderparameterpack) + +qt_extend_target(tst_bench_shaderparameterpack CONDITION gcov + COMPILE_OPTIONS + -fprofile-arcs + -ftest-coverage + LINK_OPTIONS + "-fprofile-arcs" + "-ftest-coverage" +) diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt new file mode 100644 index 000000000..969b2b556 --- /dev/null +++ b/tests/manual/CMakeLists.txt @@ -0,0 +1,94 @@ +# Generated from manual.pro. + +add_subdirectory(bigscene-cpp) +add_subdirectory(component-changes) +add_subdirectory(custom-mesh-cpp) +add_subdirectory(custom-mesh-cpp-indirect) +add_subdirectory(custom-mesh-update-data-cpp) +add_subdirectory(cylinder-cpp) +add_subdirectory(cylinder-parent-test) +add_subdirectory(deferred-renderer-cpp) +add_subdirectory(raster-cpp) +add_subdirectory(qtbug-72236) +add_subdirectory(manual-renderloop) +add_subdirectory(rhi) +add_subdirectory(boundingvolumes) +if(TARGET Qt::Multimedia) + add_subdirectory(sharedtexture) +endif() +if(TARGET Qt::Multimedia AND TARGET Qt::Quick) + add_subdirectory(sharedtextureqml) +endif() +if(TARGET Qt::Widgets) + add_subdirectory(assimp-cpp) + add_subdirectory(paintedtexture-cpp) + add_subdirectory(rendercapture-cpp) + add_subdirectory(texture-updates-cpp) +endif() +if(TARGET Qt::Quick) + add_subdirectory(assimp) + add_subdirectory(animation-keyframe-simple) + add_subdirectory(animation-keyframe-blendtree) + add_subdirectory(animation-keyframe-programmatic) + add_subdirectory(bigmodel-qml) + add_subdirectory(bigscene-instanced-qml) + add_subdirectory(clip-planes-qml) + add_subdirectory(custom-mesh-qml) + add_subdirectory(custom-mesh-update-data-qml) + add_subdirectory(cylinder-qml) + add_subdirectory(deferred-renderer-qml) + add_subdirectory(downloading) + add_subdirectory(dynamicscene-cpp) + add_subdirectory(dragging) + add_subdirectory(enabled-qml) + add_subdirectory(gltf) + add_subdirectory(gooch-qml) + add_subdirectory(keyboardinput-qml) + add_subdirectory(lod) + add_subdirectory(loader-qml) + add_subdirectory(mouseinput-qml) + add_subdirectory(multiplewindows-qml) + add_subdirectory(plasma) + add_subdirectory(pointlinesize) + add_subdirectory(scene3d-loader) + add_subdirectory(picking-qml) + add_subdirectory(skybox) + add_subdirectory(simple-shaders-qml) + add_subdirectory(transparency-qml) + add_subdirectory(transparency-qml-scene3d) + add_subdirectory(rendercapture-qml) + add_subdirectory(additional-attributes-qml) + add_subdirectory(dynamic-model-loader-qml) + add_subdirectory(buffercapture-qml) + add_subdirectory(render-qml-to-texture) + add_subdirectory(render-qml-to-texture-qml) + add_subdirectory(video-texture-qml) + add_subdirectory(transforms-qml) + add_subdirectory(layerfilter-qml) + add_subdirectory(tessellation-modes) + add_subdirectory(rendercapture-qml-fbo) + add_subdirectory(blitframebuffer-qml) + add_subdirectory(raycasting-qml) + add_subdirectory(raster-qml) + add_subdirectory(shader-image-qml) + add_subdirectory(spritegrid) + add_subdirectory(subtree-enabler-qml) + add_subdirectory(distancefieldtext) + add_subdirectory(mesh-morphing) + add_subdirectory(anim-viewer) + add_subdirectory(skinned-mesh) + add_subdirectory(rigged-simple) + add_subdirectory(proximityfilter) + add_subdirectory(scene3d-visibility) + add_subdirectory(shared_texture_image) + add_subdirectory(texture_property_updates) + add_subdirectory(qtbug-76766) + add_subdirectory(scene3d-in-sync) + add_subdirectory(compressed_textures) +endif() +if(TARGET Qt::Quick AND NOT MACOS AND NOT UIKIT) + add_subdirectory(compute-manual) +endif() +if(TARGET Qt::QuickWidgets) + add_subdirectory(quickwidget-switch) +endif() diff --git a/tests/manual/additional-attributes-qml/CMakeLists.txt b/tests/manual/additional-attributes-qml/CMakeLists.txt new file mode 100644 index 000000000..972d851b7 --- /dev/null +++ b/tests/manual/additional-attributes-qml/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from additional-attributes-qml.pro. + +##################################################################### +## additional-attributes-qml Binary: +##################################################################### + +qt_add_manual_test(additional-attributes-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(additional-attributes-qml_resource_files + "main.qml" +) + +qt_add_resource(additional-attributes-qml "additional-attributes-qml" + PREFIX + "/" + FILES + ${additional-attributes-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:additional-attributes-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/anim-viewer/CMakeLists.txt b/tests/manual/anim-viewer/CMakeLists.txt new file mode 100644 index 000000000..c214d550d --- /dev/null +++ b/tests/manual/anim-viewer/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from anim-viewer.pro. + +##################################################################### +## anim-viewer Binary: +##################################################################### + +qt_add_manual_test(anim-viewer + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(qml_resource_files + "assets/blendshapeanimation.dae" + "assets/gears.dae" + "main.qml" +) + +qt_add_resource(anim-viewer "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:anim-viewer.pro:<TRUE>: +# TEMPLATE = "app" + +## Scopes: +##################################################################### diff --git a/tests/manual/animation-keyframe-blendtree/CMakeLists.txt b/tests/manual/animation-keyframe-blendtree/CMakeLists.txt new file mode 100644 index 000000000..c3ad2b8a0 --- /dev/null +++ b/tests/manual/animation-keyframe-blendtree/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from animation-keyframe-blendtree.pro. + +##################################################################### +## animation-keyframe-blendtree Binary: +##################################################################### + +qt_add_manual_test(animation-keyframe-blendtree + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DQuickAnimation + Qt::3DQuickExtras + Qt::Gui +) + +# Resources: +set(main_resource_files + "DefaultSceneEntity.qml" + "main.qml" + "sliding-cube.json" + "sliding-pulsing-cube.json" +) + +qt_add_resource(animation-keyframe-blendtree "main" + PREFIX + "/" + FILES + ${main_resource_files} +) + + +#### Keys ignored in scope 1:.:.:animation-keyframe-blendtree.pro:<TRUE>: +# OTHER_FILES = "main.qml" "DefaultSceneEntity.qml" +# TEMPLATE = "app" diff --git a/tests/manual/animation-keyframe-programmatic/CMakeLists.txt b/tests/manual/animation-keyframe-programmatic/CMakeLists.txt new file mode 100644 index 000000000..761cf0c42 --- /dev/null +++ b/tests/manual/animation-keyframe-programmatic/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from animation-keyframe-programmatic.pro. + +##################################################################### +## animation-keyframe-programmatic Binary: +##################################################################### + +qt_add_manual_test(animation-keyframe-programmatic + GUI + SOURCES + animationfactory.cpp animationfactory.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DQuickAnimation + Qt::3DQuickExtras + Qt::Gui +) + +# Resources: +set(main_resource_files + "DefaultSceneEntity.qml" + "main.qml" +) + +qt_add_resource(animation-keyframe-programmatic "main" + PREFIX + "/" + FILES + ${main_resource_files} +) + + +#### Keys ignored in scope 1:.:.:animation-keyframe-programmatic.pro:<TRUE>: +# OTHER_FILES = "main.qml" "DefaultSceneEntity.qml" +# TEMPLATE = "app" diff --git a/tests/manual/animation-keyframe-simple/CMakeLists.txt b/tests/manual/animation-keyframe-simple/CMakeLists.txt new file mode 100644 index 000000000..2769f5fa0 --- /dev/null +++ b/tests/manual/animation-keyframe-simple/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from animation-keyframe-simple.pro. + +##################################################################### +## animation-keyframe-simple Binary: +##################################################################### + +qt_add_manual_test(animation-keyframe-simple + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DQuickAnimation + Qt::3DQuickExtras + Qt::Gui +) + +# Resources: +set(main_resource_files + "DefaultSceneEntity.qml" + "cubeanimation.json" + "main.qml" + "pulsing-cube-additive.json" + "pulsing-moving-cube.json" +) + +qt_add_resource(animation-keyframe-simple "main" + PREFIX + "/" + FILES + ${main_resource_files} +) + + +#### Keys ignored in scope 1:.:.:animation-keyframe-simple.pro:<TRUE>: +# OTHER_FILES = "main.qml" "DefaultSceneEntity.qml" +# TEMPLATE = "app" diff --git a/tests/manual/assimp-cpp/CMakeLists.txt b/tests/manual/assimp-cpp/CMakeLists.txt new file mode 100644 index 000000000..99a7f2213 --- /dev/null +++ b/tests/manual/assimp-cpp/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from assimp-cpp.pro. + +##################################################################### +## assimp-cpp Binary: +##################################################################### + +qt_add_manual_test(assimp-cpp + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui + Qt::Widgets +) + +## Scopes: +##################################################################### diff --git a/tests/manual/assimp/CMakeLists.txt b/tests/manual/assimp/CMakeLists.txt new file mode 100644 index 000000000..c0a7059f9 --- /dev/null +++ b/tests/manual/assimp/CMakeLists.txt @@ -0,0 +1,87 @@ +# Generated from assimp.pro. + +##################################################################### +## assimp Binary: +##################################################################### + +qt_add_manual_test(assimp + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(assimp_resource_files + "main.qml" +) + +qt_add_resource(assimp "assimp" + PREFIX + "/" + FILES + ${assimp_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/test_scene.dae" + PROPERTIES QT_RESOURCE_ALIAS "assets/test_scene.dae" +) +set(test_scene_resource_files + "assets/test_scene.dae" +) + +qt_add_resource(assimp "test_scene" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${test_scene_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt_add_resource(assimp "obj" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${obj_resource_files} +) + + +#### Keys ignored in scope 1:.:.:assimp.pro:<TRUE>: +# OTHER_FILES = "main.qml" +# SOURCE = "main.cpp" + +## Scopes: +##################################################################### diff --git a/tests/manual/bigmodel-qml/CMakeLists.txt b/tests/manual/bigmodel-qml/CMakeLists.txt new file mode 100644 index 000000000..e9713c409 --- /dev/null +++ b/tests/manual/bigmodel-qml/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from bigmodel-qml.pro. + +##################################################################### +## bigmodel-qml Binary: +##################################################################### + +qt_add_manual_test(bigmodel-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(bigmodel-qml_resource_files + "MyEntity.qml" + "main.qml" +) + +qt_add_resource(bigmodel-qml "bigmodel-qml" + PREFIX + "/" + FILES + ${bigmodel-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:bigmodel-qml.pro:<TRUE>: +# DISTFILES = "MyEntity.qml" +# OTHER_FILES = "main.qml" "MyEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/bigscene-cpp/CMakeLists.txt b/tests/manual/bigscene-cpp/CMakeLists.txt new file mode 100644 index 000000000..2d1b8d51c --- /dev/null +++ b/tests/manual/bigscene-cpp/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from bigscene-cpp.pro. + +##################################################################### +## bigscene-cpp Binary: +##################################################################### + +qt_add_manual_test(bigscene-cpp + GUI + SOURCES + entity.cpp entity.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/bigscene-instanced-qml/CMakeLists.txt b/tests/manual/bigscene-instanced-qml/CMakeLists.txt new file mode 100644 index 000000000..aa40b0f4b --- /dev/null +++ b/tests/manual/bigscene-instanced-qml/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from bigscene-instanced-qml.pro. + +##################################################################### +## bigscene-instanced-qml Binary: +##################################################################### + +qt_add_manual_test(bigscene-instanced-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(bigscene-instanced-qml_resource_files + "instanced.frag" + "instanced.vert" + "main.qml" +) + +qt_add_resource(bigscene-instanced-qml "bigscene-instanced-qml" + PREFIX + "/" + FILES + ${bigscene-instanced-qml_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/blitframebuffer-qml/CMakeLists.txt b/tests/manual/blitframebuffer-qml/CMakeLists.txt new file mode 100644 index 000000000..a684303d7 --- /dev/null +++ b/tests/manual/blitframebuffer-qml/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from blitframebuffer-qml.pro. + +##################################################################### +## blitframebuffer-qml Binary: +##################################################################### + +qt_add_manual_test(blitframebuffer-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(blitframebuffer-qml_resource_files + "main.qml" +) + +qt_add_resource(blitframebuffer-qml "blitframebuffer-qml" + PREFIX + "/" + FILES + ${blitframebuffer-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:blitframebuffer-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/boundingvolumes/CMakeLists.txt b/tests/manual/boundingvolumes/CMakeLists.txt new file mode 100644 index 000000000..4df869ade --- /dev/null +++ b/tests/manual/boundingvolumes/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from boundingvolumes.pro. + +##################################################################### +## boundingvolumes Binary: +##################################################################### + +qt_add_manual_test(boundingvolumes + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DInput + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(boundingvolumes_resource_files + "AnimatedEntity.qml" + "main.qml" +) + +qt_add_resource(boundingvolumes "boundingvolumes" + PREFIX + "/" + FILES + ${boundingvolumes_resource_files} +) + + +#### Keys ignored in scope 1:.:.:boundingvolumes.pro:<TRUE>: +# OTHER_FILES = "AnimatedEntity.qml" "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/buffercapture-qml/CMakeLists.txt b/tests/manual/buffercapture-qml/CMakeLists.txt new file mode 100644 index 000000000..d4d42b255 --- /dev/null +++ b/tests/manual/buffercapture-qml/CMakeLists.txt @@ -0,0 +1,45 @@ +# Generated from buffercapture-qml.pro. + +##################################################################### +## buffercapture-qml Binary: +##################################################################### + +qt_add_manual_test(buffercapture-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(resources_resource_files + "BufferSetterScene.qml" + "ComputeFrameGraph.qml" + "ComputeMaterial.qml" + "bufferSetter.comp" + "main.qml" +) + +qt_add_resource(buffercapture-qml "resources" + PREFIX + "/" + FILES + ${resources_resource_files} +) + + +#### Keys ignored in scope 1:.:.:buffercapture-qml.pro:<TRUE>: +# DISTFILES = "main.qml" "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/clip-planes-qml/CMakeLists.txt b/tests/manual/clip-planes-qml/CMakeLists.txt new file mode 100644 index 000000000..b29245c8a --- /dev/null +++ b/tests/manual/clip-planes-qml/CMakeLists.txt @@ -0,0 +1,79 @@ +# Generated from clip-planes-qml.pro. + +##################################################################### +## clip-planes-qml Binary: +##################################################################### + +qt_add_manual_test(clip-planes-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(clip-planes-qml_resource_files + "CappingMaterialEffect.qml" + "ClipCappingFrameGraph.qml" + "ClipMaterialEffect.qml" + "ClipPlaneEntity.qml" + "ClippingPlanes.qml" + "PlaneVisualizationMaterial.qml" + "capping.frag" + "capping.geom" + "capping.vert" + "main.qml" + "passthrough.frag" + "phong-clip.frag" + "phong-clip.vert" +) + +qt_add_resource(clip-planes-qml "clip-planes-qml" + PREFIX + "/" + FILES + ${clip-planes-qml_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt_add_resource(clip-planes-qml "obj" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${obj_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/component-changes/CMakeLists.txt b/tests/manual/component-changes/CMakeLists.txt new file mode 100644 index 000000000..d3552ebed --- /dev/null +++ b/tests/manual/component-changes/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from component-changes.pro. + +##################################################################### +## component-changes Binary: +##################################################################### + +qt_add_manual_test(component-changes + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/compressed_textures/CMakeLists.txt b/tests/manual/compressed_textures/CMakeLists.txt new file mode 100644 index 000000000..d3a945b8f --- /dev/null +++ b/tests/manual/compressed_textures/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from compressed_textures.pro. + +##################################################################### +## compressed_textures Binary: +##################################################################### + +qt_add_manual_test(compressed_textures + GUI + SOURCES + main.cpp + DEFINES + DATA_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(compressed_textures_resource_files + "main.qml" +) + +qt_add_resource(compressed_textures "compressed_textures" + PREFIX + "/" + FILES + ${compressed_textures_resource_files} +) + + +#### Keys ignored in scope 1:.:.:compressed_textures.pro:<TRUE>: +# OTHER_FILES = "main.qml" diff --git a/tests/manual/compute-manual/CMakeLists.txt b/tests/manual/compute-manual/CMakeLists.txt new file mode 100644 index 000000000..4b30aef71 --- /dev/null +++ b/tests/manual/compute-manual/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from compute-manual.pro. + +##################################################################### +## compute-manual Binary: +##################################################################### + +qt_add_manual_test(compute-manual + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(compute-manual_resource_files + "ComputeFrameGraph.qml" + "ComputeMaterial.qml" + "ParticlesScene.qml" + "main.qml" + "particles.comp" + "particles.frag" + "particles.vert" +) + +qt_add_resource(compute-manual "compute-manual" + PREFIX + "/" + FILES + ${compute-manual_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/custom-mesh-cpp-indirect/CMakeLists.txt b/tests/manual/custom-mesh-cpp-indirect/CMakeLists.txt new file mode 100644 index 000000000..678abfbcf --- /dev/null +++ b/tests/manual/custom-mesh-cpp-indirect/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from custom-mesh-cpp-indirect.pro. + +##################################################################### +## custom-mesh-cpp-indirect Binary: +##################################################################### + +qt_add_manual_test(custom-mesh-cpp-indirect + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/custom-mesh-cpp/CMakeLists.txt b/tests/manual/custom-mesh-cpp/CMakeLists.txt new file mode 100644 index 000000000..474028c26 --- /dev/null +++ b/tests/manual/custom-mesh-cpp/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from custom-mesh-cpp.pro. + +##################################################################### +## custom-mesh-cpp Binary: +##################################################################### + +qt_add_manual_test(custom-mesh-cpp + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/custom-mesh-qml/CMakeLists.txt b/tests/manual/custom-mesh-qml/CMakeLists.txt new file mode 100644 index 000000000..594334bc2 --- /dev/null +++ b/tests/manual/custom-mesh-qml/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from custom-mesh-qml.pro. + +##################################################################### +## custom-mesh-qml Binary: +##################################################################### + +qt_add_manual_test(custom-mesh-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Quick +) + +# Resources: +set(custom-mesh-qml_resource_files + "main.qml" +) + +qt_add_resource(custom-mesh-qml "custom-mesh-qml" + PREFIX + "/" + FILES + ${custom-mesh-qml_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/custom-mesh-update-data-cpp/CMakeLists.txt b/tests/manual/custom-mesh-update-data-cpp/CMakeLists.txt new file mode 100644 index 000000000..ccb32c3e3 --- /dev/null +++ b/tests/manual/custom-mesh-update-data-cpp/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from custom-mesh-update-data-cpp.pro. + +##################################################################### +## custom-mesh-update-data-cpp Binary: +##################################################################### + +qt_add_manual_test(custom-mesh-update-data-cpp + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DRender + Qt::3DExtras + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/custom-mesh-update-data-qml/CMakeLists.txt b/tests/manual/custom-mesh-update-data-qml/CMakeLists.txt new file mode 100644 index 000000000..e4d511f8d --- /dev/null +++ b/tests/manual/custom-mesh-update-data-qml/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from custom-mesh-update-data-qml.pro. + +##################################################################### +## custom-mesh-update-data-qml Binary: +##################################################################### + +qt_add_manual_test(custom-mesh-update-data-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Quick +) + +# Resources: +set(custom-mesh-update-data-qml_resource_files + "main.qml" +) + +qt_add_resource(custom-mesh-update-data-qml "custom-mesh-update-data-qml" + PREFIX + "/" + FILES + ${custom-mesh-update-data-qml_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/cylinder-cpp/CMakeLists.txt b/tests/manual/cylinder-cpp/CMakeLists.txt new file mode 100644 index 000000000..90e206dad --- /dev/null +++ b/tests/manual/cylinder-cpp/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from cylinder-cpp.pro. + +##################################################################### +## cylinder-cpp Binary: +##################################################################### + +qt_add_manual_test(cylinder-cpp + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/cylinder-parent-test/CMakeLists.txt b/tests/manual/cylinder-parent-test/CMakeLists.txt new file mode 100644 index 000000000..bc6ba42ec --- /dev/null +++ b/tests/manual/cylinder-parent-test/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from cylinder-parent-test.pro. + +##################################################################### +## cylinder-parent-test Binary: +##################################################################### + +qt_add_manual_test(cylinder-parent-test + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/cylinder-qml/CMakeLists.txt b/tests/manual/cylinder-qml/CMakeLists.txt new file mode 100644 index 000000000..9ef2d8fc9 --- /dev/null +++ b/tests/manual/cylinder-qml/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from cylinder-qml.pro. + +##################################################################### +## cylinder-qml Binary: +##################################################################### + +qt_add_manual_test(cylinder-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(cylinder-qml_resource_files + "main.qml" +) + +qt_add_resource(cylinder-qml "cylinder-qml" + PREFIX + "/" + FILES + ${cylinder-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:cylinder-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/deferred-renderer-cpp/CMakeLists.txt b/tests/manual/deferred-renderer-cpp/CMakeLists.txt new file mode 100644 index 000000000..84caa0c8f --- /dev/null +++ b/tests/manual/deferred-renderer-cpp/CMakeLists.txt @@ -0,0 +1,50 @@ +# Generated from deferred-renderer-cpp.pro. + +##################################################################### +## deferred-renderer-cpp Binary: +##################################################################### + +qt_add_manual_test(deferred-renderer-cpp + GUI + SOURCES + deferredrenderer.cpp deferredrenderer.h + finaleffect.cpp finaleffect.h + gbuffer.cpp gbuffer.h + main.cpp + pointlightblock.cpp pointlightblock.h + sceneeffect.cpp sceneeffect.h + sceneentity.cpp sceneentity.h + screenquadentity.cpp screenquadentity.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +# Resources: +set(deferred-renderer-cpp_resource_files + "final_gl2.frag" + "final_gl2.vert" + "final_gl3.frag" + "final_gl3.vert" + "geometry_gl2.frag" + "geometry_gl2.vert" + "geometry_gl3.frag" + "geometry_gl3.vert" +) + +qt_add_resource(deferred-renderer-cpp "deferred-renderer-cpp" + PREFIX + "/" + FILES + ${deferred-renderer-cpp_resource_files} +) + + +#### Keys ignored in scope 1:.:.:deferred-renderer-cpp.pro:<TRUE>: +# OTHER_FILES = "geometry_gl2.vert" "geometry_gl2.frag" "geometry_gl3.frag" "geometry_gl3.vert" "final_gl2.vert" "final_gl2.frag" "final_gl3.frag" "final_gl3.vert" + +## Scopes: +##################################################################### diff --git a/tests/manual/deferred-renderer-qml/CMakeLists.txt b/tests/manual/deferred-renderer-qml/CMakeLists.txt new file mode 100644 index 000000000..f2f3b31dc --- /dev/null +++ b/tests/manual/deferred-renderer-qml/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from deferred-renderer-qml.pro. + +##################################################################### +## deferred-renderer-qml Binary: +##################################################################### + +qt_add_manual_test(deferred-renderer-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(deferred-renderer-qml_resource_files + "DeferredRenderer.qml" + "FinalEffect.qml" + "GBuffer.qml" + "GBufferDebugger.qml" + "SceneEffect.qml" + "SceneEntity.qml" + "ScreenQuadEntity.qml" + "debug_es2.frag" + "debug_es2.vert" + "debug_gl3.frag" + "debug_gl3.vert" + "final_es2.frag" + "final_es2.vert" + "final_gl3.frag" + "final_gl3.vert" + "main.qml" +) + +qt_add_resource(deferred-renderer-qml "deferred-renderer-qml" + PREFIX + "/" + FILES + ${deferred-renderer-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:deferred-renderer-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "DeferredRenderer.qml" "FinalEffect.qml" "SceneEffect.qml" "SceneEntity.qml" "ScreenQuadEntity.qml" "GBuffer.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/distancefieldtext/CMakeLists.txt b/tests/manual/distancefieldtext/CMakeLists.txt new file mode 100644 index 000000000..1218f0c22 --- /dev/null +++ b/tests/manual/distancefieldtext/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from distancefieldtext.pro. + +##################################################################### +## distancefieldtext Binary: +##################################################################### + +qt_add_manual_test(distancefieldtext + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(distancefieldtext_resource_files + "TextScene.qml" + "main.qml" +) + +qt_add_resource(distancefieldtext "distancefieldtext" + PREFIX + "/" + FILES + ${distancefieldtext_resource_files} +) + + +#### Keys ignored in scope 1:.:.:distancefieldtext.pro:<TRUE>: +# OTHER_FILES = "TextScene.qml" "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/downloading/CMakeLists.txt b/tests/manual/downloading/CMakeLists.txt new file mode 100644 index 000000000..e2914416a --- /dev/null +++ b/tests/manual/downloading/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from downloading.pro. + +##################################################################### +## downloading Binary: +##################################################################### + +qt_add_manual_test(downloading + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(downloading_resource_files + "main.qml" +) + +qt_add_resource(downloading "downloading" + PREFIX + "/" + FILES + ${downloading_resource_files} +) + + +#### Keys ignored in scope 1:.:.:downloading.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/dragging/CMakeLists.txt b/tests/manual/dragging/CMakeLists.txt new file mode 100644 index 000000000..5ce4e8b7c --- /dev/null +++ b/tests/manual/dragging/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from dragging.pro. + +##################################################################### +## dragging Binary: +##################################################################### + +qt_add_manual_test(dragging + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(dragging_resource_files + "main.qml" +) + +qt_add_resource(dragging "dragging" + PREFIX + "/" + FILES + ${dragging_resource_files} +) + + +#### Keys ignored in scope 1:.:.:dragging.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/dynamic-model-loader-qml/CMakeLists.txt b/tests/manual/dynamic-model-loader-qml/CMakeLists.txt new file mode 100644 index 000000000..6ac3379e0 --- /dev/null +++ b/tests/manual/dynamic-model-loader-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from dynamic-model-loader-qml.pro. + +##################################################################### +## dynamic-model-loader-qml Binary: +##################################################################### + +qt_add_manual_test(dynamic-model-loader-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(dynamic-model-loader-qml_resource_files + "CuboidEntity.qml" + "SphereEntity.qml" + "main.qml" +) + +qt_add_resource(dynamic-model-loader-qml "dynamic-model-loader-qml" + PREFIX + "/" + FILES + ${dynamic-model-loader-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:dynamic-model-loader-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "SphereEntity.qml" "CuboidEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/dynamicscene-cpp/CMakeLists.txt b/tests/manual/dynamicscene-cpp/CMakeLists.txt new file mode 100644 index 000000000..a1a949b37 --- /dev/null +++ b/tests/manual/dynamicscene-cpp/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from dynamicscene-cpp.pro. + +##################################################################### +## dynamicscene-cpp Binary: +##################################################################### + +qt_add_manual_test(dynamicscene-cpp + GUI + SOURCES + boxentity.cpp boxentity.h + examplescene.cpp examplescene.h + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/enabled-qml/CMakeLists.txt b/tests/manual/enabled-qml/CMakeLists.txt new file mode 100644 index 000000000..b76029fe9 --- /dev/null +++ b/tests/manual/enabled-qml/CMakeLists.txt @@ -0,0 +1,34 @@ +# Generated from enabled-qml.pro. + +##################################################################### +## enabled-qml Binary: +##################################################################### + +qt_add_manual_test(enabled-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml +) + +# Resources: +set(enabled-qml_resource_files + "main.qml" +) + +qt_add_resource(enabled-qml "enabled-qml" + PREFIX + "/" + FILES + ${enabled-qml_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/gltf/CMakeLists.txt b/tests/manual/gltf/CMakeLists.txt new file mode 100644 index 000000000..a3128c5c5 --- /dev/null +++ b/tests/manual/gltf/CMakeLists.txt @@ -0,0 +1,123 @@ +# Generated from gltf.pro. + +##################################################################### +## gltf Binary: +##################################################################### + +qt_add_manual_test(gltf + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(gltf_example_resource_files + "Wine.qml" + "main.qml" +) + +qt_add_resource(gltf "gltf_example" + PREFIX + "/" + FILES + ${gltf_example_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/Wood_Cherry_Original_.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/Wood_Cherry_Original_.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/artezin_bottle.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/artezin_bottle.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.dae" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.dae" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine0FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine0FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine0VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine0VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine1FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine1FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine1VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine1VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine2FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine2FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine2VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine2VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine3FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine3FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine3VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine3VS.glsl" +) +set(gltf_resource_files + "assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" + "assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" + "assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" + "assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" + "assets/gltf/wine/Wood_Cherry_Original_.jpg" + "assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" + "assets/gltf/wine/artezin_bottle.jpg" + "assets/gltf/wine/wine.bin" + "assets/gltf/wine/wine.dae" + "assets/gltf/wine/wine.gltf" + "assets/gltf/wine/wine0FS.glsl" + "assets/gltf/wine/wine0VS.glsl" + "assets/gltf/wine/wine1FS.glsl" + "assets/gltf/wine/wine1VS.glsl" + "assets/gltf/wine/wine2FS.glsl" + "assets/gltf/wine/wine2VS.glsl" + "assets/gltf/wine/wine3FS.glsl" + "assets/gltf/wine/wine3VS.glsl" +) + +qt_add_resource(gltf "gltf" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${gltf_resource_files} +) + + +#### Keys ignored in scope 1:.:.:gltf.pro:<TRUE>: +# OTHER_FILES = "main.qml" "Wine.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/gooch-qml/CMakeLists.txt b/tests/manual/gooch-qml/CMakeLists.txt new file mode 100644 index 000000000..e2312a2b9 --- /dev/null +++ b/tests/manual/gooch-qml/CMakeLists.txt @@ -0,0 +1,71 @@ +# Generated from gooch-qml.pro. + +##################################################################### +## gooch-qml Binary: +##################################################################### + +qt_add_manual_test(gooch-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(gooch-qml_resource_files + "MyEntity.qml" + "main.qml" +) + +qt_add_resource(gooch-qml "gooch-qml" + PREFIX + "/" + FILES + ${gooch-qml_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt_add_resource(gooch-qml "obj" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${obj_resource_files} +) + + +#### Keys ignored in scope 1:.:.:gooch-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "MyEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/keyboardinput-qml/CMakeLists.txt b/tests/manual/keyboardinput-qml/CMakeLists.txt new file mode 100644 index 000000000..5aa9d9f74 --- /dev/null +++ b/tests/manual/keyboardinput-qml/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from keyboardinput-qml.pro. + +##################################################################### +## keyboardinput-qml Binary: +##################################################################### + +qt_add_manual_test(keyboardinput-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(keyboardinput-qml_resource_files + "SphereEntity.qml" + "main.qml" +) + +qt_add_resource(keyboardinput-qml "keyboardinput-qml" + PREFIX + "/" + FILES + ${keyboardinput-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:keyboardinput-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "SphereEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/layerfilter-qml/CMakeLists.txt b/tests/manual/layerfilter-qml/CMakeLists.txt new file mode 100644 index 000000000..92edaa974 --- /dev/null +++ b/tests/manual/layerfilter-qml/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from layerfilter-qml.pro. + +##################################################################### +## layerfilter-qml Binary: +##################################################################### + +qt_add_manual_test(layerfilter-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(layerfilter-qml_resource_files + "main.qml" +) + +qt_add_resource(layerfilter-qml "layerfilter-qml" + PREFIX + "/" + FILES + ${layerfilter-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:layerfilter-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/loader-qml/CMakeLists.txt b/tests/manual/loader-qml/CMakeLists.txt new file mode 100644 index 000000000..cbd7f679d --- /dev/null +++ b/tests/manual/loader-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from loader-qml.pro. + +##################################################################### +## loader-qml Binary: +##################################################################### + +qt_add_manual_test(loader-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(loader-qml_resource_files + "CuboidEntity.qml" + "SphereEntity.qml" + "main.qml" +) + +qt_add_resource(loader-qml "loader-qml" + PREFIX + "/" + FILES + ${loader-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:loader-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "SphereEntity.qml" "CuboidEntity.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/lod/CMakeLists.txt b/tests/manual/lod/CMakeLists.txt new file mode 100644 index 000000000..659db4d19 --- /dev/null +++ b/tests/manual/lod/CMakeLists.txt @@ -0,0 +1,44 @@ +# Generated from lod.pro. + +##################################################################### +## lod Binary: +##################################################################### + +qt_add_manual_test(lod + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(lod_resource_files + "ConeEntity.qml" + "CuboidEntity.qml" + "CylinderEntity.qml" + "SphereEntity.qml" + "main.qml" +) + +qt_add_resource(lod "lod" + PREFIX + "/" + FILES + ${lod_resource_files} +) + + +#### Keys ignored in scope 1:.:.:lod.pro:<TRUE>: +# DISTFILES = "ConeEntity.qml" "CuboidEntity.qml" "CylinderEntity.qml" "SphereEntity.qml" +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/manual-renderloop/CMakeLists.txt b/tests/manual/manual-renderloop/CMakeLists.txt new file mode 100644 index 000000000..20cd96c4d --- /dev/null +++ b/tests/manual/manual-renderloop/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from manual-renderloop.pro. + +##################################################################### +## manual-renderloop Binary: +##################################################################### + +qt_add_manual_test(manual-renderloop + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/mesh-morphing/CMakeLists.txt b/tests/manual/mesh-morphing/CMakeLists.txt new file mode 100644 index 000000000..f13f2a2c2 --- /dev/null +++ b/tests/manual/mesh-morphing/CMakeLists.txt @@ -0,0 +1,26 @@ +# Generated from mesh-morphing.pro. + +##################################################################### +## mesh-morphing Binary: +##################################################################### + +qt_add_manual_test(mesh-morphing + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickAnimation + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +## Scopes: +##################################################################### diff --git a/tests/manual/mouseinput-qml/CMakeLists.txt b/tests/manual/mouseinput-qml/CMakeLists.txt new file mode 100644 index 000000000..61473d0ff --- /dev/null +++ b/tests/manual/mouseinput-qml/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from mouseinput-qml.pro. + +##################################################################### +## mouseinput-qml Binary: +##################################################################### + +qt_add_manual_test(mouseinput-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(mouseinput-qml_resource_files + "main.qml" +) + +qt_add_resource(mouseinput-qml "mouseinput-qml" + PREFIX + "/" + FILES + ${mouseinput-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:mouseinput-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/multiplewindows-qml/CMakeLists.txt b/tests/manual/multiplewindows-qml/CMakeLists.txt new file mode 100644 index 000000000..7765159f5 --- /dev/null +++ b/tests/manual/multiplewindows-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from multiplewindows-qml.pro. + +##################################################################### +## multiplewindows-qml Binary: +##################################################################### + +qt_add_manual_test(multiplewindows-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(qml_resource_files + "Scene.qml" + "main.qml" +) + +qt_add_resource(multiplewindows-qml "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:multiplewindows-qml.pro:<TRUE>: +# DISTFILES = "Scene.qml" +# TEMPLATE = "app" + +## Scopes: +##################################################################### diff --git a/tests/manual/paintedtexture-cpp/CMakeLists.txt b/tests/manual/paintedtexture-cpp/CMakeLists.txt new file mode 100644 index 000000000..85c29d2c2 --- /dev/null +++ b/tests/manual/paintedtexture-cpp/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from paintedtexture-cpp.pro. + +##################################################################### +## paintedtexture-cpp Binary: +##################################################################### + +qt_add_manual_test(paintedtexture-cpp + GUI + SOURCES + main.cpp + scene.cpp scene.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui + Qt::Widgets +) + +## Scopes: +##################################################################### diff --git a/tests/manual/picking-qml/CMakeLists.txt b/tests/manual/picking-qml/CMakeLists.txt new file mode 100644 index 000000000..1de80aab8 --- /dev/null +++ b/tests/manual/picking-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from picking-qml.pro. + +##################################################################### +## picking-qml Binary: +##################################################################### + +qt_add_manual_test(picking-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::3DRenderPrivate + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(picking-qml_resource_files + "PickableEntity.qml" + "main.qml" +) + +qt_add_resource(picking-qml "picking-qml" + PREFIX + "/" + FILES + ${picking-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:picking-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/plasma/CMakeLists.txt b/tests/manual/plasma/CMakeLists.txt new file mode 100644 index 000000000..0db9b5008 --- /dev/null +++ b/tests/manual/plasma/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from plasma.pro. + +##################################################################### +## plasma Binary: +##################################################################### + +qt_add_manual_test(plasma + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(plasma_resource_files + "main.qml" + "plasma.frag" + "plasma.vert" +) + +qt_add_resource(plasma "plasma" + PREFIX + "/" + FILES + ${plasma_resource_files} +) + + +#### Keys ignored in scope 1:.:.:plasma.pro:<TRUE>: +# OTHER_FILES = "main.qml" "plasma.frag" "plasma.vert" + +## Scopes: +##################################################################### diff --git a/tests/manual/pointlinesize/CMakeLists.txt b/tests/manual/pointlinesize/CMakeLists.txt new file mode 100644 index 000000000..f724fbee0 --- /dev/null +++ b/tests/manual/pointlinesize/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from pointlinesize.pro. + +##################################################################### +## pointlinesize Binary: +##################################################################### + +qt_add_manual_test(pointlinesize + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(pointlinesize_resource_files + "Scene.qml" + "main.qml" +) + +qt_add_resource(pointlinesize "pointlinesize" + PREFIX + "/" + FILES + ${pointlinesize_resource_files} +) + + +#### Keys ignored in scope 1:.:.:pointlinesize.pro:<TRUE>: +# OTHER_FILES = "Scene.qml" "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/proximityfilter/CMakeLists.txt b/tests/manual/proximityfilter/CMakeLists.txt new file mode 100644 index 000000000..fff1c8d8a --- /dev/null +++ b/tests/manual/proximityfilter/CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from proximityfilter.pro. + +##################################################################### +## proximityfilter Binary: +##################################################################### + +qt_add_manual_test(proximityfilter + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Quick +) + +# Resources: +set(proximityfilter_resource_files + "main.qml" +) + +qt_add_resource(proximityfilter "proximityfilter" + PREFIX + "/" + FILES + ${proximityfilter_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/qtbug-72236/CMakeLists.txt b/tests/manual/qtbug-72236/CMakeLists.txt new file mode 100644 index 000000000..7f7ccd3cf --- /dev/null +++ b/tests/manual/qtbug-72236/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from qtbug-72236.pro. + +##################################################################### +## qtbug-72236 Binary: +##################################################################### + +qt_add_manual_test(qtbug-72236 + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/qtbug-76766/CMakeLists.txt b/tests/manual/qtbug-76766/CMakeLists.txt new file mode 100644 index 000000000..ef1d8c7c2 --- /dev/null +++ b/tests/manual/qtbug-76766/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from qtbug-76766.pro. + +##################################################################### +## qtbug-76766 Binary: +##################################################################### + +qt_add_manual_test(qtbug-76766 + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(qml_resource_files + "FrameGraph.qml" + "Material1.qml" + "Material2.qml" + "PostProcess.qml" + "SceneRoot.qml" + "expected_output.png" + "main.qml" +) + +qt_add_resource(qtbug-76766 "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) +set(shaders_resource_files + "shaders/shader.frag" + "shaders/shader.vert" +) + +qt_add_resource(qtbug-76766 "shaders" + PREFIX + "/" + FILES + ${shaders_resource_files} +) + + +#### Keys ignored in scope 1:.:.:qtbug-76766.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/manual/quickwidget-switch/CMakeLists.txt b/tests/manual/quickwidget-switch/CMakeLists.txt new file mode 100644 index 000000000..6ef9e1190 --- /dev/null +++ b/tests/manual/quickwidget-switch/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from quickwidget-switch.pro. + +##################################################################### +## quickwidget-switch Binary: +##################################################################### + +qt_add_manual_test(quickwidget-switch + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick + Qt::QuickWidgets + Qt::Widgets +) + +# Resources: +set(quickwidget-switch_resource_files + "main.qml" +) + +qt_add_resource(quickwidget-switch "quickwidget-switch" + PREFIX + "/" + FILES + ${quickwidget-switch_resource_files} +) + + +#### Keys ignored in scope 1:.:.:quickwidget-switch.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/manual/quickwindow-switch/CMakeLists.txt b/tests/manual/quickwindow-switch/CMakeLists.txt new file mode 100644 index 000000000..d1fa75f92 --- /dev/null +++ b/tests/manual/quickwindow-switch/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from quickwindow-switch.pro. + +##################################################################### +## quickwindow-switch Binary: +##################################################################### + +qt_add_manual_test(quickwindow-switch + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(quickwindow-switch_resource_files + "main.qml" +) + +qt_add_resource(quickwindow-switch "quickwindow-switch" + PREFIX + "/" + FILES + ${quickwindow-switch_resource_files} +) + + +#### Keys ignored in scope 1:.:.:quickwindow-switch.pro:<TRUE>: +# TEMPLATE = "app" diff --git a/tests/manual/raster-cpp/CMakeLists.txt b/tests/manual/raster-cpp/CMakeLists.txt new file mode 100644 index 000000000..d039fad82 --- /dev/null +++ b/tests/manual/raster-cpp/CMakeLists.txt @@ -0,0 +1,20 @@ +# Generated from raster-cpp.pro. + +##################################################################### +## raster-cpp Binary: +##################################################################### + +qt_add_manual_test(raster-cpp + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +## Scopes: +##################################################################### diff --git a/tests/manual/raster-qml/CMakeLists.txt b/tests/manual/raster-qml/CMakeLists.txt new file mode 100644 index 000000000..80ffbe893 --- /dev/null +++ b/tests/manual/raster-qml/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from raster-qml.pro. + +##################################################################### +## raster-qml Binary: +##################################################################### + +qt_add_manual_test(raster-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(raster-qml_resource_files + "main.qml" +) + +qt_add_resource(raster-qml "raster-qml" + PREFIX + "/" + FILES + ${raster-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:raster-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/raycasting-qml/CMakeLists.txt b/tests/manual/raycasting-qml/CMakeLists.txt new file mode 100644 index 000000000..7b1549f3f --- /dev/null +++ b/tests/manual/raycasting-qml/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from raycasting-qml.pro. + +##################################################################### +## raycasting-qml Binary: +##################################################################### + +qt_add_manual_test(raycasting-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(raycasting-qml_resource_files + "main.qml" +) + +qt_add_resource(raycasting-qml "raycasting-qml" + PREFIX + "/" + FILES + ${raycasting-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:raycasting-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/render-qml-to-texture-qml/CMakeLists.txt b/tests/manual/render-qml-to-texture-qml/CMakeLists.txt new file mode 100644 index 000000000..5cecc8e3c --- /dev/null +++ b/tests/manual/render-qml-to-texture-qml/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from render-qml-to-texture-qml.pro. + +##################################################################### +## render-qml-to-texture-qml Binary: +##################################################################### + +qt_add_manual_test(render-qml-to-texture-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(render-qml-to-texture-qml_resource_files + "InteractiveGui.qml" + "main.qml" +) + +qt_add_resource(render-qml-to-texture-qml "render-qml-to-texture-qml" + PREFIX + "/" + FILES + ${render-qml-to-texture-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:render-qml-to-texture-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/render-qml-to-texture/CMakeLists.txt b/tests/manual/render-qml-to-texture/CMakeLists.txt new file mode 100644 index 000000000..b87c58dd2 --- /dev/null +++ b/tests/manual/render-qml-to-texture/CMakeLists.txt @@ -0,0 +1,48 @@ +# Generated from render-qml-to-texture.pro. + +##################################################################### +## render-qml-to-texture Binary: +##################################################################### + +qt_add_manual_test(render-qml-to-texture + GUI + SOURCES + main.cpp + planematerial.cpp planematerial.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuick + Qt::3DQuickRender + Qt::3DQuickScene2D + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(render-qml-to-texture_resource_files + "OffscreenGui.qml" + "TextRectangle.qml" + "shaders/es2/texturing.frag" + "shaders/es2/texturing.vert" + "shaders/gl3/texturing.frag" + "shaders/gl3/texturing.vert" +) + +qt_add_resource(render-qml-to-texture "render-qml-to-texture" + PREFIX + "/" + FILES + ${render-qml-to-texture_resource_files} +) + + +#### Keys ignored in scope 1:.:.:render-qml-to-texture.pro:<TRUE>: +# DISTFILES = "OffscreenGui.qml" "TextRectangle.qml" +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/rendercapture-cpp/CMakeLists.txt b/tests/manual/rendercapture-cpp/CMakeLists.txt new file mode 100644 index 000000000..5a54bfd23 --- /dev/null +++ b/tests/manual/rendercapture-cpp/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from rendercapture-cpp.pro. + +##################################################################### +## rendercapture-cpp Binary: +##################################################################### + +qt_add_manual_test(rendercapture-cpp + GUI + SOURCES + main.cpp + mycapture.h + orbittransformcontroller.cpp orbittransformcontroller.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui + Qt::Widgets +) + +## Scopes: +##################################################################### diff --git a/tests/manual/rendercapture-qml-fbo/CMakeLists.txt b/tests/manual/rendercapture-qml-fbo/CMakeLists.txt new file mode 100644 index 000000000..74d2a6f33 --- /dev/null +++ b/tests/manual/rendercapture-qml-fbo/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from rendercapture-qml-fbo.pro. + +##################################################################### +## rendercapture-qml-fbo Binary: +##################################################################### + +qt_add_manual_test(rendercapture-qml-fbo + GUI + SOURCES + main.cpp + rendercaptureprovider.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(qml_resource_files + "CaptureScene.qml" + "main.qml" +) + +qt_add_resource(rendercapture-qml-fbo "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:rendercapture-qml-fbo.pro:<TRUE>: +# DISTFILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/rendercapture-qml/CMakeLists.txt b/tests/manual/rendercapture-qml/CMakeLists.txt new file mode 100644 index 000000000..04ae704bf --- /dev/null +++ b/tests/manual/rendercapture-qml/CMakeLists.txt @@ -0,0 +1,43 @@ +# Generated from rendercapture-qml.pro. + +##################################################################### +## rendercapture-qml Binary: +##################################################################### + +qt_add_manual_test(rendercapture-qml + GUI + SOURCES + main.cpp + rendercaptureprovider.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(qml_resource_files + "CaptureScene.qml" + "main.qml" +) + +qt_add_resource(rendercapture-qml "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:rendercapture-qml.pro:<TRUE>: +# DISTFILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/rhi/CMakeLists.txt b/tests/manual/rhi/CMakeLists.txt new file mode 100644 index 000000000..08074d3a7 --- /dev/null +++ b/tests/manual/rhi/CMakeLists.txt @@ -0,0 +1,33 @@ +# Generated from rhi.pro. + +##################################################################### +## rhi Binary: +##################################################################### + +qt_add_manual_test(rhi + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui +) + +# Resources: +set(qmake_immediate_resource_files + "qtlogo.png" +) + +qt_add_resource(rhi "qmake_immediate" + PREFIX + "/" + FILES + ${qmake_immediate_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/rigged-simple/CMakeLists.txt b/tests/manual/rigged-simple/CMakeLists.txt new file mode 100644 index 000000000..6a77e2aa5 --- /dev/null +++ b/tests/manual/rigged-simple/CMakeLists.txt @@ -0,0 +1,190 @@ +# Generated from rigged-simple.pro. + +##################################################################### +## rigged-simple Binary: +##################################################################### + +qt_add_manual_test(rigged-simple + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(rigged-simple_resource_files + "DefaultSceneEntity.qml" + "SkinnedEntity.qml" + "SkinnedPbrEffect.qml" + "main.qml" + "skinnedPbr.vert" +) + +qt_add_resource(rigged-simple "rigged-simple" + PREFIX + "/" + FILES + ${rigged-simple_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_irradiance.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_specular.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negz.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posz.webp" +) +set(cubemaps_resource_files + "assets/cubemaps/default/default_irradiance.dds" + "assets/cubemaps/default/default_specular.dds" + "assets/cubemaps/miramar/miramar_negx.webp" + "assets/cubemaps/miramar/miramar_negy.webp" + "assets/cubemaps/miramar/miramar_negz.webp" + "assets/cubemaps/miramar/miramar_posx.webp" + "assets/cubemaps/miramar/miramar_posy.webp" + "assets/cubemaps/miramar/miramar_posz.webp" +) + +qt_add_resource(rigged-simple "cubemaps" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${cubemaps_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/envmaps/cedar-bridge/cedar_bridge_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/envmaps/cedar-bridge/cedar_bridge_irradiance.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/envmaps/cedar-bridge/cedar_bridge_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/envmaps/cedar-bridge/cedar_bridge_specular.dds" +) +set(envmaps_resource_files + "assets/envmaps/cedar-bridge/cedar_bridge_irradiance.dds" + "assets/envmaps/cedar-bridge/cedar_bridge_specular.dds" +) + +qt_add_resource(rigged-simple "envmaps" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${envmaps_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/Wood_Cherry_Original_.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/Wood_Cherry_Original_.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/artezin_bottle.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/artezin_bottle.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.dae" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.dae" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine0FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine0FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine0VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine0VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine1FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine1FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine1VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine1VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine2FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine2FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine2VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine2VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine3FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine3FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine3VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine3VS.glsl" +) +set(gltf_resource_files + "assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" + "assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" + "assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" + "assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" + "assets/gltf/wine/Wood_Cherry_Original_.jpg" + "assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" + "assets/gltf/wine/artezin_bottle.jpg" + "assets/gltf/wine/wine.bin" + "assets/gltf/wine/wine.dae" + "assets/gltf/wine/wine.gltf" + "assets/gltf/wine/wine0FS.glsl" + "assets/gltf/wine/wine0VS.glsl" + "assets/gltf/wine/wine1FS.glsl" + "assets/gltf/wine/wine1VS.glsl" + "assets/gltf/wine/wine2FS.glsl" + "assets/gltf/wine/wine2VS.glsl" + "assets/gltf/wine/wine3FS.glsl" + "assets/gltf/wine/wine3VS.glsl" +) + +qt_add_resource(rigged-simple "gltf" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${gltf_resource_files} +) + + +#### Keys ignored in scope 1:.:.:rigged-simple.pro:<TRUE>: +# DISTFILES = "skinnedPbr.vert" +# OTHER_FILES = "main.qml" "DefaultSceneEntity.qml" "SkinnedEntity.qml" "SkinnedPbrEffect.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/scene3d-in-sync/CMakeLists.txt b/tests/manual/scene3d-in-sync/CMakeLists.txt new file mode 100644 index 000000000..2c172b9e7 --- /dev/null +++ b/tests/manual/scene3d-in-sync/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from scene3d-in-sync.pro. + +##################################################################### +## scene3d-in-sync Binary: +##################################################################### + +qt_add_manual_test(scene3d-in-sync + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DInput + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(scene3d-in-sync_resource_files + "main.qml" +) + +qt_add_resource(scene3d-in-sync "scene3d-in-sync" + PREFIX + "/" + FILES + ${scene3d-in-sync_resource_files} +) + + +#### Keys ignored in scope 1:.:.:scene3d-in-sync.pro:<TRUE>: +# OTHER_FILES = "main.qml" diff --git a/tests/manual/scene3d-loader/CMakeLists.txt b/tests/manual/scene3d-loader/CMakeLists.txt new file mode 100644 index 000000000..141065ea8 --- /dev/null +++ b/tests/manual/scene3d-loader/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from scene3d-loader.pro. + +##################################################################### +## scene3d-loader Binary: +##################################################################### + +qt_add_manual_test(scene3d-loader + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(scene3d-loader_resource_files + "AnimatedEntity.qml" + "Scene.qml" + "Scene2.qml" + "main.qml" +) + +qt_add_resource(scene3d-loader "scene3d-loader" + PREFIX + "/" + FILES + ${scene3d-loader_resource_files} +) + + +#### Keys ignored in scope 1:.:.:scene3d-loader.pro:<TRUE>: +# OTHER_FILES = "AnimatedEntity.qml" "main.qml" "Scene.qml" "Scene2.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/scene3d-visibility/CMakeLists.txt b/tests/manual/scene3d-visibility/CMakeLists.txt new file mode 100644 index 000000000..ffa3adc4e --- /dev/null +++ b/tests/manual/scene3d-visibility/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from scene3d-visibility.pro. + +##################################################################### +## scene3d-visibility Binary: +##################################################################### + +qt_add_manual_test(scene3d-visibility + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DInput + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(scene3d-visibility_resource_files + "main.qml" +) + +qt_add_resource(scene3d-visibility "scene3d-visibility" + PREFIX + "/" + FILES + ${scene3d-visibility_resource_files} +) + + +#### Keys ignored in scope 1:.:.:scene3d-visibility.pro:<TRUE>: +# OTHER_FILES = "main.qml" diff --git a/tests/manual/shader-image-qml/CMakeLists.txt b/tests/manual/shader-image-qml/CMakeLists.txt new file mode 100644 index 000000000..451284f40 --- /dev/null +++ b/tests/manual/shader-image-qml/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from shader-image-qml.pro. + +##################################################################### +## shader-image-qml Binary: +##################################################################### + +qt_add_manual_test(shader-image-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(shader-image-qml_resource_files + "image_512x512.jpg" + "main.qml" +) + +qt_add_resource(shader-image-qml "shader-image-qml" + PREFIX + "/" + FILES + ${shader-image-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:shader-image-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/shared_texture_image/CMakeLists.txt b/tests/manual/shared_texture_image/CMakeLists.txt new file mode 100644 index 000000000..96367e521 --- /dev/null +++ b/tests/manual/shared_texture_image/CMakeLists.txt @@ -0,0 +1,38 @@ +# Generated from shared_texture_image.pro. + +##################################################################### +## shared_texture_image Binary: +##################################################################### + +qt_add_manual_test(shared_texture_image + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(shared_texture_image_resource_files + "image.png" + "main.qml" +) + +qt_add_resource(shared_texture_image "shared_texture_image" + PREFIX + "/" + FILES + ${shared_texture_image_resource_files} +) + + +#### Keys ignored in scope 1:.:.:shared_texture_image.pro:<TRUE>: +# OTHER_FILES = "main.qml" diff --git a/tests/manual/sharedtexture/CMakeLists.txt b/tests/manual/sharedtexture/CMakeLists.txt new file mode 100644 index 000000000..0ce55db2d --- /dev/null +++ b/tests/manual/sharedtexture/CMakeLists.txt @@ -0,0 +1,23 @@ +# Generated from sharedtexture.pro. + +##################################################################### +## sharedtexture Binary: +##################################################################### + +qt_add_manual_test(sharedtexture + GUI + SOURCES + main.cpp + videoplayer.cpp videoplayer.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui + Qt::Multimedia + Qt::Widgets +) + +## Scopes: +##################################################################### diff --git a/tests/manual/sharedtextureqml/CMakeLists.txt b/tests/manual/sharedtextureqml/CMakeLists.txt new file mode 100644 index 000000000..c9a717ec0 --- /dev/null +++ b/tests/manual/sharedtextureqml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from sharedtextureqml.pro. + +##################################################################### +## sharedtextureqml Binary: +##################################################################### + +qt_add_manual_test(sharedtextureqml + GUI + SOURCES + ../sharedtexture/videoplayer.cpp ../sharedtexture/videoplayer.h + main.cpp + INCLUDE_DIRECTORIES + ../sharedtexture + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::GuiPrivate + Qt::Multimedia + Qt::Quick + Qt::Widgets +) + +# Resources: +set(qml_resource_files + "main.qml" +) + +qt_add_resource(sharedtextureqml "qml" + PREFIX + "/" + FILES + ${qml_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/simple-shaders-qml/CMakeLists.txt b/tests/manual/simple-shaders-qml/CMakeLists.txt new file mode 100644 index 000000000..9694f3848 --- /dev/null +++ b/tests/manual/simple-shaders-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from simple-shaders-qml.pro. + +##################################################################### +## simple-shaders-qml Binary: +##################################################################### + +qt_add_manual_test(simple-shaders-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(simple-shaders-qml_resource_files + "main.qml" + "simple-shader.frag" + "simple-shader.vert" +) + +qt_add_resource(simple-shaders-qml "simple-shaders-qml" + PREFIX + "/" + FILES + ${simple-shaders-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:simple-shaders-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "simple-shader.vert" "simple-shader.frag" + +## Scopes: +##################################################################### diff --git a/tests/manual/skinned-mesh/CMakeLists.txt b/tests/manual/skinned-mesh/CMakeLists.txt new file mode 100644 index 000000000..f3c6cc7e5 --- /dev/null +++ b/tests/manual/skinned-mesh/CMakeLists.txt @@ -0,0 +1,191 @@ +# Generated from skinned-mesh.pro. + +##################################################################### +## skinned-mesh Binary: +##################################################################### + +qt_add_manual_test(skinned-mesh + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DAnimation + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(skinned-mesh_resource_files + "DefaultSceneEntity.qml" + "SkinnedEntity.qml" + "SkinnedPbrEffect.qml" + "jump.json" + "main.qml" + "skinnedPbr.vert" +) + +qt_add_resource(skinned-mesh "skinned-mesh" + PREFIX + "/" + FILES + ${skinned-mesh_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_irradiance.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_specular.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negz.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posz.webp" +) +set(cubemaps_resource_files + "assets/cubemaps/default/default_irradiance.dds" + "assets/cubemaps/default/default_specular.dds" + "assets/cubemaps/miramar/miramar_negx.webp" + "assets/cubemaps/miramar/miramar_negy.webp" + "assets/cubemaps/miramar/miramar_negz.webp" + "assets/cubemaps/miramar/miramar_posx.webp" + "assets/cubemaps/miramar/miramar_posy.webp" + "assets/cubemaps/miramar/miramar_posz.webp" +) + +qt_add_resource(skinned-mesh "cubemaps" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${cubemaps_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/envmaps/cedar-bridge/cedar_bridge_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/envmaps/cedar-bridge/cedar_bridge_irradiance.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/envmaps/cedar-bridge/cedar_bridge_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/envmaps/cedar-bridge/cedar_bridge_specular.dds" +) +set(envmaps_resource_files + "assets/envmaps/cedar-bridge/cedar_bridge_irradiance.dds" + "assets/envmaps/cedar-bridge/cedar_bridge_specular.dds" +) + +qt_add_resource(skinned-mesh "envmaps" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${envmaps_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/Wood_Cherry_Original_.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/Wood_Cherry_Original_.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/artezin_bottle.jpg" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/artezin_bottle.jpg" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.bin" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.bin" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.dae" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.dae" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine.gltf" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine.gltf" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine0FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine0FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine0VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine0VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine1FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine1FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine1VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine1VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine2FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine2FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine2VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine2VS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine3FS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine3FS.glsl" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/gltf/wine/wine3VS.glsl" + PROPERTIES QT_RESOURCE_ALIAS "assets/gltf/wine/wine3VS.glsl" +) +set(gltf_resource_files + "assets/gltf/2.0/RiggedFigure/RiggedFigure.gltf" + "assets/gltf/2.0/RiggedFigure/RiggedFigure0.bin" + "assets/gltf/2.0/RiggedSimple/RiggedSimple.gltf" + "assets/gltf/2.0/RiggedSimple/RiggedSimple0.bin" + "assets/gltf/wine/Wood_Cherry_Original_.jpg" + "assets/gltf/wine/_2004_old_vine_zinfandel_btl_xlg.jpg" + "assets/gltf/wine/artezin_bottle.jpg" + "assets/gltf/wine/wine.bin" + "assets/gltf/wine/wine.dae" + "assets/gltf/wine/wine.gltf" + "assets/gltf/wine/wine0FS.glsl" + "assets/gltf/wine/wine0VS.glsl" + "assets/gltf/wine/wine1FS.glsl" + "assets/gltf/wine/wine1VS.glsl" + "assets/gltf/wine/wine2FS.glsl" + "assets/gltf/wine/wine2VS.glsl" + "assets/gltf/wine/wine3FS.glsl" + "assets/gltf/wine/wine3VS.glsl" +) + +qt_add_resource(skinned-mesh "gltf" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${gltf_resource_files} +) + + +#### Keys ignored in scope 1:.:.:skinned-mesh.pro:<TRUE>: +# DISTFILES = "skinnedPbr.vert" +# OTHER_FILES = "main.qml" "DefaultSceneEntity.qml" "SkinnedEntity.qml" "SkinnedPbrEffect.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/skybox/CMakeLists.txt b/tests/manual/skybox/CMakeLists.txt new file mode 100644 index 000000000..49262914a --- /dev/null +++ b/tests/manual/skybox/CMakeLists.txt @@ -0,0 +1,80 @@ +# Generated from skybox.pro. + +##################################################################### +## skybox Binary: +##################################################################### + +qt_add_manual_test(skybox + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(skybox_resource_files + "Skybox.qml" + "main.qml" +) + +qt_add_resource(skybox "skybox" + PREFIX + "/" + FILES + ${skybox_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_irradiance.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_specular.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negz.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posz.webp" +) +set(cubemaps_resource_files + "assets/cubemaps/default/default_irradiance.dds" + "assets/cubemaps/default/default_specular.dds" + "assets/cubemaps/miramar/miramar_negx.webp" + "assets/cubemaps/miramar/miramar_negy.webp" + "assets/cubemaps/miramar/miramar_negz.webp" + "assets/cubemaps/miramar/miramar_posx.webp" + "assets/cubemaps/miramar/miramar_posy.webp" + "assets/cubemaps/miramar/miramar_posz.webp" +) + +qt_add_resource(skybox "cubemaps" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${cubemaps_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/spritegrid/CMakeLists.txt b/tests/manual/spritegrid/CMakeLists.txt new file mode 100644 index 000000000..d7de183cc --- /dev/null +++ b/tests/manual/spritegrid/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from spritegrid.pro. + +##################################################################### +## spritegrid Binary: +##################################################################### + +qt_add_manual_test(spritegrid + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(spritegrid_resource_files + "main.qml" + "spritegrid.png" +) + +qt_add_resource(spritegrid "spritegrid" + PREFIX + "/" + FILES + ${spritegrid_resource_files} +) + + +#### Keys ignored in scope 1:.:.:spritegrid.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/subtree-enabler-qml/CMakeLists.txt b/tests/manual/subtree-enabler-qml/CMakeLists.txt new file mode 100644 index 000000000..e96a4f29c --- /dev/null +++ b/tests/manual/subtree-enabler-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from subtree-enabler-qml.pro. + +##################################################################### +## subtree-enabler-qml Binary: +##################################################################### + +qt_add_manual_test(subtree-enabler-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(subtree-enabler-qml_resource_files + "FrameGraph.qml" + "SimpleCamera.qml" + "main.qml" +) + +qt_add_resource(subtree-enabler-qml "subtree-enabler-qml" + PREFIX + "/" + FILES + ${subtree-enabler-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:subtree-enabler-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/tessellation-modes/CMakeLists.txt b/tests/manual/tessellation-modes/CMakeLists.txt new file mode 100644 index 000000000..637e60037 --- /dev/null +++ b/tests/manual/tessellation-modes/CMakeLists.txt @@ -0,0 +1,54 @@ +# Generated from tessellation-modes.pro. + +##################################################################### +## tessellation-modes Binary: +##################################################################### + +qt_add_manual_test(tessellation-modes + GUI + SOURCES + main.cpp + tessellatedquadmesh.cpp tessellatedquadmesh.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(tessellation-modes_resource_files + "BasicCamera.qml" + "TessellatedQuad.qml" + "TessellatedWireframeEffect.qml" + "TessellatedWireframeMaterial.qml" + "main.qml" + "shaders/flat.frag" + "shaders/isolines.tcs" + "shaders/isolines.tes" + "shaders/passthru.vert" + "shaders/phongwireframe.frag" + "shaders/quads.tcs" + "shaders/quads.tes" + "shaders/robustwireframe.geom" + "shaders/triangles.tcs" + "shaders/triangles.tes" +) + +qt_add_resource(tessellation-modes "tessellation-modes" + PREFIX + "/" + FILES + ${tessellation-modes_resource_files} +) + + +#### Keys ignored in scope 1:.:.:tessellation-modes.pro:<TRUE>: +# OTHER_FILES = "main.qml" "BasicCamera.qml" "TessellatedWireframeEffect.qml" "TessellatedWireframeMaterial.qml" "TessellatedQuad.qml" "shaders/*" + +## Scopes: +##################################################################### diff --git a/tests/manual/texture-updates-cpp/CMakeLists.txt b/tests/manual/texture-updates-cpp/CMakeLists.txt new file mode 100644 index 000000000..0a9141859 --- /dev/null +++ b/tests/manual/texture-updates-cpp/CMakeLists.txt @@ -0,0 +1,22 @@ +# Generated from texture-updates-cpp.pro. + +##################################################################### +## texture-updates-cpp Binary: +##################################################################### + +qt_add_manual_test(texture-updates-cpp + GUI + SOURCES + main.cpp + scene.cpp scene.h + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DExtras + Qt::3DInput + Qt::3DRender + Qt::Gui + Qt::Widgets +) + +## Scopes: +##################################################################### diff --git a/tests/manual/texture_property_updates/CMakeLists.txt b/tests/manual/texture_property_updates/CMakeLists.txt new file mode 100644 index 000000000..28e21153f --- /dev/null +++ b/tests/manual/texture_property_updates/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from texture_property_updates.pro. + +##################################################################### +## texture_property_updates Binary: +##################################################################### + +qt_add_manual_test(texture_property_updates + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DLogic + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(texture_property_updates_resource_files + "image.jpg" + "image2.jpg" + "main.qml" +) + +qt_add_resource(texture_property_updates "texture_property_updates" + PREFIX + "/" + FILES + ${texture_property_updates_resource_files} +) + + +#### Keys ignored in scope 1:.:.:texture_property_updates.pro:<TRUE>: +# OTHER_FILES = "main.qml" diff --git a/tests/manual/transforms-qml/CMakeLists.txt b/tests/manual/transforms-qml/CMakeLists.txt new file mode 100644 index 000000000..7612a0ede --- /dev/null +++ b/tests/manual/transforms-qml/CMakeLists.txt @@ -0,0 +1,73 @@ +# Generated from transforms-qml.pro. + +##################################################################### +## transforms-qml Binary: +##################################################################### + +qt_add_manual_test(transforms-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(transforms-qml_resource_files + "RenderableEntity.qml" + "TemporaryCamera.qml" + "TrefoilKnot.qml" + "main.qml" +) + +qt_add_resource(transforms-qml "transforms-qml" + PREFIX + "/" + FILES + ${transforms-qml_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/ball.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/ball.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/material-sphere.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/material-sphere.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/plane-10x10.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/plane-10x10.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/toyplane.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/toyplane.obj" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/obj/trefoil.obj" + PROPERTIES QT_RESOURCE_ALIAS "assets/obj/trefoil.obj" +) +set(obj_resource_files + "assets/obj/ball.obj" + "assets/obj/material-sphere.obj" + "assets/obj/plane-10x10.obj" + "assets/obj/toyplane.obj" + "assets/obj/trefoil.obj" +) + +qt_add_resource(transforms-qml "obj" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${obj_resource_files} +) + + +#### Keys ignored in scope 1:.:.:transforms-qml.pro:<TRUE>: +# OTHER_FILES = "main.qml" "RenderableEntity.qml" "TemporaryCamera.qml" "TrefoilKnot.qml" + +## Scopes: +##################################################################### diff --git a/tests/manual/transparency-qml-scene3d/CMakeLists.txt b/tests/manual/transparency-qml-scene3d/CMakeLists.txt new file mode 100644 index 000000000..7b560e5cc --- /dev/null +++ b/tests/manual/transparency-qml-scene3d/CMakeLists.txt @@ -0,0 +1,80 @@ +# Generated from transparency-qml-scene3d.pro. + +##################################################################### +## transparency-qml-scene3d Binary: +##################################################################### + +qt_add_manual_test(transparency-qml-scene3d + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(transparency-qml-scene3d_resource_files + "Scene.qml" + "main.qml" +) + +qt_add_resource(transparency-qml-scene3d "transparency-qml-scene3d" + PREFIX + "/" + FILES + ${transparency-qml-scene3d_resource_files} +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_irradiance.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_irradiance.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/default/default_specular.dds" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/default/default_specular.dds" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_negz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_negz.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posx.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posx.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posy.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posy.webp" +) +set_source_files_properties("../../../examples/qt3d/exampleresources/assets/cubemaps/miramar/miramar_posz.webp" + PROPERTIES QT_RESOURCE_ALIAS "assets/cubemaps/miramar/miramar_posz.webp" +) +set(cubemaps_resource_files + "assets/cubemaps/default/default_irradiance.dds" + "assets/cubemaps/default/default_specular.dds" + "assets/cubemaps/miramar/miramar_negx.webp" + "assets/cubemaps/miramar/miramar_negy.webp" + "assets/cubemaps/miramar/miramar_negz.webp" + "assets/cubemaps/miramar/miramar_posx.webp" + "assets/cubemaps/miramar/miramar_posy.webp" + "assets/cubemaps/miramar/miramar_posz.webp" +) + +qt_add_resource(transparency-qml-scene3d "cubemaps" + PREFIX + "/" + BASE + "../../../examples/qt3d/exampleresources" + FILES + ${cubemaps_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/transparency-qml/CMakeLists.txt b/tests/manual/transparency-qml/CMakeLists.txt new file mode 100644 index 000000000..b11f70ce0 --- /dev/null +++ b/tests/manual/transparency-qml/CMakeLists.txt @@ -0,0 +1,36 @@ +# Generated from transparency-qml.pro. + +##################################################################### +## transparency-qml Binary: +##################################################################### + +qt_add_manual_test(transparency-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(transparency-qml_resource_files + "main.qml" +) + +qt_add_resource(transparency-qml "transparency-qml" + PREFIX + "/" + FILES + ${transparency-qml_resource_files} +) + + +## Scopes: +##################################################################### diff --git a/tests/manual/video-texture-qml/CMakeLists.txt b/tests/manual/video-texture-qml/CMakeLists.txt new file mode 100644 index 000000000..6ede10af2 --- /dev/null +++ b/tests/manual/video-texture-qml/CMakeLists.txt @@ -0,0 +1,41 @@ +# Generated from video-texture-qml.pro. + +##################################################################### +## video-texture-qml Binary: +##################################################################### + +qt_add_manual_test(video-texture-qml + GUI + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::3DCore + Qt::3DInput + Qt::3DQuick + Qt::3DQuickExtras + Qt::3DQuickRender + Qt::3DRender + Qt::Gui + Qt::Qml + Qt::Quick +) + +# Resources: +set(video-texture-qml_resource_files + "main.qml" +) + +qt_add_resource(video-texture-qml "video-texture-qml" + PREFIX + "/" + FILES + ${video-texture-qml_resource_files} +) + + +#### Keys ignored in scope 1:.:.:video-texture-qml.pro:<TRUE>: +# DISTFILES = <EMPTY> +# OTHER_FILES = "main.qml" + +## Scopes: +##################################################################### diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt new file mode 100644 index 000000000..05b06d750 --- /dev/null +++ b/tools/CMakeLists.txt @@ -0,0 +1,5 @@ +# Generated from tools.pro. + +if(QT_FEATURE_assimp AND QT_FEATURE_commandlineparser) + add_subdirectory(qgltf) +endif() diff --git a/tools/qgltf/CMakeLists.txt b/tools/qgltf/CMakeLists.txt new file mode 100644 index 000000000..2cbc5de26 --- /dev/null +++ b/tools/qgltf/CMakeLists.txt @@ -0,0 +1,21 @@ +# Generated from qgltf.pro. + +##################################################################### +## qgltf Tool: +##################################################################### + +qt_add_tool(qgltf + SOURCES + qgltf.cpp + EXCEPTIONS # special case + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:qgltf.pro:<TRUE>: +# _OPTION = "host_build" + +## Scopes: +##################################################################### +include(../../src/3rdparty/assimp/assimp.cmake) +qt3d_extend_target_for_assimp(qgltf) diff --git a/usecases/CMakeLists.txt b/usecases/CMakeLists.txt new file mode 100644 index 000000000..50b306bb4 --- /dev/null +++ b/usecases/CMakeLists.txt @@ -0,0 +1,14 @@ +# Generated from use_cases.pro. + +##################################################################### +## use_cases Binary: +##################################################################### + +qt_add_executable(use_cases + GUI + PUBLIC_LIBRARIES + Qt::Gui +) + +#### Keys ignored in scope 1:.:.:use_cases.pro:<TRUE>: +# OTHER_FILES = "CleanQmlDream.qml" "ExternallyReferencedFrameGraphConfiguration.qml" "InlineFrameGraphConfiguration.qml" "ReferencedFrameGraphConfiguration.qml" "SampleFrameGraphConfiguration.qml" "OwnershipCompose.qml" |