qrc:/AlarmDelegate.qml:139: ReferenceError: alarmModel is not defined
Change-Id: Id92b377375006e08d25a593b6532a5eaeb5b35a0
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Use the modern RESOURCES syntax in the .pro file to replace the XML
file on disk.
Change-Id: I8dbfbe55242c93178e2bfcd2a1ad8f4d63a510bb
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Use the modern RESOURCES syntax in the .pro file to replace the XML
file on disk.
Change-Id: I3ea61d8eddb7e72cc49e8466ce23d0b08033d1bc
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
We can use the more modern onload handler instead of onreadystatechange.
Change-Id: I02017426d150e306c1ee1b8681923e8b51ff4539
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Replace the non-standard .pragma library style with the standard ES
modules and export statements for functions used from the outside.
Change-Id: Idd6bd0a5316edb690337b1b750c93060207d797b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
The root examples directory should not contains shared folders. In the
past multimedia was the only module installing things there, now the
qtdoc module started doing the same. Let's clean up both.
Fixes: QTBUG-69784
Change-Id: Id9f98711e1dff3f610bafddc2a8bebbb764e1504
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Change-Id: Id58c865511e866d69a22c3071fcf4ad23bf34b2d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Now that we ship en translations, we can use the
QTranslator::load(QLocale, ...) overload to correctly find translated
files.
See 785b12a4d126 for the corresponding change in qtdeclarative/5.11.
Task-number: QTBUG-69196
Change-Id: Ic7f7a2c70763f0c7200782d6e46644f2b3f7f3ef
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
We endorse using QTranslator::install(const QLocale&...), because
it tries loading translations from all QLocale::uiLanguages() instead
of the commonly used QLocale::system().name() setup.
Anyhow, the first method requires an English translation - otherwise
a second favorite language might be used.
Pave the way to making the switch by adding (empty) English translations
to our examples. EXTRA_TRANSLATIONS, in contrast to TRANSLATIONS, makes
sure that lupdate is not executed for this file.
Task-number: QTBUG-69196
Change-Id: Ie5e64c3499cc38fe5db4ab7dee68f0616be353cb
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
It doesn't make any sense to put .ts files into resources,
because QTranslator can only parse compiled .qm files.
Therefore the application does not load any translations
at all. This error was introduced in 70ce5f4d3e, when
the example was imported from qtdeclarative.
Anyhow, the previous version of the example in qtdeclarative
required the user to run lrelease manually, which is ugly
and made the example unfit for automatic testing.
Instead, use the new capabilities of qmake to compile
and embed translation files automatically.
Change-Id: Ic02171bfc9994ece3da658b69f0de0a27cb39cc5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
See 33a9fb9f4b57 for the corresponding change in qtdeclarative/5.11.
Change-Id: If7efac7f1aade858fa5fe92a3bc6d8aee7426407
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
These demos use several modules and moving them allows to use for
example Qt Quick Controls 2 in them.
The shared directory should be removed and the examples made
self-contained.
Change-Id: I5dc667d22388651894d7d145b65752bc5c5cf6cf
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
The directory will host more demos in the future so it is
wise to enable CI to build it and report issues, if any.
Change-Id: I97fbe8fc7589ec2c18e1dcb32c02a40332f9453b
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
The files of the 'texteditor' example under the /examples are not referred
to in the tutorial documentation that originally introduced it, nor is any
example documentation generated for it.
Remove the example as it ends up being copied into binary packages, which
is not intended.
This commit partially reverts 5cd576ea73.
Change-Id: Iff121f6f0a55c5b47cd6420559e184f599db3a3e
Task-number: QTBUG-48501
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-A new Getting Started guide that uses the Qt Designer and Qt Creator
workflow.
-Uses Controls, Layouts, and Window QML types.
-Written with Qt Creator 3.3 and Qt 5.4.
Task-number: QTBUG-33595
Change-Id: I75fe5d6b439255d867de75b6b5c7c26bc82491e0
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>