blob: 871539cfc417ebedd84ee30c9a64ca4b3f9f471e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
qt_internal_add_test(tst_androidassets
SOURCES
tst_androidassets.cpp
PUBLIC_LIBRARIES
Qt::Gui
Qt::Qml
Qt::Quick
)
# add qml/*.qml files as assets instead of resources
file(
COPY qml/main.qml
DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/android-build/assets/qml/")
file(
COPY qml/pages/MainPage.qml
DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/android-build/assets/qml/pages/")
|