summaryrefslogtreecommitdiffstats
path: root/examples/interfaceframework/qface-addressbook
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite the qface-addressbook example using modern Qt APIsDominik Holland2024-06-2517-493/+0
| | | | | | | | | | | | * Use new CMake API * Merged sub-folders into a single CMakeLists.txt * Remove the qmake support for this example * Rename folder to addressbook Task-number: QTBUG-117034 Pick-to: 6.8 Change-Id: Ifbcf4d50e1a6da249bd36836506b8cfed52aea14 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Start using the new literal operator from Qt::StringLiteralsDominik Holland2023-05-091-1/+3
| | | | | Change-Id: I4f5d723d01dc8e8e410920f96e6a445b194ac389 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix IF examples and their Creator compatibility on AndroidZoltan Gera2023-04-272-1/+3
| | | | | | | | | | | | | | | | | | | Interfaceframework examples were not working properly on Android as various OS specific deployment options were not set correctly. This caused blank screens when QML resources were not found and also frozen UIs when a backend plugin could not have been located. Android specific CMake settings are added which do not influence the desktop builds. The examples were tested for Creator compatibility. OUTPUT_NAME setting was removed from executables as Creator cannot deploy them correctly. Also Creator generated CMake project files are ignored from now on. Fixes: QTBUG-110675 Fixes: QTBUG-110674 Pick-to: 6.5 Change-Id: Icfee46dceac509949d7e092f4290df9efc3df68b Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Use SPDX license identifiersDominik Holland2022-06-154-181/+16
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Change-Id: I601c778c0e88c61cda97ef3bd0259faf39b915e5 Pick-to: 6.4 Task-number: QTBUG-67283 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Improve documentationBernd Weimer2022-06-141-6/+6
| | | | | | | | | Fixed a few spelling errors, broken links, etc., hyphenated "back-end" and "front-end" as an adjective. Pick-to: 6.2 6.3 6.4 Change-Id: Ifa1b3f0fdd2cb3990b2fa794b9c31daf12aae990 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-03-223-32/+8
| | | | | | | | | | | | | | | | | - Remove "# generated from xyz.pro" comment from pro2cmake - Remove automatic use of CMAKE_AUTORCC - Only opt into CMAKE_AUTOUIC if .ui files are involved - Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR - Combine multiple find_package(Qt6 ... calls) - use REQUIRED COMPONENTS - sort components alphabetically - Fix wrong indentations - Use (only) one empty line after multi-line commands Pick-to: 6.3 Change-Id: Id713547f4ab8c6d810d63a2e76716ecdd18828ac Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* ifcodegen: Update templates to add needed dependencies in CMake filesDominik Holland2022-03-013-14/+0
| | | | | | | | | | | | | The used cmake commands in qt_ifcodgen_extend_target now also contains statements for target_link_libraries for all dependencies. This makes the user CMake files simpler, as only the extra dependencies need to be specified. Pick-to: 6.3 Fixes: QTBUG-100409 Change-Id: Ie9afa186002b56a2aa8739e86e50bb3b383dd68c Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Add QML_IMPORT_PATH logic to the ifcodegen examplesDominik Holland2022-02-232-0/+12
| | | | | | | | | Similar to the qmake version, we also set the QML_IMPORT_PATH to the generated directories, in order to use the autogenerated qmltypes. Pick-to: 6.2 6.2.4 6.3 Change-Id: I521dc021d098b047f6b3bf3a513793386c614675 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Docs: 6.2 release reviewNicholas Bennett2021-11-021-16/+17
| | | | | | | | | | | | | | | Spelling and grammar check Applied principles of Qt Documentation guidelines where applicable Update the index page with some info from the "big picture" section from the extending qtIF page. Focused on the core module in this review. Future work could include breaking the chapters in the qface tutorial out into pages. Task-number: QTBUG-97118 Pick-to: 6.2 Change-Id: I3ac094f0ccafbb82995d7a4c8f3969d92db429be Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* CMake: Replace versioned with unversioned commands in all examplesDominik Holland2021-09-283-5/+5
| | | | | | Pick-to: 6.2 Change-Id: I9823f7a6e48bae72833fe5f0dd2862a9fd53ae09 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Raise cmake_minimum_required to VERSION 3.16 in examples and testsDominik Holland2021-09-221-1/+1
| | | | | | | Pick-to: 6.2 Task-number: QTBUG-95636 Change-Id: I937379606206401a3452b5b409e32e9a85772075 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Refactor examples and its documentationDominik Holland2021-09-2217-0/+679
* Remove -if- in example names * Replace _ in example names with - * Move all related docs and images to the example folder Pick-to: 6.2 Change-Id: I1fe38c7d4d735c48224c8bdf8622c701ab056070 Reviewed-by: Robert Griebl <robert.griebl@qt.io>