| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The coverage target needs to be available in all
Makefiles not just in debug configurations
Use qtLibraryTarget for all plugins in the
servicemanager autotest. This will automatically
add the needed postfixes for debug and release
plugins
Change-Id: I887e27ce1cc514d74cbaef97b02eeb935939a7cf
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
| |
Applied to all modules and the plugins
Change-Id: Id1dd9adb4a9f5bdcd452242785439e118d63ef10
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When building qtivi as part of the qt5 super repository the .qmake.conf
of qtivi is not loaded during the configure step.
Because of that the configure.pri files use their own <MODULE>_ROOT
variables for the current path to check for the submodule.
Task-number: AUTOSUITE-277
Change-Id: Ieefc612e1cb51b6fff5df692e55358c8972edf8e
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes C++ documentation for:
QIviPendingReply
QiviPendingReplyBase
QiviPendingReplyWatcher
and QML documentation for the PendingReply
Task-number: QTAUTO-917
Change-Id: I4bd0d47b35ad598ac63fd1cdc212647b44e3c365
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: If00b2da0313e4a9f0352bcf50fcf1a609a2eea48
Reviewed-by: Bernd Weimer <bernd.weimer@pelagicore.com>
|
|
|
|
|
|
|
| |
E.g. when the ivicore module or the ivigenerator is missing
Change-Id: I9efad9f74ee64eb8e5f4f52c0b36ae67a605aaa0
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
| |
When building a qt module all public headers need to use the module
name in their include statements.
This is done by using the QFACE_MODULE_NAME qmake variable, which is
now mandatory when generating a qt module from a qface file
Change-Id: I31232a48a3c978552a27f1d82f3eacba480427b2
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
| |
The new version is now called 5.11 (same as the branch)
Change-Id: If53387ecdefb6db9034b3c25b8238e0563c41bbb
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
The QIviProperty and QIviAttribute where already marked obsolete.
The attribute system documentation which gives the overview was
still listed and is now marked deprecated as well.
Change-Id: Ie4890b92679856f91bd4ba7358ebb2bd719603a7
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
| |
Calling a method through a remote backend now returns directly a failed reply
if the client-server connection is not valid.
Change-Id: I7be9dc5c71f111497ed03547bf1c0bc2457f9f43
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
The new README reflects the repository setup and explains the basic
build instructions as well as providing some links to the configuration
documentation available at doc.qt.io
Change-Id: Ibaaf6b1846dc81c9b7bbf966233f9d3956d7f48f
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
|
| |
The watcher should only be created by the QIviPendingReplyBase, which
is a friend class.
Change-Id: I58ccc2e582a3e66876bb49543263eb9fc57e5dbd
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
|
|
| |
When using a developer-build and 'make -j100' you could run into
Makefile errors. This is fixed by adding an additional target for the
qtivi_qface_install folder.
Change-Id: I8b1103d820a2f703a706102c89b791f33156f3ab
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
|
| |
The taglib submodule doesn't need to be initialized when using the taglib
from the system or no taglib at all.
Change-Id: I9d8347de904383a2b577698c5a61c10d672eb7bd
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
Add a configure check that disables ivigenerator's qtro features when the qt's
remoteobjects module is not available.
Task-number: QTAUTO-850
Change-Id: I43eddc59d84d28f5181f9ebf039eef49fbbde8d2
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
Because of this, the indexOf function is now easier to implement and works
from QML and C++.
Task-number: QTAUTO-838
Change-Id: I094511abf8f55fd9728aa94e552dcc79f9bf0b58
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
|
|
| |
All subclasses need to call this function when reimplementing
connectToServiceObject as otherwise the errorChanged and the
initializationDone signal doesn't get connected properly.
Change-Id: I0e9b39fe17ea019f36786931a89700ab8f08b67b
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Every method inside a qface file will now return a QIviPendingReply.
This also changes the signature of the QIviVehicleFunctions module
and its backend implementations.
Also updated the window_qml example to make use of the new returned
QIviPendingReplies from the open() and close() calls.
Task-number: QTAUTO-837
Change-Id: Icf8a31fcd94630254f71b0c4fb2e1ef4296591af
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|
|
|
|
|
|
|
|
| |
Fix initialization issues in generated backend classes and also in the
QIviAbstractFeature class. Add initialization check to the autogenerated
test. Add initialization and reconnection tests for remote object features.
Change-Id: I5dbb179c612da721676a4b4959d8626a237f479a
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
| |
QtCreator uses the pro file name for selecting a runnable target.
In this list it's not easy to spot which executables are autotest and
which are real runnable tools/examples. Adding QMAKE_PROJECT_NAME to
all autotests pro files makes sure they are prefixed with tst_ as
the excutable itself is as well.
Change-Id: I13f21e14eccb392e4bfd14124ce483720a1f22ac
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default constructor of QIviPendingReplyBase is just intended for
the Qt meta type system and should create a invalid reply. In this case
we don't need to create a watcher.
Also added a static function to create failed replies. This is convenient
for return statements.
Change-Id: Ifd61d87fe894abf03fae150f4f56ceadc2773699
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QIviPendingReply class is templated to provide a typesafe C++ API, but
at the same time being usable from QML directly.
For C++, signals are provided to inform the user that the reply has succeeded
or failed. From QML one can either use the signals or using the "then"
method to register JavaScript callbacks very similar to a JavaScript Promise.
As the class provides the "then" method, it should also be convertable into
a real JavaScript Promise.
Task-number: QTAUTO-836
Change-Id: I030c70a964b48a5083ecef7f527d8a0b1c85f137
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the custom slot implememtation in qtro templates. Calling a slot
on a remote object replica causes an asynchronous call and returns a
pending result object. The current backend slot implementation merely
waits for the call to finish before returning to the code that uses it.
This behavior will change when all method calls are made asynchronous.
Also add tests for passing a remote objects initial values to newly
connected clients.
Change-Id: I278bfc583a657e8a30265af8ec6c02e178f0f245
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
| |
The simulator backend will now only create a QtSimulator connection
when a valid simulator hostname is set.
In addition the logging is more clear what's currently happening
Change-Id: I33458d98bc03a461bff7c0a0e69d486c3f0e2da8
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I33e72e89d04732b798257a6fa663dcafd42af3b9
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The database is now written to the application's cache folder
and is reused on the next start of the application. The indexer
will now also use the systems music folder by default.
The non persistent database can be enabled by setting the
QTIVIMEDIA_TEMPORARY_DATABASE environment variable.
Change-Id: I0c496295499e618d7ca5970a695aef83ee3cc8fd
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The reload() method will reset the model and fetch the data again
from the backend.
This also fixes some problems, which resulted in duplicated entries
during the initial fetch.
Change-Id: I9741f23165a2da7a1587a2893f891a386d2cbabe
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
| |
Add qtro templates that rely on the qt's replica compiler instead of homemade
replica and source templates. IVIGenerator generates .rep files that are passed further
to the replica compiler.
Task-number: QTAUTO-849
Change-Id: I2bc3bb1899386028b9e99ac991f679b56544e3ca
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
| |
Change-Id: I40f2343bf9818b881e29e599ae0b8c1b7735fa63
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
|
| |
Previously the DataChanged mode didn't work as expected when
the View jumped to end of the list without scrolling.
The model now remembers what chunks have been fetched and fetches
the needed chunk once a item in this chunk needs to be accessed.
Change-Id: I268f00aeb8d8ec204e8c16d54f2759792eea3117
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
Add autoest for ivigenerator's qtro-features. Test program runs the server and
client in the same process and tests the default values, initializations and
the communication.
Change-Id: I57176ad86b6b9f6f0a2ecbabe51430237c6dd124
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
- the biggest bottleneck turned out to be the cover art saving to a
PNG file
- plus some other minor speedup and const fixes
Change-Id: I53d79a6cc433edacac6452ec198d75c2b30ebe2c
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
|
|
|
|
|
|
|
|
|
| |
The last merge from 5.9 also included a fix to
always generate uppercase class names. This also needs
to be done in the remote objects templates.
Change-Id: I7215db79e559254d2405adedc75fa5811a62b7c8
Reviewed-by: Antti Hölttä <ahoelttae@luxoft.com>
|
|\
| |
| |
| | |
Change-Id: Ifa81cd2a44e492204c19e395300cd0e95cbebe92
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| | |
Change-Id: Iac5a30b99316c3c217361c165f6390a17dc59b4a
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
Task-number: AUTOSUITE-190
Change-Id: I18a9f4d00951d3b0284846d7ef2808f59a512ff8
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ic2c8af3026bb9bad36b7db143fe47646d95d3473
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| | |
Change-Id: I4c70a2b71ac3bbf0cb2aeb6eaf7531994ab0e539
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As taglib is now a 3rdParty we can now always rely on it for indexing.
If taglib is disabled, the complete indexer is disabled. This is better
than providing an unstable indexer which doesn't work most of the times.
Change-Id: I5995122f786ca083063153d780505d61f2d612a7
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| | |
Change-Id: I5d8224cad498b52a883fa4381918e28fe8c06add
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of using qWarning for reporting errors the new qtivi_qmlOrCppWarning
is used.
This function will try to detect whether the API is used within QML and
report an error incl. file and line numbers when possible.
Change-Id: I96bdd48ebec8382e5115885e067b23298110deeb
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previously also the column and additional text was added. This can
lead to problems when using it inside a QML error.
Change-Id: I6c54526fe29538b0ad51528f86dfb9fc89231db1
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also add more metadata to the model, like
the plugin name and the available interfaces
Change-Id: I93e4f0139c862c3988b2509e398ae4ed8d3c6018
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the the ivimedia simulator backend work properly
on all tier1 platforms.
It can be configured using the --taglib configure option.
Possible values are: no, qt and system
Change-Id: I52f8589a5235ac8d4776bf46709fd88e4fc2022a
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
|