diff options
Diffstat (limited to 'examples/quickcontrols/filesystemexplorer/filesystemexplorer.pro')
-rw-r--r-- | examples/quickcontrols/filesystemexplorer/filesystemexplorer.pro | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/examples/quickcontrols/filesystemexplorer/filesystemexplorer.pro b/examples/quickcontrols/filesystemexplorer/filesystemexplorer.pro new file mode 100644 index 0000000000..371baac41a --- /dev/null +++ b/examples/quickcontrols/filesystemexplorer/filesystemexplorer.pro @@ -0,0 +1,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 |