61 lines
1.2 KiB
Prolog
61 lines
1.2 KiB
Prolog
# 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
|