diff options
Diffstat (limited to 'examples/qt3d/simple-qml')
-rw-r--r-- | examples/qt3d/simple-qml/.prev_CMakeLists.txt | 4 | ||||
-rw-r--r-- | examples/qt3d/simple-qml/CMakeLists.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/qt3d/simple-qml/.prev_CMakeLists.txt b/examples/qt3d/simple-qml/.prev_CMakeLists.txt index 8faa23b92..bf9829c31 100644 --- a/examples/qt3d/simple-qml/.prev_CMakeLists.txt +++ b/examples/qt3d/simple-qml/.prev_CMakeLists.txt @@ -29,6 +29,10 @@ find_package(Qt6 COMPONENTS 3DQuickExtras) qt_add_executable(simple-qml main.cpp ) +set_target_properties(simple-qml PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(simple-qml PUBLIC Qt::3DCore Qt::3DInput diff --git a/examples/qt3d/simple-qml/CMakeLists.txt b/examples/qt3d/simple-qml/CMakeLists.txt index 6049365c3..675b14396 100644 --- a/examples/qt3d/simple-qml/CMakeLists.txt +++ b/examples/qt3d/simple-qml/CMakeLists.txt @@ -29,6 +29,10 @@ find_package(Qt6 COMPONENTS 3DQuickExtras) qt_add_executable(simple-qml main.cpp ) +set_target_properties(simple-qml PROPERTIES + WIN32_EXECUTABLE TRUE + MACOSX_BUNDLE TRUE +) target_link_libraries(simple-qml PUBLIC Qt::3DCore Qt::3DInput |