summaryrefslogtreecommitdiffstats
path: root/examples/widgets/richtext/textedit/CMakeLists.txt
blob: 487f708b3431e034d47fe6b5b44cb16c331bbc84 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# Generated from textedit.pro.

#####################################################################
## textedit Binary:
#####################################################################

add_qt_executable(textedit
    GUI
    OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit"
    INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/richtext/textedit"
    SOURCES
        main.cpp
        textedit.cpp textedit.h
    PUBLIC_LIBRARIES
        Qt::Widgets
)

# Resources:
add_qt_resource(textedit "textedit" PREFIX "/" FILES
    example.html
    images/logo32.png
    images/mac/checkbox-checked.png
    images/mac/checkbox.png
    images/mac/editcopy.png
    images/mac/editcut.png
    images/mac/editpaste.png
    images/mac/editredo.png
    images/mac/editundo.png
    images/mac/exportpdf.png
    images/mac/filenew.png
    images/mac/fileopen.png
    images/mac/fileprint.png
    images/mac/filesave.png
    images/mac/format-indent-less.png
    images/mac/format-indent-more.png
    images/mac/textbold.png
    images/mac/textcenter.png
    images/mac/textitalic.png
    images/mac/textjustify.png
    images/mac/textleft.png
    images/mac/textright.png
    images/mac/textunder.png
    images/mac/zoomin.png
    images/mac/zoomout.png
    images/win/checkbox-checked.png
    images/win/checkbox.png
    images/win/editcopy.png
    images/win/editcut.png
    images/win/editpaste.png
    images/win/editredo.png
    images/win/editundo.png
    images/win/exportpdf.png
    images/win/filenew.png
    images/win/fileopen.png
    images/win/fileprint.png
    images/win/filesave.png
    images/win/format-indent-less.png
    images/win/format-indent-more.png
    images/win/textbold.png
    images/win/textcenter.png
    images/win/textitalic.png
    images/win/textjustify.png
    images/win/textleft.png
    images/win/textright.png
    images/win/textunder.png
    images/win/zoomin.png
    images/win/zoomout.png)


#### Keys ignored in scope 1:.:.:textedit.pro:<TRUE>:
# EXAMPLE_FILES = "textedit.qdoc"
# TEMPLATE = "app"

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

extend_target(textedit CONDITION TARGET Qt::PrintSupport
    PUBLIC_LIBRARIES
        Qt::PrintSupport
)

#### Keys ignored in scope 3:.:.:textedit.pro:build_all AND NOT build_pass:
# CONFIG = "-build_all" "release"