Commit Graph

13 Commits

Author SHA1 Message Date
Joerg Bornemann 02524fb04f Remove CMAKE_AUTORCC from demos
All demos are using qt6_add_resources.

Pick-to: 6.2 6.3
Task-number: QTBUG-87643
Change-Id: I14c7d876b2ac3b1a24cec78fbd4463a46c71e564
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2022-01-20 12:59:29 +01:00
Alexandru Croitor c401aaa21e CMake: Bump almost all cmake_minimum_required calls to 3.16
Needed for subsequent change that will check and error out if the
version is lower than 3.16. We do that to ensure all policies
introduced by CMake up to version 3.16 have their behavior set to
NEW.

Pick-to: 6.2
Task-number: QTBUG-95018
Change-Id: I23a59d7bfa89ffdacf8002b03657b7da38669ee2
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2021-09-22 19:51:30 +02:00
Kai Koehne 9194f8602b examples: Do not use versioned QML import
Ignore .ui.qml files though for now, until they are properly handled
by Qt Design Studio.

Task-number: QTBUG-89033
Change-Id: I85ea1dc2f85928e9fa1f473535687ab8b0288e9d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-12-02 16:04:51 +01:00
Fabian Kosmale 629a90fa22 tutorial/alarms: Do not use labs.calendar
The example doesn't actually use it anyway.

Pick-to: 6.0
Fixes: QTBUG-89026
Change-Id: Id6a7a44af8674a28113372de5ed080f18d1c287a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2020-12-01 15:06:09 +01:00
Alexandru Croitor 07b7d54679 CMake: Regenerate examples to set the WIN32_EXECUTABLE property
As well as the MACOSX_BUNDLE properties as necessary.

Task-number: QTBUG-87664
Change-Id: I474b13a0a78a33fff1d06b283a88b0c33a7dd524
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-10-26 21:19:52 +01:00
Robert Loehning 01b88573eb Examples: Don't enable high DPI scaling explicitly
Compiler complains that's deprecated and always on.

Change-Id: Ic42db6288cde5c95093715afd5df98368d67bd1f
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
2020-10-23 13:07:39 +02:00
Alexandru Croitor 8097af244f CMake: Regenerate examples to use qt_add_executable
Task-number: QTBUG-87661
Change-Id: Id97b3405ce69eb5db61790e8187a48762f3067db
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
2020-10-20 09:13:19 +02:00
Alexandru Croitor a48182cb96 CMake: Regenerate projects before API change
Task-number: QTBUG-86815
Change-Id: Id8da24b8a26f0263324a8fed5fd9cedbfa3ee11a
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2020-10-01 14:36:23 +02:00
Venugopal Shivashankar de6cc8c379 CMake: Port the build setup to CMake
Fixes: QTBUG-83910
Change-Id: If0ebd9d0b528cd84ffe92955b7d1c4d580d397fb
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-05-04 23:00:45 +02:00
Kai Koehne 4d57f6bc47 QtQuick: Fix & clean up alarms.pro
The current example didn't compile on Windows, because all Qt examples
require a target file.

Also clean up unnecessary parts generated by the Qt Creator wizard.

Change-Id: I40b834e544a146d3e232844e667d568b102bec5c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2018-11-06 07:51:55 +00:00
Nico Vertriest e8422196ce Doc: Update source code for deleting alarms
Rewrote delete statement in AlarmDelegate.qml

Change-Id: Ib112103c0666a6bce34576da5f38594ceac14788
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2018-10-15 12:26:44 +00:00
Nico Vertriest c8bc5e9eb8 Doc: Correct bug when deleting alarm
qrc:/AlarmDelegate.qml:139: ReferenceError: alarmModel is not defined

Change-Id: Id92b377375006e08d25a593b6532a5eaeb5b35a0
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2018-10-04 08:28:18 +00:00
Nico Vertriest 1df7011858 Doc: tutorial Get Started with Qt Quick
Task-number: QTBUG-68739
Change-Id: Ib14e4eb4c20583af2be9198539077f1be5ae471a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
2018-09-26 10:10:15 +00:00