summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Automatically run the "qmltypes" target for every plugin5.9Dominik Holland2018-05-033-0/+21
| | | | | | | This will make it easier to keep the qmltypes files up to date Change-Id: Ia17a5e16a80aa4c4c3e421b951b89b43f2ddf075 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add qmltypes files for all QML pluginsDominik Holland2018-04-276-0/+961
| | | | | | Task-number: AUTOSUITE-292 Change-Id: I30b943dddd5fb25e9c93f2156be9f0f610b1d620 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix section levels in the Qt AS Overview pagev2.0_QtASTarja Sundqvist2018-02-211-3/+3
| | | | | | | | | | | Qt Automotive Suite Overview page contains section2 and section1 level titles. All titles changed as section1 (so the font size is same in each title). Task-number: QTAUTO-806 Change-Id: I2f732e87f3f33aa419dc332bbb1ea9ef3e70684d Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Remove incorrect information from Qt Automotive Suite documentationTarja Sundqvist2018-02-212-19/+3
| | | | | | | | | | Incorrect information and links removed from the Qt Automotive Suite documentation. Task-number: QTAUTO-806 Change-Id: I20dabe3480551414a236ad5ae43c065445e3d405 Reviewed-by: Miao Luo <miao.luo@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Fix the media_simulator to work on windowsDominik Holland2018-02-142-5/+15
| | | | | | | | QtMultimedia is not threadsafe. We now use a queued connection to set the current Track.w Change-Id: Ibb299805752efc29c1e2342e918f703007713418 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix signal emission bug in QIviSerchAndBrowseModelDominik Holland2018-02-142-1/+12
| | | | | | | | The availableContentTypesChanged signal is now emitted whenever it is changed from within the backend. Change-Id: Ia0867d7fbccce5695cd892c800f09002aeea737f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add command line options to the autogenerated control-panelDominik Holland2018-02-141-0/+9
| | | | | Change-Id: Iac5a30b99316c3c217361c165f6390a17dc59b4a Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Always generate class names with a uppercase first letter for modulesDominik Holland2018-02-1413-29/+33
| | | | | | | | | The module names within qface are most of the time lowercase, which lead to lowercase class names and also registering a lower case QML singelton, which is not allowed. Change-Id: Ie52bf5bf6c564dab9eabc6040859f70be6cd3cb7 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add FOSS page to Qt Automotive Suite documentationTarja Sundqvist2018-02-124-2/+58
| | | | | | | | | | Added a new page that refers to the Qt AS module documentation including FOSS information. Task-number: AUTOSUITE-185 Change-Id: I760d8c1f75c727fc5635e03a79d96b417b260504 Reviewed-by: Miao Luo <miao.luo@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* Fix deployment of the qface-ivi-climate exampleDominik Holland2018-02-093-3/+8
| | | | | | Task-number: AUTOSUITE-190 Change-Id: I18a9f4d00951d3b0284846d7ef2808f59a512ff8 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Mark QIviProperty and friends as obsoleteDominik Holland2018-02-073-0/+3
| | | | | Change-Id: If00460911c1742c76d738a18aa6152d5c581f4ed Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Cleanup unneeded filesDominik Holland2018-02-077-1572/+0
| | | | | Change-Id: I582e8c4c9aa137c6497594433ab751cd961d05f4 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a easy way to do a test-coverage runDominik Holland2018-02-073-0/+54
| | | | | | | | This is inspired by QtApplicationManagers version, but adapted for qtivi and it's autogeneration. Change-Id: I8880e277646f66b976787739e56206044577560a Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add an autotest generator templateDominik Holland2018-02-0718-5/+756
| | | | | | | | | | | | | | | | | The template generates a basic autotest for the generated API and the backend interfaces. It tests the following: - default behavior when no or an invalid backend is connected. - Changes from the backend are populated to the frontend API - Changes in the frontend are populated to the backend API The test are generated and executed for the autogenerator test as well as for the ivivehiclefunctions module Task-number: QTAUTO-365 Change-Id: Ie7ac78db821d930dca99c3e7db95c1d373460f85 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* ivigenerator: Also register all models in the generated module as MetaTypeDominik Holland2018-02-071-0/+4
| | | | | Change-Id: I2088261780e3b322358fcdf7894ab8f1197628c7 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* ivigenerator: Fix a problem generating signals without argumentsDominik Holland2018-02-063-2/+7
| | | | | | | Also added more signals to the generation autotest Change-Id: Iccbd16741ce8a4ecdbf69b04c0bd0b7357a652c2 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* doc: Improve QIviSearchAndBrowseModel documentationDominik Holland2018-02-062-10/+228
| | | | | | | Fix the broken links in the model overview documentation Change-Id: I555546d1df98af422de93da2d5fd0c3e7c059ced Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add support for static pluginsDominik Holland2018-02-0214-11/+310
| | | | | | | | | | | Static plugins are now also considered when searching for backend interfaces. Especially for static plugins it is now also supported to use the "simulation" key in the plugin metadata for adding simulation backends. Task-number: QTAUTO-402 Change-Id: I311e649b55549d4fb3ba9db1d520665a8b51f4b0 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* Add deploy tutorial to Qt Automotive documentationTarja Sundqvist2018-01-229-3/+135
| | | | | | | | | Added a tutorial for deploying projects with Qt Automotive kits. Task-number: QTAUTO-391 Change-Id: Ibdbf41eb925d9ad74a487bff81f31c16f6f3d5b7 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* doc: Improve the ivigenerator exampleDominik Holland2018-01-186-227/+189
| | | | | | | | | Add better step by step explanations. Make sure also the qface and yaml files are listed in the example Removed the copright headers from the project files Change-Id: I7f7480809efa52fae63a93a8724f86548fa160f6 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* doc: Minor fixesDominik Holland2018-01-164-5/+8
| | | | | | | | | | Add a reference to the "Qt Plugin System" documentation and add the "Extending QtIVI" page to the index page. Fix some linking issues Change-Id: Iaaa51c9a6fde177cb5ec2fe69b03344b93f6c2ed Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a "Getting Started" guide for the Qt IVI GeneratorDominik Holland2018-01-163-3/+84
| | | | | Change-Id: I94d7b76030de854086e915c2d9184a96360832f3 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix the manual type value in the project configuration fileTarja Sundqvist2018-01-161-1/+1
| | | | | | | | There was a wrong value in the document project's configuration file. Change-Id: I6789c675be0aa8f96cbbe79ab5b2f983fdc3e00e Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
* docs: Refactored the documentation entry pointDominik Holland2018-01-163-43/+27
| | | | | | | | | | | | | The index page is now shorter and explains what the module is used for and how it can be achieved. The available APIs have been moved into the "Reference API" page. The "Configuration" page now provides a link to the backends providing more runtime configurations. Change-Id: I10be9ee6566b77e4fc0d8309027f4d50113bd10e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update all Pelagicore copyright headers to 2018Dominik Holland2018-01-16234-234/+234
| | | | | Change-Id: I408c855d9619e20f481a592dc1f514b90af642f9 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Exit with error code 1 when the format is invalidDominik Holland2018-01-111-0/+1
| | | | | Change-Id: Ib02bb4f964c7f5daef56a8d9c3d74538d9310d4e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Document how a missing ivigenerator can be handled in user project filesDominik Holland2018-01-114-0/+26
| | | | | Change-Id: I602e0202457533cc9e6cfa8706577e1e951340e0 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add better usage documentation to the ivigeneratorDominik Holland2018-01-111-7/+11
| | | | | Change-Id: Iec68f40db8016c008f0d60d8edb2e67c259a4a11 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a check for the qface submodule into the configure stepDominik Holland2018-01-112-3/+21
| | | | | | | | | Also add a better error message for what needs to be done in case the ivigenerator dependencies are missing. Task-number: QTAUTO-715 Change-Id: I3419e2c58fff5cb284064cd06970e70515cbe5de Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Improve the qmake ivigenerator integrationDominik Holland2018-01-102-6/+10
| | | | | | | | | | | | | | | | Add a Makefile dependency towards the qface file to call the ivigenerator again once that has changed. Also introduce a '--force' flag to the ivigenerator which is used by qmake/make to ensure the output is always written when the ivigenerator is called. Otherwise the qface library is smart and will only change the files which actually needs to be changed. This is needed as 'make' is using timestamps to detect what needs to be recompiled and calls ivigenerator until the generated pri file is newer as its dependencies. Change-Id: I873d0e7e91febed4484468554bc320bb8cc66809 Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* Update Qt AS doc configurations for 2.0 releaseTarja Sundqvist2018-01-054-22/+47
| | | | | | | | The TOC list moved to an include file. A version number updated from 1.1 -> 2.0. Change-Id: I8c933eb831be091ccffe61934d23eedd74be8e3e Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Update NVIDIA Drive CX installation guideTarja Sundqvist2018-01-041-1/+4
| | | | | | | | | | NVIDIA Drive CX installation guide updated with a note that the flashing tool is only supported in Linux. Task-number: QTAUTO-367 Change-Id: I5eb78f0ddfc5dfe6fafc6313b654d7f35de2d34e Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
* Install the ivigenerator qmake features also when using system-ivigeneratorDominik Holland2017-12-202-1/+5
| | | | | | | | | | | This is needed for yocto to make sure the feature files are installed in the native part as well as on the target sysroot part. Other than in the normal qmake cross-compiling approach, yocto is always using the mkspec folder in the target sysroot. Change-Id: I44c393fbb327513a27c6d206172f837291057276 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivimedia: Fix off by one error when inserting albums or artistsDominik Holland2017-12-041-1/+1
| | | | | | | | When inserting and album or artist the index was off by one and the first track couldn't been started to play. Change-Id: I4cde5724bec3339854ee7b3892ecf3d840a6d051 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* QtGeniviExtras: Make sure to only register the contexts onceDominik Holland2017-11-301-2/+14
| | | | | | | | | | | | Fixed a bug where contexts where registered with the dlt-daemon on every call instead of only once. Also added a GENIVIEXTRAS_DEBUG define to make debugging easier in the future. Task-number: AUTOSUITE-169 Change-Id: I359d989e28b96d8eefa3e6f8ec100c8a71f305ba Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* media_simulator: Add support for adding Artists and Albums to the PlayQueueDominik Holland2017-11-282-11/+26
| | | | | | | | The media_simulator will now add all tracks of the given Album or Artist when using the insert function Change-Id: Ie66f8a296b1f7402db5b298e896b25426ee3175c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Show which backends will be built in the config summaryDominik Holland2017-11-274-6/+54
| | | | | | | | This will also enable us to configure which backends are needed. The mpris_backend is now only enabled on linux. Change-Id: Ia6aae080fdac5dbaa4172511a34d74492569f2c1 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivimedia: Fix media_simulator threading issuesDominik Holland2017-11-277-41/+64
| | | | | | | | | | | | | For multithreading to work correctly a connection cannot be shared over multiple threads. We now create one connection per backend interface. Inside the interface implementation there is now a own QThreadPool which is set to one thread. Every SQL operation needs to be done with QtConcurrent and queued up to make sure there are not multiple operations on the same SQL connection at the same time. Change-Id: Iee8bc2c8aebd6343d8b142b7ecbe699144f7a9d6 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivimedia: Improve the media_simulator backendDominik Holland2017-11-272-6/+43
| | | | | | | | | | | | The backend uses the "qt.ivi.media.media_simulator" logging category for now to log its current state. Fix a problem where sometimes the mediaplayer stopped playing tracks when changing them too often or too fast. We now save the state internally and request QtMultimedia again once the Media was loaded. Change-Id: I8d66ee671cd6921a0d0c4a18d80649fb50311223 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the deploy-virtualenv scriptDominik Holland2017-11-271-2/+2
| | | | | | | | Grep for 'libcrypto' and 'libssl' as 'crypto' is too generic and returns multiple results which the script cannot handle Change-Id: I361f2210be5e087a6e56867b3220902651c23df3 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix a crash in the media simulation indexerDominik Holland2017-11-271-0/+2
| | | | | | | Check whether libtag returned a valid object before using it. Change-Id: Ie10019a582c46ec479f401877325f23b6b782a6b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add fixes that enable the use of struct members in interfacesAntti Hölttä2017-11-248-6/+78
| | | | | | | | | | Add fixes for using structs in interfaces. Previously struct members for interfaces would not work because of missing includes. Add a filter function to the generator that lists structs an interface or a struct are depending on. Extend the echo testcase to use structs in more complex ways. Change-Id: I144903ba487a845d1182f90c4318e1187986a7fd Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Build the ivivehiclefunction-controller after ivicoreDominik Holland2017-11-212-0/+2
| | | | | | | | We depend on the qmake features from ivicore and can't start using them before the ivicore build is complete. Change-Id: Ic8018355315c5550cc9dbf24501cba9e0145c94d Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a command line option to force the qtsimulator feature to be enabledDominik Holland2017-11-212-3/+5
| | | | | | | | | This is needed for the yocto build as the native portion needs to contain the simulator templates, but qtsimulator doesn't have a native recipe and there is no real build dependency. Change-Id: I040472a8afb7959ee1735c0428b95816ee6e9f12 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* doc: Move all ivigenerator related documentation into its own folderDominik Holland2017-11-106-0/+0
| | | | | Change-Id: I45d117250af9501aacc6d57d3cca918b570cbf1f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* doc: Add documentation for all supported filtersDominik Holland2017-11-094-3/+194
| | | | | Change-Id: Iadf7f50892d1d066b815403336491e0920853d60 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Enable building docs againDominik Holland2017-11-091-1/+1
| | | | | Change-Id: I62747ba622a29c09b0dc7f448299b7654d87ea29 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* doc: Add a section about the qmake integration for qt modulesDominik Holland2017-11-091-0/+34
| | | | | Change-Id: Id0a77442a5a0a132be3a003380c243ccec15622e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Improve the build system to be more modularDominik Holland2017-11-099-23/+89
| | | | | | | | | | | | | | | | | The configure output is improved to now show whether a specific module is build or not. Either by showing the summary of features which are build for this module, or by hiding the section and Showing "Module... No" Dependencies between the modules have been added to the configure system to make it possible to disable specific modules and by that also disable all the modules depending on that. The build system has been changed to enable building only the modules which has been selected to be build. Change-Id: Ic70f23c159eee3fe7ce6c63aa6f785c8b754ce31 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add winrt to the platforms disabled on the CIDominik Holland2017-11-091-0/+1
| | | | | Change-Id: I87790cf954395ed3f1cc5ace4713bf7134b5349f Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>