aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/contactlist/contactlist.pro
blob: 2fead8318641079d17c2510829caf1b6515cebd6 (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
TEMPLATE = app
TARGET = contactlist
QT += quick

CONFIG += qmltypes

QML_IMPORT_PATH = $$pwd/.
QML_IMPORT_NAME = contactlist
QML_IMPORT_MAJOR_VERSION = 1

HEADERS += \
    contactmodel.h

SOURCES += \
    main.cpp \
    contactmodel.cpp

qml_resources.files = \
    qmldir \
    ContactDelegate.ui.qml \
    ContactDialog.qml \
    ContactForm.ui.qml \
    ContactList.qml \
    ContactView.ui.qml \
    designer/Backend/ContactModel.qml \
    SectionDelegate.ui.qml

qml_resources.prefix = /qt/qml/contactlist

RESOURCES += qml_resources

# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH = $$PWD/designer

OTHER_FILES += \
    designer/Backend/*.qml

target.path = $$[QT_INSTALL_EXAMPLES]/quickcontrols/contactlist
INSTALLS += target