summaryrefslogtreecommitdiffstats
path: root/src/interfaceframework
Commit message (Collapse)AuthorAgeFilesLines
* doc: Update the "What's New" Page with 6.10 changesDominik Holland2025-07-251-0/+9
| | | | | | Pick-to: 6.10 Change-Id: I40e76d4c6d830740cf2e6d8d6272c5e2f12a96f3 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Update the "What's New" Page with 6.9 changesDominik Holland2025-07-251-0/+7
| | | | | | Pick-to: 6.10 6.9 Change-Id: Icac8db87f92f7a67b2a377ea6caba3ba19bcae4c Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Mark security critical files according to QUIP 23Zoltan Gera2025-05-153-0/+3
| | | | | | | Fixes: QTBUG-135758 Pick-to: 6.9 6.8 Change-Id: Id7933f012bbf124b721e79ad91962d68c91d75f3 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Use QElapsedTimer::start instead of restartVolker Hilsheimer2025-04-171-1/+1
| | | | | | | restart() becomes [[nodiscard]] in qtbase. Change-Id: Idfad41245d01135667989b573c1450f1f3795c3f Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
* Add missing QElapsedTimer includeDominik Holland2025-04-021-0/+1
| | | | | | Fixes: QTBUG-135435 Change-Id: I107968b073463187ac8b2c598f60e0620f7710d7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Doc: The documentation and the snippet seem to be contradictingDheerendra Purohit2025-03-271-3/+3
| | | | | | | | | | | | Add 'common.' prefix to Station type in Tuner interface Changed Station to common.Station everywhere This makes it clear that Station comes from the common module Fixes: QTBUG-134742 Pick-to: 6.9 6.8 6.5 Change-Id: I4f6071b71437e71fa0e6eb080ea678877c7f210a Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Update license checkLucie Gérard2025-03-203-2/+2
| | | | | | | | | | | | | | | | The module is now: - checked against quip18 [1] rules (licenseRule.json) - reuse compliant (REUSE.toml) - ready for source SBOM check [1] https://contribute.qt-project.org/quips/18 [ChangeLog][Third-Party Code] Rename license file with LICENSE. prefix. This way the file is ignored by the reuse tool. Task-number: QTBUG-131434 Pick-to: 6.8 6.9 Change-Id: Iaa52f0125719f5172f2e7522df816fcd3ced4928 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* doc: Update QML property types to use QML value typesDavid Boddie2025-02-201-3/+3
| | | | | | | | | | Fixed warnings from QDoc about invalid types Change-Id: Ia3cdfcdb5ef27c18dcf35b2a4e7dc4137a091195 Fixes: QTBUG-133958 Reviewed-by: Paul Wicking <paul.wicking@qt.io> (cherry picked from commit 3d058c5ca56dcb008aa6a57ad05f0ef94b35bcdb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Disable Python3 targets global promotingAlexey Edelev2025-01-152-0/+6
| | | | | | | | | | | | | SBOM procedures expose the Python3 package at very early stages, so 'qt_find_package(Python3' call fails to promote the Python3::Interpreter to global scope. Disable the global promotion of the Python3::Interpreter target if it's created before attempting to call 'qt_find_package(Python3'. Fixes: QTBUG-132791 Pick-to: 6.8 6.9 Change-Id: Icfbc04d1853de941959619fb7da99e977711fa44 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Enhance defaultServerMode with Android option and update annotationShveta Mittal2024-12-041-13/+13
| | | | | | | | | Added 'android' as a valid option for defaultServerMode, expanding beyond the previous 'gui' and 'headless' options. Moved defaultServerMode under the 'config' annotation for better organization, previously under 'config_simulator'. Task-number: QTBUG-130660 Change-Id: Ib7b730badbe47721c0a826c65ef4fb5832fc5ea0 Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
* Add flag for capturing target platform in generatorShveta Mittal2024-11-222-0/+6
| | | | | | | | This commit introduces a new flag to the generator to capture the target platform. This information will be passed from CMake to the Jinja templates, allowing for dynamic decision-making within the templates based on the specified target platform. Task-number: QTBUG-130661 Change-Id: I95fd6e075671b961c413c79a6342b538a96dd0f4 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Docs: fix incorrect annotation for config_simulator.defaultServerModeShveta Mittal2024-10-161-1/+1
| | | | | | | | | | The documentation incorrectly specified the annotation as 'defaultApplicationMode' instead of 'defaultServerMode' for config_simulator.defaultServerMode. This commit corrects the annotation to reflect the proper name, ensuring consistency with the intended configuration. Task-number: QTBUG-130082 Pick-to: 6.8 6.5 Change-Id: I057f4daec569f99a7bcdc897b502d896ebce6053 Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* doc: Use \keyword to link the versioned cmake macrosDominik Holland2024-09-051-6/+6
| | | | | | | | | \keyword need to be used instead of \target to make the versioned cmake macros also show up in the qhp files and be supported in QC as well. Change-Id: Ibf0f9dfb458312ebfe42671aefa630759f2fe9c7 Pick-to: 6.8 6.7 6.5 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: Replace aux target with a source_group for the IDE integrationDominik Holland2024-08-281-10/+3
| | | | | | | Pick-to: 6.8 6.7 6.5 6.2 Change-Id: I88223dbbd85a6bcfd8f14323ee884dd435d5c7a8 Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* qdoc: Fix \instantiates deprecation warningDominik Holland2024-08-2211-12/+12
| | | | | | | Pick-to: 6.8 Change-Id: I0dbaa8419a75e26e6925cac33792dc4737aba345 Reviewed-by: Robert Griebl <robert.griebl@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Register more QML types and their dependencies part 3Dominik Holland2024-08-222-2/+2
| | | | | | | | | | All QML_VALUE_TYPES need to start lowercase Pick-to: 6.8 6.7 6.5 Change-Id: I4a8b37229b0bb30595bcf4db25210cd5b8fb6e4f Reviewed-by: Soheil Armin <soheil.armin@qt.io> Reviewed-by: Robert Griebl <robert.griebl@qt.io> Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
* CMake: Add support for building with QT_BUILD_STANDALONE_EXAMPLESDominik Holland2024-08-221-6/+6
| | | | | | | | | Also make sure to show a FATAL_ERROR in case we couldn't find a working venv. Pick-to: 6.8 Change-Id: I2e4663a312eb163290cddf59e430d905498b8c95 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix compilation with older Qt versionsDominik Holland2024-08-081-0/+4
| | | | | | Change-Id: I28a45040cdff02cb8e8a81d3327ccf55695bedf2 Pick-to: 6.8 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Register QIfPendingReply as a value type for QMLDominik Holland2024-08-072-0/+54
| | | | | | | | | | | | | | | | | Although QIfPendingReply is a template class, only it's base class QIfPendingReplyBase is usable from QML. But as we use the template class in the C++ signature, we need to go some extra miles for the QML registration. This is now done by QIF_DECLARE_PENDINGREPLY which needs to be called for new types and is now automatically done for auto generated structs. All basic types are already registered and can be used without any additional steps. Pick-to: 6.8 Change-Id: Ibd82a1dd5dcd9bae0e32ca996f37d1dcafe4cbaa Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Register more QML types and their dependencies part 2Dominik Holland2024-08-072-1/+11
| | | | | | | | | | * Register QList<QIfServiceObject*> as a container for QML * Register QIfServiceHandle as a QML value type * Register generated structs as QML value type Pick-to: 6.8 6.7 6.5 Change-Id: I2bc75be08521d6428c3e83fe1629879e79efae60 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix compilation against older Qt versions part 2Dominik Holland2024-08-011-1/+3
| | | | | Change-Id: If8d1dc93758fd34ea9bbb2aedae1899e06d01ff0 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Register more QML types and their dependenciesDominik Holland2024-07-262-0/+10
| | | | | | | | | | * Link against QtQmlModels to resolve QModelIndex related type errors * Add a dependency towards QtQuick * Register the QIfServiceObject type Pick-to: 6.8 6.7 6.5 Change-Id: I76e8cb3d6d7528e1147db0bb4bfda41bfd49cfaf Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Update the the recommended CMake usage documentationDominik Holland2024-07-261-1/+11
| | | | | | | Pick-to: 6.8 Change-Id: I5f6cd2a9d4e2f81ad09d609dd4c9d1d5a654cf8d Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix compilation against older Qt versionsDominik Holland2024-07-262-0/+8
| | | | | | Change-Id: I1b0d1eeb849db9a80c71c541466d5861d3537fc1 Reviewed-by: Robert Griebl <robert.griebl@qt.io> Reviewed-by: Zoltan Gera <zoltan.gera@qt.io>
* doc: Update the "What's New" Page with 6.8 changesDominik Holland2024-07-263-1/+30
| | | | | | | Pick-to: 6.8 Fixes: QTBUG-126693 Change-Id: I0b2b3459ffff112ebcc59a772f9edf29c5a3048f Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Doc: Fix broken link to the remote exampleDominik Holland2024-07-261-2/+2
| | | | | | | Pick-to: 6.8 Change-Id: I2e7d7609079ea439f8e2ed2314aa73447db887a6 Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Remove some of the default tagsDominik Holland2024-07-101-1/+1
| | | | | | Pick-to: 6.8 Change-Id: Ib1c19dd8714dcfa3126589b4a1e721c31f28bf39 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix warnings caused by logging macro deprecationsZoltan Gera2024-06-262-3/+3
| | | | | | | | | | Q_DECLARE_EXPORTED_LOGGING_CATEGORY is deprecated in favor for using QT_DECLARE_EXPORTED_QT_LOGGING_CATEGORY. Also Q_STATIC_LOGGING_CATEGORY should be used whenever Q_LOGGING_CATEGORY is standing without a corresponding declaring macro. Change-Id: Ie9b6cfead2268d2355ba7b8a5613599d249c19d6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Fix build caused by logging category macro changesZoltan Gera2024-06-261-1/+2
| | | | | | | | | | The implementation of the Q_DECLARE_LOGGING_CATEGORY macro changed causing export macros written preceding it failing. Using of the Q_DECLARE_EXPORTED_LOGGING_CATEGORY macro is required instead. Pick-to: 6.8 6.7 6.5 Change-Id: I2ac56aa0794602cbbab5ad3ebbeb75eb334c2def Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* CMake: Change default output dir of qt_ifcodegen_add_qml_moduleDominik Holland2024-06-252-2/+7
| | | | | | | | | The new default OUTPUT_DIRECTORY is now the URI with dots replaced by forward slashes. Pick-to: 6.8 Change-Id: I1a3b069483ca7d37731effc49d3fb0d5f537ed12 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Add documentation for thew QIfConfiguration variablesDominik Holland2024-06-202-0/+14
| | | | | | Pick-to: 6.8 Change-Id: Ifacfe15069e0f6d010c54543381af76800bcd5a4 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Add env override support for asynchronousBackendLoading propertyDominik Holland2024-06-202-4/+29
| | | | | | Pick-to: 6.8 Change-Id: I085667f0ea04c1f13e1803c4beeee64708e42efa Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* QIfConfiguration: Change default value of backendUpdatesEnabledDominik Holland2024-06-202-3/+5
| | | | | | | | | The default value should return true, as QIfAbstractFeature does as well. Also improve the autotest coverage. Pick-to: 6.8 Change-Id: I2dbac0b23fc6481d5f951f4fffd01727133f2c8d Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Fix some more link errorsDominik Holland2024-06-192-3/+3
| | | | | | Pick-to: 6.8 Change-Id: I04026bd63b5cb7fc7d14eed6c5c1ce4228cfdb6e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Add QML documentation for the ServiceObjectDominik Holland2024-06-191-0/+41
| | | | | | Pick-to: 6.8 6.7 6.6 6.5 Change-Id: I5f773b9026ec2b183f25d403e6bfba04ba99ff4f Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Add missing \since 6.5 statements and other missing documentationsDominik Holland2024-06-194-0/+43
| | | | | | Pick-to: 6.8 6.7 6.6 6.5 Change-Id: I7a6c40dfff782793a2b204a5f3bcef827e58d703 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Add missing \since 6.8 flags to new methods and propertiesDominik Holland2024-06-193-7/+17
| | | | | | Pick-to: 6.8 Change-Id: Ia2a063fc91f66d90d3961ad81ce99b1cbff5d5d4 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Add documentation for the new asynchronous backend loading featureDominik Holland2024-06-195-6/+260
| | | | | | Pick-to: 6.8 Change-Id: I9f9474167d61c96bf00427baf34e667f86e8018e Reviewed-by: Nicholas Bennett <nicholas.bennett@qt.io>
* cmake: Only remove ifcodegen output folder if conditions are trivialZoltan Gera2024-06-191-2/+6
| | | | | | | | | | | | | | The user can set the output folder for code generation to be the current binary folder of the build. In this case, a simple prefix check is passing while the current folder can contain other cmake-related data which is removed unintentionally. Removing the folder should only be done if the output folder is a real subfolder of the current build directory and it has the name of the template, so the use case is the default one usually set. Pick-to: 6.8 Change-Id: Iac0eb4f470bfeb677192decf0b73a5288472ae70 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* QIfServiceManager: Fix wrong logging category for plugin search messageDominik Holland2024-06-181-1/+1
| | | | | | | | | The summary for how long the plugin search took was sent using the wrong logging category. Pick-to: 6.8 Change-Id: If2587ed7e678dee94f0160de5f0197da609d50d2 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Automatically enable asynchronousBackendLoading inside async LoadersDominik Holland2024-06-182-0/+23
| | | | | | | | It is still possible to disable it by explicitly setting it to false. Pick-to: 6.8 Change-Id: If1205502e841bd027850a9b46ea0d574e8c3d730 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix axivion warnings and QML registration of QIfServiceObjectHandleDominik Holland2024-06-171-1/+3
| | | | | | Pick-to: 6.8 Change-Id: I14993a14780862de8034823a2e102c144b017c04 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* QIfServiceManager: Add logs/performance output for the plugin searchDominik Holland2024-06-141-2/+14
| | | | | | | | | The output should help to determine what files are considered to be a plugin and how long the search takes in total. Pick-to: 6.8 Change-Id: Ib0432c892133666f48a44d5bfe18c4fb515fa9f5 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: Fix setBackendUpdatesEnabled documentationDominik Holland2024-06-142-4/+4
| | | | | | | | Correctly reference the setBackendUpdatesEnabled() function. Pick-to: 6.8 Change-Id: I9ce7ba500b956ebfccdb6a6ae198d513268a89fe Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Add support for asynchronous backend loadingDominik Holland2024-06-1411-73/+459
| | | | | | | | | | | | | | Backend plugins can now be loaded inside a separate thread. For this usecase a new QIfServiceObjectHandle class is introduced which is returned using a new findServiceHandleByInterface function. The handles can be loaded asynchronously using a new loadServiceObject() function. Documentation will be added in a followup commit. Pick-to: 6.8 Change-Id: I70b39f3288187a839196182e8c2c78b9d89bab18 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Reparent all rootObjects of the QIfSimulationEngine to the engine itselfDominik Holland2024-06-141-0/+6
| | | | | | | | | | This is done to make it possible to move the engine including all created objects to a different thread, which is needed for the asynchronous backend loading. Pick-to: 6.8 Change-Id: I8230d5b9d1b875664002934f62d8a51e70ed7052 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* cmake: Regenerate code when the TEMPLATE argument changesZoltan Gera2024-06-131-1/+23
| | | | | | | | | | | | Keep track of all parameters from the calls of ifcodegen, so forcing a regeneration can be done in case parameters change. Also unsuccessful ifcodegen calls are automatically retried until they succeed. All this affects cmake's configuration time logic regarding ifcodegen usage. Fixes: QTBUG-100411 Pick-to: 6.8 Change-Id: I9cef009aae460072b0e1fc2ca988d7f254dcfb11 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Use Python venv instead of virtualenv everywhereZoltan Gera2024-06-054-37/+69
| | | | | | | | | | | | | | | | Python has venv in its standard library set, so using it instead of the virtualenv package can make virtual environment deployment easier with less dependencies used. The newer venv package is now used for both compiled and interpreted workflows. Instead of making virtual environments relocatable, they are distributed with a generated requirements file which makes it possible for them to be regenerated after relocation. Fixes: QTBUG-104239 Pick-to: 6.8 Change-Id: I7795457be74637188ad1b1c448cca117491e4799 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* CMake: Improve the ifcodegen warning reporting for QtCreatorDominik Holland2024-06-051-3/+5
| | | | | | | | | | | | | | | For every warning reported by ifcodegen we already send a CMAKE_WARNING with the corresponding message. This is useful to see the CMake call causing the warning, but it doesn't highlight the file the warning is in. In addition we now also post the full warning including the file as a normal CMake message. This is picked up by QtCreator and shows the error directly and the correct file and line number. Pick-to: 6.8 Change-Id: Ib2af05dc3c37d71eea6f85b78361e87f275a6be7 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* CMake: Fix module build using -DQT_BUILD_TESTS=ONDominik Holland2024-06-041-67/+64
| | | | | | | | | | Make sure to always create a dummy target until ifcodegen is ready to be used. Pick-to: 6.8 Change-Id: I3153a33073be0c23e8070d37f8fdd0217fd26eb1 Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Robert Griebl <robert.griebl@qt.io>