aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ivigenerator: Fix the timing issue when install the virtualenvDominik Holland2019-07-081-0/+1
| | | | | | | | | | | | | | | | On macos we need a additional install rule to make sure the hidden .Python library is installed into the virtualenv as well. This needs to be done after the virtualenv has been installed, as otherwise the virtualenv might not be copied because the folder already exists. Change-Id: Id6c467dccd5bcc5db77fc647c6c48ff24f784983 Fixes: AUTOSUITE-950 Fixes: AUTOSUITE-1012 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix build to work without the QtGui moduleDominik Holland2019-07-087-10/+10
| | | | | | | | Tests are skipped in this configuration because a lot of tests rely on QtQuick being available. Change-Id: I1a1661474f9279f2a8f7c3de24786629e73f75a4 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Remove check for registered DLT applicationBernd Weimer2019-03-181-2/+0
| | | | | | | | This allows to register a logging category before an application, which is permitted by the DLT API. Change-Id: Idfc2b4450c1369bca8a80294eccc148586bb6dc0 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* [docs] Use a higher resolution imageKavindra Palaraja2019-03-061-0/+0
| | | | | | | * The image we had wasn't crisp enough, resulting in blurred text Change-Id: If5620f6d24b18f0c31f4e8512f334ac0d444efce Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Doc: Link to the Deployment Server documentation from top-levelv5.12.1_QtASTopi Reinio2019-02-182-6/+16
| | | | | | | | | | | Add links to the Qt Automotive Suite Deployment Server documentation, mention it in the overview under 'Qt Application Manager', and reorganize the overview sections so that components are not discussed before they are introduced. Task-number: AUTOSUITE-724 Change-Id: I71128f16dc45f560c6f325814b65e8dfcb727f62 Reviewed-by: Kavindra Palaraja <kpalaraja@luxoft.com>
* [docs] Cleanups on Qt Automotive Suite Overview and Installation stepsKavindra Palaraja2019-02-062-43/+35
| | | | | | | | | | | - Simplified the diagram (qtas-architecture.png) so that we don't have to explicitly point out that "...parts outlined in grey are specific to QAS" - Removed the definition of what Qt is, because there's already a link to Qt for Device Creation - Reordered the functionality list to reflect the development process, slightly - Shortened "Installing" --> "Install" to make the content easier to skim. Change-Id: Icec37f246c6f97621ac0eb829b53b7655a98a87f Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix a crash in the QIviSimulationEngine when using animationsDominik Holland2019-01-122-3/+17
| | | | | | | | | | The code handles now read and write of properties using the staticMetaObject correctly. Added more internal documentation for it and a autotest. Change-Id: Iddceeebcf5317ddb3a6986d82febc81bd374b575 Fixes: AUTOSUITE-727 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* windows: More fixes for spaces in the pathDominik Holland2019-01-112-4/+4
| | | | | | | | | Fix the path separator in the ivigenerator Makefile to also work for nmake (worked only for jom before). Fix deploy-virtualenv.bat to also handle spaces in the python path Change-Id: I79f23c6874f718cc00aa457f3fe3e6fb58ad325e Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Move the QIviServiceInterface documentation to the correct source fileDominik Holland2019-01-112-30/+27
| | | | | Change-Id: I178d961a5142fb8e10944100b937ee4c2f6e8590 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* doc: Fix the documentation for the discoveryResult propertyDominik Holland2019-01-112-2/+2
| | | | | | | | | Both in AbstractFeature and in AbstractFeatureListModel the QML documentation was pointing to the "autoDiscoveryResult" property instead of the "discoveryResult" property Change-Id: I1b9e8034acaef7c4157bd0f9de7e8ca5c615b24f Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
* Show a meaningful error message debug and release libraries mixedDominik Holland2019-01-1114-13/+63
| | | | | | | | | | | | | | On mac it can easily happen that debug and release libraries are mixed when building an application. E.g. using one of the qface examples. In general qtivicore tries to load the correct plugin version if available, but if the wrong one was loaded or the appropriate one was not available it can happen that plugin interfaces can't be casted to the correct types and thus the class doesn't work. When this happens a more descriptive error message is now shown and the backend is not used. Change-Id: I4ae63ac87509ec3feb1ae65750d8e0ee71ad6520 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the backend_qtro template to generate a correct plugin.jsonDominik Holland2019-01-101-3/+4
| | | | | | | | | | The other templates have been fixed already before. Also make sure the example doesn't specify a custom id to make sure we test this path by default. Change-Id: Icf4eb17c057ea8cba7673b9884c5123c4e749ffd Fixes: AUTOSUITE-735 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix code style issues in the autogenerated codeDominik Holland2019-01-109-11/+25
| | | | | Change-Id: I27646c536069820c3fa952d1f34b9461fe63c356 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Doc: Link to Qt Design Studio in top-level documentationTopi Reinio2019-01-092-0/+13
| | | | | | | Task-number: AUTOSUITE-733 Change-Id: I16158ab8cc84218b55503f6e04a6f3cc804e06d8 Reviewed-by: Jukka Jokiniva <jukka.jokiniva@qt.io> Reviewed-by: Volker Krause <volker.krause@kdab.com>
* Windows: allow for python.exe in paths with spacesv5.12.0_QtASRobert Griebl2018-12-192-5/+5
| | | | | Change-Id: Icac6ada1549630ec1467f8262e2f402b6303d8df Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Link the 'The Qt IVI Simulation System' documentation in the concept overviewDominik Holland2018-12-191-0/+1
| | | | | Change-Id: I87ae1dc17c78295353e1e19b0811297a13e1becf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update copyright statementsRobert Griebl2018-12-17229-25/+253
| | | | | | | | - added 2019 - everything is (c) Luxoft instead of Pelagicore from now on Change-Id: I4a6dbd46aaffbb90cea57626bd75e3972cea2cfc Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Fix crash in qtivi when no rtti is availableDominik Holland2018-12-071-1/+1
| | | | | Change-Id: I5ad04b5432b7d210b8e3a3a1ef23c2b0a04a1c46 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Clang-tidy and Clazy fixesDominik Holland2018-12-0518-39/+34
| | | | | Change-Id: Id88db48e0e18761a9bc1b1014628bf0099c4e5cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Rename and document the qtivi_convertFromJSON methodDominik Holland2018-12-045-19/+29
| | | | | Change-Id: I77530cc0cc66589a923c7dae44f9ffc734ac222b Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a high level documentation for the Qt Simulation SystemDominik Holland2018-12-045-2/+465
| | | | | | | | | This also includes documentation for the format of the simulation data and about the IviSimulator global object. Change-Id: I860982a1c3975a93ebd6f814de45f01fff39cf1d Fixes: AUTOSUITE-705 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix loading QML file in the QIviSimulationEngineDominik Holland2018-12-031-1/+1
| | | | | | | | Don't convert the passed QUrl using toLocalFile(). Change-Id: Ifabd258f491b186c086370bf309d1806ab72004a Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com> Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the wrong model count when using a model simulationDominik Holland2018-12-031-1/+1
| | | | | | | | When autogenerating simulation code for a model the provided count was hardcoded to 100 instead of providing the real item count. Change-Id: Ifd0e429b3fe0c80cf9d4eb3d4e7673bb6e8c20cf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add support for overriding the simulation/data-file at runtimeDominik Holland2018-11-293-7/+91
| | | | | | | | | | | | | | | | The QIviSimulationEngine can now take an extra identifier in the constructor which is used to identify override settings for this simulation engine. Using the following environment variable schema it is possible to set and override which the simulation engine will use instead of the compiled in simulation/data-file. QTIVI_SIMULATION_OVERRIDE=<identifier>=<QML-file> QTIVI_SIMULATION_DATA_OVERRIDE=<identifier>=<JSON-file> Change-Id: Id2a921d8b74c619ea9662d413f0a7296de949b91 Fixes: AUTOSUITE-703 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Move the ConcreteWindowSimulation C++ implementation to QMLDominik Holland2018-11-277-333/+225
| | | | | | | | | | The QIviConcreteWindowControlSimulation.qml contains the new QML implementation. The simulation.qml file loads this manual written QML file and reuses the autogenerated simulation file for the ClimateControl simulation. Change-Id: I98546613c762aae6462ae51eea5c517d96ca4cf5 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add better error reporting for loading the simulation dataDominik Holland2018-11-273-9/+17
| | | | | | | | The errors now also state the data file and also uses the simulationengine logging category Change-Id: I27da67ede62658a4d237d3df3c0215b1d8296b4d Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix the default zones in ivivehiclefunctionsDominik Holland2018-11-071-1/+1
| | | | | | | The zones in the annotations need to be a list and not a map Change-Id: Ibbd037b592291de04eb0e1fa1c9bc1690b57de61 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the "backend_simulator" simulation to support zonesDominik Holland2018-11-072-3/+23
| | | | | | | | | Forward the zone argument for the properties to the QML simulation. Fix the QML code to use the zone argument for loading the correct simulationData. Change-Id: I6bffd47333c423347421754c30856f2927170cd6 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Don't load the default values in initialize() in the ↵Dominik Holland2018-11-071-2/+5
| | | | | | | | | | | | | | simulation QML The initialize() function can be called multiple times. Setting the default values from the JSON files here every time is wrong and it would overwrite all values set in between. Instead only load it on the first call. Using Component.onCompleted doesn't work as it would try to set values before the zones are created. Change-Id: I0252874824ddd5afa3562d4052664e83f88a4e77 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Fix the control_panel template to work with zone lists instead ↵Dominik Holland2018-11-021-2/+2
| | | | | | | of maps Change-Id: Idd7dd5132ee1c2e12f133054973ad37a45206492 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Don't populate the models with values in the simulator backendDominik Holland2018-10-291-1/+0
| | | | | | | | Instead they should be empty and populated from the QML behavior, which can load the data from a JSON file. Change-Id: If2253cc477cde637929d51bdd24321d8cc8e89f7 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Autogenerate QML simulation filesDominik Holland2018-10-296-2/+134
| | | | | | | | | | Default QML simulation files are now generated in the "backend_simulator" template. The new generated QML files also use the IviSimulator API to load it's simulation data from a JSON file. Task-number: AUTOSUITE-629 Change-Id: I956de319cd3731ad5ee32025da348e25be4e238f Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* ivigenerator: Add a simulation_data.json for the backend_simulator templateDominik Holland2018-10-298-3/+138
| | | | | | | | | | | The simulation_data.json is generated from the 'config_simulator' annotation and added into a qrc file which gets compiled into the simulator plugin In the plugin the data is loaded using the loadSimulationData() function. Task-number: AUTOSUITE-629 Change-Id: Iac754b2bf2de65c3657f09126dc8542194777caa Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add a way to load and parse the data to the QIviSimulationEngineDominik Holland2018-10-299-6/+409
| | | | | | | | | | | | The new loadSimulationData() function can load a JSON file and store it's content in the IviSimulator singelton. The IviSimulator singleton provides functions to interpret the JSON values and other helpers e.g. checking for min/max/domain values. Task-number: AUTOSUITE-629 Change-Id: I2832cc0b29379144845a8ed295fc2d988273ff0c Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Refactor the simulation_backend for zoned interfacesDominik Holland2018-10-296-166/+146
| | | | | | | | | | | | | | The backend now provides all properties as Q_PROPERTY independent on whether they are zoned or not. In addition all properties can also be part of a zone. All zones are provided to the QIviSimulationEngine using the zones property. Removed all boundary checks from the autogenerated C++ code. These will be added later again as part of the autogenerated QML code instead. Task-number: AUTOSUITE-629 Change-Id: I0bed939e5cdf8fbce9a09ebf1647b58ba8506428 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Change the zone annotation to be a list instead of a mapDominik Holland2018-10-263-12/+11
| | | | | | | | This makes the annotation and the template code much easier and the annotation more intuitive to read and write. Change-Id: If59b6aac6259e9d98b090a5d7a1831f3d55acb1a Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Fix QIviSimulationEngine loadSimulation to use QUrl instead of QStringDominik Holland2018-10-252-4/+3
| | | | | Change-Id: I8f9caa83814519934fd244ae75817ae940e059a7 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Don't crash when calling QIviSimulationProxy::qt_static_metacall without objDominik Holland2018-10-251-1/+2
| | | | | Change-Id: I334aa6a31f69f057635e3e8089098ef2a5eec1d7 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Extend the addressbook example to use the new QIviSimulationEngineDominik Holland2018-10-152-5/+47
| | | | | | Task-number: AUTOSUITE-628 Change-Id: Ia90e42d801c68d91dd71b309ea4c518f349f13f9 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add helper functions to the autogenerated pagingmodel backend implementationsDominik Holland2018-10-152-4/+57
| | | | | | | | | These helper functions can be used to alter a pagingmodel from QML and script it in a meaningful way without the need to care about the internal paging logic. Change-Id: Iaca947ab738701a93288e845df08ae4d37ec32df Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update the generator templates to use the new QIviSimulationEngineDominik Holland2018-10-1510-32/+161
| | | | | | Task-number: AUTOSUITE-627 Change-Id: I0bd49c420c3b60ba70a67f509cb819d9c116d599 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* QIviSimulationProxy Fix static initialization problem on MSVCDominik Holland2018-10-151-5/+9
| | | | | Change-Id: If4a46a2eddcc28bf32ecb6494ff41cb9e0b84a87 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Add the new QIviSimulationEngine and QIviSimulationProxy classesDominik Holland2018-10-115-0/+795
| | | | | | | | | | These new classes will help to provide scripting capabilities to simulation backends and make it possible to define the behavior in QML Task-number: AUTOSUITE-626 Change-Id: Ie358e5977e3fdb1b2ce82b65b3ccca42cb2ebabf Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Update the qmltypes filesDominik Holland2018-10-113-3/+3
| | | | | Change-Id: Ie9bb37b6299ccc79e2e50c786566b91bf1601013 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
* Install extra python file when building on macOSSamuli Piippo2018-10-091-1/+1
| | | | | | | | | | The .Python file needs to be separately installed also when cross-compiling on macOS, check for QMAKE_HOST.os instead of target scopes. Task-number: AUTOSUITE-647 Change-Id: I39981d72a3f8163637c7f2412275b4306b1d7b09 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
* Merge remote-tracking branch 'origin/5.11' into devDominik Holland2018-09-2720-263/+940
|\ | | | | | | Change-Id: If48055bb577b4b59a836b2c4a00d940401b97c6a
| * Add SDK Creation Instructions to Qt AS documentation5.11Tarja Sundqvist2018-08-277-20/+849
| | | | | | | | | | | | | | | | | | | | | | Add instructions how to create an online SDK. In case of online SDK, Qt Installer Framework manual is referred. Task-number: QTAUTO-389 Change-Id: I1dfd3a97d942c42686859e120382656600edaa70 Reviewed-by: Antti Kokko <antti.kokko@qt.io> Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io>
| * Doc: Remove links to DriveCX installation guideTarja Sundqvist2018-08-073-73/+2
| | | | | | | | | | | | | | | | | | B2Qt for Qt 5.11 does not provide a DriveCX image so the installation guide can be removed. Task-number: QTBUG-69759 Change-Id: I09abffbd86ee9f898feb7a0f8ce14c9928770b1e Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
| * Doc: Fix problems in external-resources.qdocTopi Reinio2018-06-221-2/+3
| | | | | | | | | | | | | | | | Update link for Neptune 3 UI and add missing '*/' to terminate a documentation comment. Change-Id: I18e4dc4f8be2c5db8afbe869e0c4082de41a4190 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
| * [doc] Update broken link to Neptune pagesv5.11.1_QtASBramastyo Harimukti2018-06-121-1/+1
| | | | | | | | | | | | Task-number: AUTOSUITE-559 Change-Id: Ibeccbb34088a1de6dac2b95742ce3aa5840d23c4 Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com>