diff options
Diffstat (limited to 'examples/widgets/widgets/tooltips/CMakeLists.txt')
-rw-r--r-- | examples/widgets/widgets/tooltips/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/widgets/widgets/tooltips/CMakeLists.txt b/examples/widgets/widgets/tooltips/CMakeLists.txt index 8126e7eb06..2172beba37 100644 --- a/examples/widgets/widgets/tooltips/CMakeLists.txt +++ b/examples/widgets/widgets/tooltips/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_AUTORCC ON) set(CMAKE_AUTOUIC ON) if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") + set(INSTALL_EXAMPLESDIR "examples") endif() set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/widgets/widgets/tooltips") @@ -20,17 +20,18 @@ qt_add_executable(tooltips shapeitem.cpp shapeitem.h sortingbox.cpp sortingbox.h ) + set_target_properties(tooltips PROPERTIES WIN32_EXECUTABLE TRUE MACOSX_BUNDLE TRUE ) + target_link_libraries(tooltips PUBLIC Qt::Core Qt::Gui Qt::Widgets ) - # Resources: set(tooltips_resource_files "images/circle.png" |