diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-05-27 13:48:50 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-06-07 16:15:41 +0200 |
commit | db1ceebe72b806375c6cf4e4cafd8e8f81ad9dd9 (patch) | |
tree | b0eb01720e15806cb145590b941c13cc786fd2b7 /examples/winextras/iconextractor/CMakeLists.txt | |
parent | b61f0209c4ea9f92deaaa1828223f35c7fdb80e4 (diff) |
See QTBUG-89564 for overview and replacements for the APIs.
The Qt 6 porting guide will be updated to explain how to
move away from the removed module.
The 5.15 branch is still available for anyone wanting to
look at or incorporate code in their own projects.
Task-number: QTBUG-89564
Change-Id: I1f0afc5ba3e694623fbbb51f10967321e81f32c9
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/winextras/iconextractor/CMakeLists.txt')
-rw-r--r-- | examples/winextras/iconextractor/CMakeLists.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/examples/winextras/iconextractor/CMakeLists.txt b/examples/winextras/iconextractor/CMakeLists.txt deleted file mode 100644 index f0fc678..0000000 --- a/examples/winextras/iconextractor/CMakeLists.txt +++ /dev/null @@ -1,37 +0,0 @@ -# Generated from iconextractor.pro. - -cmake_minimum_required(VERSION 3.14) -project(iconextractor LANGUAGES CXX) - -set(CMAKE_INCLUDE_CURRENT_DIR ON) - -set(CMAKE_AUTOMOC ON) -set(CMAKE_AUTORCC ON) -set(CMAKE_AUTOUIC ON) - -if(NOT DEFINED INSTALL_EXAMPLESDIR) - set(INSTALL_EXAMPLESDIR "examples") -endif() - -set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/winextras/iconextractor") - -find_package(Qt6 COMPONENTS Core) -find_package(Qt6 COMPONENTS Gui) -find_package(Qt6 COMPONENTS WinExtras) - -add_executable(iconextractor - main.cpp -) -target_link_libraries(iconextractor PUBLIC - Qt::Core - Qt::Gui - Qt::WinExtras - shell32 - user32 -) - -install(TARGETS iconextractor - RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" - BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" - LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" -) |