DISTFILES: Something special for Unix you won't use in most cases. From the docs:
Specifies a list of files to be included in the dist target. This feature is supported by UnixMake specs only.
OTHER_FILES: Files, that are part of you project, but not of the "build". This can be things like a readme, build hints, or any other stuff, that does not fit into any other categories
RESOURCES: .qrc-files, that will be compiled into the application.
Regarding the usage of those three with QML: You can basically use DISTFILES or OTHER_FILES for other files. In QtCreator they appear in a node as other files. These two are exchangeable for most developers. The Qt examples are local project, thus either they don't require a resource or have both, i.e. you can find the QML-files in for example OTHER_FILES and RESOURCES.
For QML-files, you should always use RESOURCES, to make sure they are within your binary.
DISTFILES: Something special for Unix you won't use in most cases. From the docs:
Specifies a list of files to be included in the dist target. This feature is supported by UnixMake specs only.
OTHER_FILES: Files, that are part of you project, but not of the "build". This can be things like a readme, build hints, or any other stuff, that does not fit into any other categories
RESOURCES: .qrc-files, that will be compiled into the application.
Regarding the usage of those three with QML: You can basically use DISTFILES or OTHER_FILES for other files. In QtCreator they appear in a node as other files. These two are exchangeable for most developers. The Qt examples are local project, thus either they don't require a resource or have both, i.e. you can find the QML-files in for example OTHER_FILES and RESOURCES.
For QML-files, you should always use RESOURCES, to make sure they are within your binary.
To copy to clipboard, switch view to plain text mode
Bookmarks