Details
-
User Story
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
Add 'workaround' for large asset files
qt_add_executable(testApp
main.cpp
)
qt_add_qml_module(testApp
URI TestApp
AUTO_RESOURCE_PREFIX # :/qt/qml
VERSION 1.0
QML_FILES
main.qml
)
Then we add the magic:
qt_add_resources(testApp "testApp_large_resources"
PREFIX /qt/qml/TestApp
BIG_RESOURCES
FILES
MassiveUnicodeFont.otf
)
Without this application can have unreasonable link times or do not link at all.