summaryrefslogtreecommitdiffstats
path: root/examples/nfc/ndefeditor/ndefeditor.pro
blob: 5e2a80c716900bb02089ace3cf94705493bc0c86 (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
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

QT += nfc quick quickcontrols2

CONFIG += qmltypes
QML_IMPORT_NAME = NdefEditor
QML_IMPORT_MAJOR_VERSION = 1

TARGET = ndefeditor
TEMPLATE = app

SOURCES += \
    main.cpp \
    nfcmanager.cpp \
    nfctarget.cpp \
    ndefmessagemodel.cpp

HEADERS += \
    nfcmanager.h \
    nfctarget.h \
    ndefmessagemodel.h

qml_resources.files = \
    qmldir \
    Main.qml \
    MainWindow.qml \
    NdefRecordDelegate.qml

qml_resources.prefix = /qt/qml/NdefEditor

theme_resources.files = \
    icons/ndefeditor/20x20@2/add.png \
    icons/ndefeditor/20x20@2/arrow_back.png \
    icons/ndefeditor/20x20@2/file_download.png \
    icons/ndefeditor/20x20@2/file_upload.png \
    icons/ndefeditor/20x20@2/link.png \
    icons/ndefeditor/20x20@2/text_snippet.png \
    icons/ndefeditor/20x20@3/add.png \
    icons/ndefeditor/20x20@3/arrow_back.png \
    icons/ndefeditor/20x20@3/file_download.png \
    icons/ndefeditor/20x20@3/file_upload.png \
    icons/ndefeditor/20x20@3/link.png \
    icons/ndefeditor/20x20@3/text_snippet.png \
    icons/ndefeditor/20x20@4/add.png \
    icons/ndefeditor/20x20@4/arrow_back.png \
    icons/ndefeditor/20x20@4/file_download.png \
    icons/ndefeditor/20x20@4/file_upload.png \
    icons/ndefeditor/20x20@4/link.png \
    icons/ndefeditor/20x20@4/text_snippet.png \
    icons/ndefeditor/20x20/add.png \
    icons/ndefeditor/20x20/arrow_back.png \
    icons/ndefeditor/20x20/file_download.png \
    icons/ndefeditor/20x20/file_upload.png \
    icons/ndefeditor/20x20/link.png \
    icons/ndefeditor/20x20/text_snippet.png \
    icons/ndefeditor/index.theme

theme_resources.prefix = /

RESOURCES += qml_resources theme_resources

ios: QMAKE_INFO_PLIST = Info.qmake.plist

target.path = $$[QT_INSTALL_EXAMPLES]/nfc/ndefeditor
INSTALLS += target