aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/filesystemexplorer/filesystemexplorer.pro
blob: 371baac41a114c158d56a23621bc508f750c8092 (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
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

android|ios {
    error( "Platform not supported" )
}

QT += quick

CONFIG += qmltypes

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

TARGET = filesystemexplorer
TEMPLATE = app

SOURCES += \
    main.cpp \
    filesystemmodel.cpp \
    linenumbermodel.cpp \

HEADERS += \
    filesystemmodel.h \
    linenumbermodel.h \

qml_resources.files = \
    qmldir \
    Main.qml \
    qml/About.qml \
    qml/Colors.qml \
    qml/Editor.qml \
    qml/MyMenu.qml \
    qml/Sidebar.qml \
    qml/MyMenuBar.qml \
    qml/ResizeButton.qml \
    qml/FileSystemView.qml \
    qml/WindowDragHandler.qml \

qml_resources.prefix = /qt/qml/FileSystemModule

theme_resources.files = \
    icons/folder_closed.svg \
    icons/folder_open.svg \
    icons/generic_file.svg \
    icons/globe.svg \
    icons/info_sign.svg \
    icons/light_bulb.svg \
    icons/read.svg \
    icons/resize.svg \
    icons/qt_logo.svg \
    icons/app_icon.svg

theme_resources.prefix = /qt/qml/FileSystemModule

RESOURCES += qml_resources theme_resources

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