diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-07-21 11:11:54 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-07-21 17:08:56 +0000 |
commit | c11916721e7fd808014296c3fb344c602dccee53 (patch) | |
tree | 1f9ba36913afd5f9ae97f6acd9d7155be9bfdaf9 /src | |
parent | 426854af0a4c17cc5c6ce98a4b34ba97573e7521 (diff) |
Doc: use the new .pro syntax for RESOURCES
A .qrc file is no longer mandatory. One can list resources directly
in the RESOURCES variable.
Change-Id: I172b6cfa0a16c3296794888bd2f40a4273739c32
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc index 98f9a212..1a1b7b3c 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-styles.qdoc @@ -154,25 +154,16 @@ In order to make it possible for Qt Quick Controls 2 to find the configuration file, it must be built into application's resources using the \l {The Qt Resource System}. - Here's an example \c .qrc file: - - \code - <!DOCTYPE RCC><RCC version="1.0"> - <qresource prefix="/"> - <file>qtquickcontrols2.conf</file> - </qresource> - </RCC> - \endcode \note Qt Quick Controls 2 uses a file selector to load the configuration file. It is possible to provide a different configuration file for different platforms and locales. See \l QFileSelector documentation for more details. - Finally, the \c .qrc file must be listed in the application's \c .pro file so that - the build system knows about it. For example: + Finally, the configuration file must be listed in the application's \c .pro file so + that the build system knows about it. For example: \code - RESOURCES = application.qrc + RESOURCES += qtquickcontrols2.conf \endcode \section1 Related Information |