summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-ivi-addressbook
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2021Dominik Holland2021-06-023-27/+24
| | | | | | | Also removed all the SPDX tags and -QTAS license extensions. Change-Id: I06802ea7b48ad749db3a696e9ec598b4aec6892c Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* ivigenerator: Remove the "Module" postfix in the autogenerated classesDominik Holland2021-05-284-6/+6
| | | | | | | | | | | | | | | The module class which is autogenerated by the ivigenerator always got a postfix which was used to prevent compilation errors when module and interface had the same name. As we don't use any extra postfix for structs or interfaces either the "Module" postfix is now dropped as well and the module should rather be renamed already in the IDL file instead. Change-Id: I91bf95e824436e65e374aaf397ecd5c548444589 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Make the ivicore examples to be fully functional againDominik Holland2021-05-264-29/+15
| | | | | | | | | | | * Generation of QML Plugins fixed to work out of the box * Use correct folder structure for executables and plugins * Add optional DBus dependency for qface-tutorial * Remove the shader-effect from the qface-tutorial Change-Id: I212eade621ac9d741e1f0fe75ceef2c59c312865 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* cmake integration of the ivigeneratorDominik Holland2021-05-103-7/+14
| | | | | | | | | | | Rerun pro2cmake.py for all examples and tests. Ivigenerator based tests and examples are compiling fine, but the cmake files need to be reworked to be also able to run them. Task-number: AUTOSUITE-1633 Change-Id: Icb95ecfa62ecb319d042dc30ea9f643b69a4aacf Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* cmake: Start of cmake port using run_pro2cmake.py and friendsDominik Holland2021-03-264-0/+169
| | | | | | | | Some special cases are already addressed. Task-number: AUTOSUITE-1633 Change-Id: I5409522c1c5eb76b8aac3e7e332d1e1cc27e594f Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix all plugin class names to be unique within the moduleDominik Holland2019-10-301-1/+1
| | | | | | | | | | | | The plugin class name is used to instantiate the plugin when used as static plugin and also defines the name for the cmake files to include those plugins. Using the same name sometimes caused build errors when generating the same cmake file. Change-Id: I28e6b83148d14265fb74690d2b912628446301eb Fixes: AUTOSUITE-1322 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Remove the compile time dependency to QtQuickControls2Dominik Holland2019-04-232-4/+1
| | | | | | | | | Only the qface-ivi-addressbook example needed it for setting a specific style. The default QQC2 platform style should be good enough for our examples. Change-Id: Ibec54f4f34ad5fb616589ade26e621d7dad38d8e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Add the generation of a qmltypes for the simulation APIDominik Holland2019-02-151-0/+2
| | | | | | | | | | | | | | | | | | Similar to the frontend QML API, this adds the generation of a qmltypes file for the simulation API, which can be used in the simulation engine. Because QtCreator cannot handle the same import uris in different folder we always need to generate the frontend qmltypes together with the simulation qmltypes in one combined folder structure. For now the qmltypes are moved into the common folder and generated in the frontend and the backend_simulator template to make it easier to include them. Later the same files can be used for the qml_plugin generator. Task-number: AUTOSUITE-743 Change-Id: I49aecf4d158fc46dbc1eac80c707194440c5763f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Also use the qml_types filter for the uri of the simluation engineDominik Holland2019-02-151-1/+1
| | | | | | | | | | By also using the qml_types filter here, we make sure that the uri for the simulation is similar to the frontend API. (It just adds a extra .simulation at the end). Also juse the qface module version in the autogenerated QML API Change-Id: I4804302a18f7af93345a905c79dd86b00c77702b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Use the new autogenerated qmltypes in our examplesDominik Holland2019-02-153-3/+3
| | | | | | | | | | | | | | | Instead of registering the QML types with a custom uri, we now just use the default argument of the type registration and by that make sure that the types are registered with the same uri which was used in the qface file and the same which is used by the autogenerated qml types. Adding the QML_IMPORT_PATH to our autogenerated qmltypes makes sure QtCreator knows the type and can provide a code-completion Change-Id: Ifd4ce8ec32da240ccf0070b737fd02c17f8fe2dc Fixes: AUTOSUITE-743 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Make use of the qml_type filter also for modulesDominik Holland2019-02-111-1/+1
| | | | | | | | | | | | | | | | The qml_type tries to read both annotations now, qml_name and qml_type For modules the filter returns the module_name or the new name from the annotation. As before this can be used to register all types under a specific QML uri. The last section of the uri is now also used as the QML name for the module singleton holding all enums and factory functions. E.g. a module named "com.example.climate" will now make all its enums available from the "Climate" object (Climate.AutoRecirculation) Change-Id: I6481a34876d6c47bd8f34c946c7638e34cc857f1 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Change the qface examples to only build the configuration which is neededDominik Holland2019-01-102-2/+1
| | | | | | | | | | | | As long as the examples are not using frameworks on osx, it is better to only build the configuration which is needed, instead of building debug_and_release for the plugin and the libs. Not using frameworks could lead to loading a wrong plugin version when the application is build in debug mode, but the frameworks used are in release mode (or vice versa). Change-Id: Id5da6adafe5091edc489c22f36bc059542db2098 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-173-0/+3
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I4a6dbd46aaffbb90cea57626bd75e3972cea2cfc Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Update the addressbook exampleDominik Holland2018-12-051-0/+8
| | | | | Change-Id: I820277271cb968958649fe4144a886133d74fd5c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Clang-tidy and Clazy fixesDominik Holland2018-12-051-1/+1
| | | | | Change-Id: Id88db48e0e18761a9bc1b1014628bf0099c4e5cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix QIviSimulationEngine loadSimulation to use QUrl instead of QStringDominik Holland2018-10-251-1/+1
| | | | | Change-Id: I8f9caa83814519934fd244ae75817ae940e059a7 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Extend the addressbook example to use the new QIviSimulationEngineDominik Holland2018-10-155-1/+86
| | | | | | Task-number: AUTOSUITE-628 Change-Id: Ia90e42d801c68d91dd71b309ea4c518f349f13f9 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Merge remote-tracking branch 'origin/5.11' into devDominik Holland2018-09-271-1/+1
| | | | Change-Id: If48055bb577b4b59a836b2c4a00d940401b97c6a
* Build-system cleanupDominik Holland2018-09-141-1/+0
| | | | | | | | | | | | | | | | | Fix PLUGIN_CLASS_NAME in all places and remove PLUGIN_EXTENDS where it is not needed. For all plugins which are provided with the modules, fix the PLUGIN_EXTENDS to match the module name to also deliver the cmake file for these plugins. Renamed the MprisPlugin class name to not clash with the normal plugin name, as this is also used for the cmake filename. This should also fix build errors when trying to create the cmake files in non-existent folders. Change-Id: I102019fab327273903c8c378595c06a25964cfe8 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a addressbook example for models and custom simulationDominik Holland2018-07-279-0/+280
Adds the addressbook example which is used to explain how the autogeneration of models works. Task-number: AUTOSUITE-422 Change-Id: I2a0c6cba81dfdcf072da9584b731f170cc927711 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>