summaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews/pixelator/CMakeLists.txt
blob: fc29cde3b1f87ab3282c52e330c17f730f5e4c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Generated from pixelator.pro.

#####################################################################
## pixelator Binary:
#####################################################################

add_qt_executable(pixelator
    GUI
    OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/pixelator"
    INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/itemviews/pixelator"
    SOURCES
        imagemodel.cpp imagemodel.h
        main.cpp
        mainwindow.cpp mainwindow.h
        pixeldelegate.cpp pixeldelegate.h
    LIBRARIES
        Qt::Widgets
)

# Resources:
add_qt_resource(pixelator "images" FILES
    images/qt.png)


## Scopes:
#####################################################################

extend_target(pixelator CONDITION TARGET Qt::PrintSupport
    LIBRARIES
        Qt::PrintSupport
)