| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Add stream operators and equality-operators for the struct template.
Change existing enum stream operators to check values outside of the enums range.
These are needed for serializing of types eg. when using generated types over QTRO.
Change-Id: I169b3d598b65eaae2de8562507a66ee996b81081
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
| |
Change signals are now emitted when values are committed to the backend
Task-number: QTAUTO-548
Change-Id: If5880e1924b56e22b97017724bcc6cb0c9261844
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On some systems libpython needs to be copied into the virtualenv to
make the python executable work. As we can't change the rpath easily
we need to use LD_LIBRARY_PATH in the qmake integration to make the
system find the correct lib.
The script now also copies the needed libcrypto.so and libssl.so from
the system to the virtualenv as they are needed by the hashlib module
Change-Id: Ib7911f6d69c743892397581f91991ef415321aa3
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I9ba1d4a56fa73730f753ed7db5709fdb8e8f7cfe
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I4e25a9ea2ca83871329f02e3832139279020cdb7
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I15ab1a6e6c10275f523d9b28ec3a5668f0e10901
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On some linux systems the python executable is linked to a libpython.so
file, which is not put into the virtualenv. This file needs to be copied
as well and made sure that it is found when the binary is executed.
Also the system module directory is not always located in <prefix>/lib.
To find the correct locations we use the python sys module to print
out all paths and search for the files in all starting with <prefix>
Task-number: QTAUTO-289
Change-Id: I9b1077c89501803fa83dab02e8238fa48a005298
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I9563fea0619b540f8e4dd929bf72a3c4178066bb
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I4aa199709597d93d7b38287224797f4420b37dbd
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
| |
This makes sure the binary will be placed into the bin folder and also
has the correct install target
Change-Id: I11eec0332efc28af3dc2189592092fd070e5a0f5
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
| |
Also register the IndexerStatus enum to make it work over thread boundaries.
Change-Id: I80a955c488a41599dc87ca167e6465269600db67
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
| |
The ivigenerator qmake feature needs to check the host architecture
instead of the target architecture.
Change-Id: I8f2357c84dadf237408a8c472f4604a04c265eea
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: Ic4242f7c7cfd8fa6baf905194b0fa9c749fed410
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
Adding a delay before generating the code appears to introduce
enough difference to avoid race conditions between makefile and
generate code timestamps
Change-Id: I7ba3361492053b65ddd89b41ee46c32cec96f8ab
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
| |
Change-Id: Ia7491b4d234186b477983ea26d14492cf7ce33f8
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
| |
This is needed to autogenerate the API, which is later parsed by qdoc
Change-Id: Ic61c7010f78b376832a23b07f9a92476f660738d
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
| |
Task-number: AUTOSUITE-54
Change-Id: I78d272b6fbeac91d16e34a1253dd53d2550d6a6c
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarified the description of some Qt Automotive Suite tools and
and related modules. Added also a high-level picture of Qt AS
structure. The picture is based on the blog post written by
Alistair Adams in June 8th, 2016. The picture is updated
according to Qt brand guidelines (font, colors).
Task-number: QTAUTO-558
Change-Id: If5828fe307a1f99cb8c29d36a6e18805015fbe42
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
|\
| |
| |
| | |
Change-Id: I61180ae3eb1e00490089ef6fb4deb29918766d87
|
| |
| |
| |
| |
| |
| |
| | |
Also made the configure output more clear
Change-Id: Ic44b8ee26ec552415b8afef3b63389e90e21dfa4
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously we registered QFlags::operator int() as converter function
for QMetaType. This stopped working in Qt 5.9. Instead we now register
a lamda which is using an implicity cast.
Change-Id: Ib8cb34a122fb58fbfdec9da2eb8366332c7e9241
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
(cherry picked from commit 4c81a8c761b50e098825719adeb2a1f52aa6d079)
|
| |
| |
| |
| |
| |
| |
| |
| | |
With this version, undefined variables inside template files are reported
as errors in the strict mode and are displayed properly inside QtCreator
Change-Id: I30e5bda9a0b53b0e6b61925e82e845812ac7e306
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The generated control_panel now uses the same default values as the
simulation backend
Change-Id: I07e97284134f998e815fdd09e5bd979753c06fc8
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The control_panel now ofers a control to send signals.
All calls of a operation (e.g. open in the QIviWindowControl) are now
forwarded to the control_panel and logged inside a TextArea.
Change-Id: I893210a723cd1a1792c626711da0d436c00680de
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: If367eca672f311b73ac4494a9ad9405fcb10f6f1
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The control_panel acts as a server and the backend connects to
it. Once a connection is established the control_panel will push
it's initial values to the backend and from there all properties
and signals are synchronized.
Currently only one connection is supported.
The qtsimulator support is detected during configure time
and based on that the new "simulator" feature is enabled.
The ivigenerator now has a configuration file, which is used
to define which features it supports. This is used to be
able to generate qtsimulator support into the simulation backends
only if the qtsimulator is available and the feature is enabled.
Task-number: QTAUTO-441
Task-number: QTAUTO-442
Change-Id: I5045d21f92176fed7d9025850b70f4759c9232c2
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ie4ed4661b178b7c84cbd1ec01e0f11f021d38928
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed it to make it work also for unzoned interfaces and fixed a issue
when no qml_name is set for the interface, which caused the QML and
the C++ backend to have the same name and cause weird issues.
Change-Id: I0d90fb56b60ff17eb37b41412c1d33a8e628df43
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The class now works more like the QtIvi public API and uses one object
per zone accessible using the zoneAt property.
This also intruces two new special controls for Enums and Flags, which
makes the generate.py part a little bit easier and make the controls
work in both directions (backend values and update of user values).
Change-Id: Ib012265ef405d4a4e20ed43d611caa0163a40446
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes the previously introduced 'control_panel'
template and adds it into the build-system.
Fixes the template to produce compilable code and
changes the UI layout a bit.
Every interface is now put into it's own tab and
the content is now flickable to make it more convenient
to be used.
Change-Id: Iccbe82ab3e5dc988533c3d4ce75980bd719e5417
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
Apparently this may be needed on windows
Change-Id: Ie73ac63104e6d17420abdefe4d5ff9532a46bfe1
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| | |
Not sure how that happened, but breaks Gammaray as it fails to link
Change-Id: If86158085b11d1988ba16580e844b4fc26833665
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
An instruction for building an image and a toolchain for NVIDIA DRIVE CX
added to Qt Automotive Suite documentation.
Task-number: QTAUTO-392
Change-Id: I76bcfebb2c932a451986659f5c3e0c5412cb9b0f
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Default implementation of a property overrider that can be assigned
to an abstract feature via the private instance. Proper overriding
relies on code generate from qface idl or on matching implementation
in user provided classes.
Change-Id: I18b1640b0acdbc3ef5242bf81961c3286b36ff7f
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a number of issues when properties are overridden:
- frontend values still being modifiable
- prevents backend changes reaching the frontend
- restores backend value when overriding is disabled
- handle overriding readonly property, this requires adding capability
for emitting change signals since no setters exist
Change-Id: I55e9d12417e4d39a73b02e7aa884d670ebc7f551
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Initialize the pointer to the service object for zoned child
features (doesn’t do the full registration as it doesn’t need
to connect to change requests). This is needed to be
able to identify all instances of front end classes which
are talking to the same backend.
Also always update the client side value even if overriding is on.
Change-Id: I2d756106c14536936451f61a502a13a1bb28e8dd
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| | |
Change-Id: I6833305ed73ff3e01e571e9666945a40cf8ec0f7
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| | |
Which causes the generator to stop on the first error
Change-Id: Idb8cea0165367508c3f1f3ab8cf0fa66942cf984
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use the zoned default values to specify default targetTemperatures from
neptune-ui.
Change-Id: I28039a914e8747fd70226846939f05e381716b8e
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| | |
Use the default value for outsideTemperature from neptune-ui.
Change-Id: Ic2a7f099c4b08ff49be44c80f9f8f4324aa80017
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Zoned default values are defined by a map from zone_name to default
value. The default key is as defined by YAML '='.
Example:
config_simulator:
default: { left: 21.0, right: 22.5, =: 0.0 }
Change-Id: Ia0f1be270399aec4e90e816f0b063b6b4fc6d7e2
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Don't use the internal ivigenerator when -system-ivigenerator
option is enabled, as is done in yocto builds.
Change-Id: Ic22c2bba0214041618ef4c157056a3638235ec97
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ic7e36d5284979cc30cc65da269d92f275917c69a
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
Cannot build ivivehiclefunctions at all or have tests for ivigenerator
Change-Id: I24291bfa4fa1074106ab0c9e29ba1301cd93e74c
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The Makefile targets now map to really available files which are updated
during that specific build step.
Change-Id: I63a7a1f4cc59ada7b4d7d7aef378477c3f4b08ef
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When setting overridden values, there was no way to know if the values
needed to be pushed to the backend. Setter now returns true if the
values are overridden.
Change-Id: I53444099520f75cb48f334591104aca9eb18d41e
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This removes the ability to provide multiple format but it was useless
anyhow (as everything ended up in the same folder)
Task-number: QTAUTO-470
Change-Id: Ic47e5b3e6b07bbdcf650c57287e112cd2c6f890b
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Coin is doing a two stage build, which leads to problems for the
virtualenv generation. Before we used the installed version when available,
but this is problematic in the developer workflow when an existing
qtivi installation already exists, as the installed (old) version is
used instead of the new one.
The QTEST_ENVIRONMENT environment variable is now used to
detect whether we are in the special CI environment.
Change-Id: I9d3d5d7f84c9f5e059897865c8cf7b30f8d84fda
Reviewed-by: Mike Krus <mike.krus@kdab.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
rationale: neptune-ui always allowed for fractional temperatures
but due to a bug this has never really worked properly
Change-Id: If2833463644cfb4cee97f74c5e7ae308c943b92d
Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I14d3196f9dbf14826fee4a09006ef5c675aa1a38
Reviewed-by: Nedim Hadzic <nedim.hadzic@pelagicore.com>
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|