├── src
├── ivivehiclefunctions
│ ├── qt_cmdline.cmake
│ ├── doc
│ │ ├── images
│ │ │ ├── examples_climate_qml.png
│ │ │ └── examples_climate_widget.png
│ │ └── qtivivehiclefunctions.qdocconf
│ └── CMakeLists.txt
├── geniviextras
│ ├── qt_cmdline.cmake
│ ├── doc
│ │ ├── images
│ │ │ └── dlt-viewer.png
│ │ ├── qtgeniviextras.qdocconf
│ │ ├── online
│ │ │ └── qtgeniviextras.qdocconf
│ │ └── src
│ │ │ └── external-resources.qdoc
│ └── CMakeLists.txt
├── ivimedia
│ ├── qt_cmdline.cmake
│ └── doc
│ │ ├── images
│ │ ├── examples_tuner.png
│ │ └── examples_mediaplayer.png
│ │ └── qtivimedia.qdocconf
├── imports
│ ├── core
│ │ ├── qmldir
│ │ └── CMakeLists.txt
│ ├── media
│ │ ├── qmldir
│ │ └── CMakeLists.txt
│ ├── CMakeLists.gen.txt
│ ├── CMakeLists.txt
│ └── vehiclefunctions
│ │ └── CMakeLists.txt
├── 3rdparty
│ ├── taglib
│ │ └── taglib_config.h
│ ├── CMakeLists.txt
│ ├── qt_attribution.json
│ └── virtualenv
│ │ ├── qt_attribution.json
│ │ └── VIRTUALENV_LICENSE
├── plugins
│ ├── ivimedia
│ │ ├── doc
│ │ │ └── qtivimedia_plugins.qdocconf
│ │ ├── tuner_simulator
│ │ │ ├── tuner_simulator.json
│ │ │ └── CMakeLists.txt
│ │ ├── media_simulator
│ │ │ ├── media_simulator.json
│ │ │ └── CMakeLists.txt
│ │ ├── CMakeLists.txt
│ │ └── media_qtro
│ │ │ ├── media_qtro.json
│ │ │ └── CMakeLists.txt
│ ├── ivivehiclefunctions
│ │ ├── doc
│ │ │ └── qtivivehiclefunctions_plugins.qdocconf
│ │ ├── vehiclefunctions_simulator
│ │ │ ├── qml.qrc
│ │ │ └── CMakeLists.txt
│ │ ├── CMakeLists.txt
│ │ └── vehiclefunctions_qtro
│ │ │ └── CMakeLists.txt
│ └── CMakeLists.txt
├── ivicore
│ ├── doc
│ │ ├── images
│ │ │ ├── backend-types.png
│ │ │ ├── feature-backend.png
│ │ │ ├── qtivi-overview.png
│ │ │ ├── qtivi-codesample.png
│ │ │ ├── simulation-system.png
│ │ │ ├── models-as-properties.png
│ │ │ ├── examples_qface_tutorial.png
│ │ │ ├── proxy-service-objects.png
│ │ │ ├── examples_qface_ivi_remote.png
│ │ │ ├── app-service-object-backend.png
│ │ │ ├── examples_qface_ivi_climate.png
│ │ │ ├── examples_qface_tutorial_dbus.gif
│ │ │ ├── examples_qface_tutorial_sync.gif
│ │ │ ├── models-as-properties-details.png
│ │ │ ├── examples_qface_ivi_addressbook.png
│ │ │ ├── examples_qface_tutorial_final.gif
│ │ │ └── examples_qface_tutorial_unsync.gif
│ │ ├── exampleurl-qtivi.qdocconf
│ │ ├── qtivi.qdocconf
│ │ ├── QtIviDoc
│ │ ├── online
│ │ │ └── qtivi.qdocconf
│ │ └── src
│ │ │ └── qt_attribution.json
│ ├── Qt6IviCoreConfigExtras.cmake.in
│ ├── qt_cmdline.cmake
│ └── queryparser
│ │ ├── README
│ │ └── CMakeLists.txt
├── helper
│ ├── CMakeLists.txt
│ └── remoteobjects
│ │ ├── qivipagingmodel.rep
│ │ └── CMakeLists.txt
└── tools
│ ├── media-simulation-server
│ ├── qivimediadiscoverymodel.rep
│ ├── qivimediaindexer.rep
│ └── qivimediaplayer.rep
│ └── ivigenerator
│ └── templates
│ ├── server_qtro.yaml
│ ├── test.yaml
│ ├── backend_qtro.yaml
│ ├── qmlplugin.yaml
│ └── common
│ └── qmldir.tpl
├── .cmake.conf
├── .tag
├── mkspecs
├── features
│ ├── CMakeLists.txt
│ └── ivigenerator_qt_module.prf
└── CMakeLists.txt
├── examples
├── geniviextras
│ ├── geniviextras.pro
│ ├── CMakeLists.txt
│ └── qdlt
│ │ ├── qdlt.pro
│ │ └── CMakeLists.txt
├── ivimedia
│ ├── ivimedia.pro
│ ├── CMakeLists.txt
│ ├── tuner
│ │ ├── qml.qrc
│ │ ├── tuner.pro
│ │ └── CMakeLists.txt
│ └── mediaplayer
│ │ ├── qml.qrc
│ │ ├── mediaplayer.pro
│ │ └── CMakeLists.txt
├── ivicore
│ ├── qface-tutorial
│ │ ├── images
│ │ │ ├── +--.png
│ │ │ ├── fuel.png
│ │ │ ├── P-R-N-D.png
│ │ │ ├── top_bar.png
│ │ │ ├── left_dial.png
│ │ │ ├── dial_cursor.png
│ │ │ ├── dial_pattern.png
│ │ │ ├── fuel_level.png
│ │ │ ├── mask_overlay.png
│ │ │ ├── middle-bkg.png
│ │ │ ├── right_dial.png
│ │ │ ├── middle-circle.png
│ │ │ ├── dial_cursor_right.png
│ │ │ ├── dial_fill_color.png
│ │ │ ├── fuelsymbol_orange.png
│ │ │ ├── dial_fill_color_left.png
│ │ │ └── images.qrc
│ │ ├── chapter1-basics
│ │ │ ├── instrument-cluster.qface
│ │ │ ├── chapter1-basics.pro
│ │ │ ├── CMakeLists.txt
│ │ │ ├── instrument-cluster
│ │ │ │ ├── app.qrc
│ │ │ │ └── instrument-cluster.pro
│ │ │ └── frontend
│ │ │ │ ├── frontend.pro
│ │ │ │ └── CMakeLists.txt
│ │ ├── chapter5-ipc
│ │ │ ├── backend_simulator
│ │ │ │ ├── simulation.qrc
│ │ │ │ └── backend_simulator.pro
│ │ │ ├── instrument-cluster
│ │ │ │ ├── app.qrc
│ │ │ │ └── instrument-cluster.pro
│ │ │ ├── CMakeLists.txt
│ │ │ ├── chapter5-ipc.pro
│ │ │ ├── frontend
│ │ │ │ ├── frontend.pro
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── instrument-cluster.qface
│ │ │ ├── simulation_server
│ │ │ │ └── simulation_server.pro
│ │ │ ├── backend_qtro
│ │ │ │ ├── backend_qtro.pro
│ │ │ │ └── CMakeLists.txt
│ │ │ └── imports
│ │ │ │ ├── imports.pro
│ │ │ │ └── CMakeLists.txt
│ │ ├── chapter6-own-backend
│ │ │ ├── backend_simulator
│ │ │ │ ├── simulation.qrc
│ │ │ │ └── backend_simulator.pro
│ │ │ ├── backend_dbus
│ │ │ │ ├── instrumentcluster_dbus.json
│ │ │ │ └── backend_dbus.pro
│ │ │ ├── instrument-cluster
│ │ │ │ ├── app.qrc
│ │ │ │ └── instrument-cluster.pro
│ │ │ ├── CMakeLists.txt
│ │ │ ├── chapter6-own-backend.pro
│ │ │ ├── frontend
│ │ │ │ └── frontend.pro
│ │ │ ├── instrument-cluster.qface
│ │ │ ├── demo_server
│ │ │ │ └── demo_server.pro
│ │ │ └── imports
│ │ │ │ ├── imports.pro
│ │ │ │ └── CMakeLists.txt
│ │ ├── chapter4-simulation-behavior
│ │ │ ├── backend_simulator
│ │ │ │ ├── simulation.qrc
│ │ │ │ └── backend_simulator.pro
│ │ │ ├── miles.json
│ │ │ ├── CMakeLists.txt
│ │ │ ├── chapter4-simulation-behavior.pro
│ │ │ ├── instrument-cluster
│ │ │ │ ├── app.qrc
│ │ │ │ └── instrument-cluster.pro
│ │ │ ├── frontend
│ │ │ │ ├── frontend.pro
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── instrument-cluster.qface
│ │ │ └── imports
│ │ │ │ ├── imports.pro
│ │ │ │ └── CMakeLists.txt
│ │ ├── chapter2-enums-structs
│ │ │ ├── chapter2-enums-structs.pro
│ │ │ ├── CMakeLists.txt
│ │ │ ├── instrument-cluster
│ │ │ │ ├── app.qrc
│ │ │ │ └── instrument-cluster.pro
│ │ │ ├── frontend
│ │ │ │ ├── frontend.pro
│ │ │ │ └── CMakeLists.txt
│ │ │ └── instrument-cluster.qface
│ │ ├── instrument-cluster
│ │ │ ├── instrument-cluster.pro
│ │ │ └── app.qrc
│ │ ├── qface-tutorial.pro
│ │ ├── chapter3-simulation-backend
│ │ │ ├── CMakeLists.txt
│ │ │ ├── chapter3-simulation-backend.pro
│ │ │ ├── instrument-cluster
│ │ │ │ ├── app.qrc
│ │ │ │ └── instrument-cluster.pro
│ │ │ ├── frontend
│ │ │ │ ├── frontend.pro
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── instrument-cluster.qface
│ │ │ ├── imports
│ │ │ │ ├── imports.pro
│ │ │ │ └── CMakeLists.txt
│ │ │ └── backend_simulator
│ │ │ │ ├── backend_simulator.pro
│ │ │ │ └── CMakeLists.txt
│ │ └── CMakeLists.txt
│ ├── qface-ivi-remote
│ │ ├── demo
│ │ │ ├── qml.qrc
│ │ │ └── demo.pro
│ │ ├── qface-ivi-remote.pro
│ │ ├── CMakeLists.txt
│ │ ├── example-ivi-remote.qface
│ │ ├── frontend
│ │ │ ├── frontend.pro
│ │ │ └── CMakeLists.txt
│ │ ├── backend_qtro
│ │ │ ├── backend_qtro.pro
│ │ │ └── CMakeLists.txt
│ │ └── server_qtro
│ │ │ └── CMakeLists.txt
│ ├── qface-ivi-addressbook
│ │ ├── demo
│ │ │ ├── qml.qrc
│ │ │ └── demo.pro
│ │ ├── backend_simulator
│ │ │ ├── plugin_resource.qrc
│ │ │ └── backend_simulator.pro
│ │ ├── CMakeLists.txt
│ │ ├── qface-ivi-addressbook.pro
│ │ ├── example-ivi-addressbook.yaml
│ │ ├── example-ivi-addressbook.qface
│ │ └── frontend
│ │ │ ├── frontend.pro
│ │ │ └── CMakeLists.txt
│ ├── qface-ivi-climate
│ │ ├── demo
│ │ │ ├── qml.qrc
│ │ │ ├── CMakeLists.txt
│ │ │ └── demo.pro
│ │ ├── CMakeLists.txt
│ │ ├── qface-ivi-climate.pro
│ │ ├── frontend
│ │ │ ├── frontend.pro
│ │ │ └── CMakeLists.txt
│ │ └── backend_simulator
│ │ │ ├── backend_simulator.pro
│ │ │ └── CMakeLists.txt
│ ├── ivicore.pro
│ └── CMakeLists.txt
├── ivivehiclefunctions
│ ├── climate_qml
│ │ ├── qml.qrc
│ │ ├── climate_qml.pro
│ │ └── CMakeLists.txt
│ ├── ivivehiclefunctions.pro
│ ├── window_qml
│ │ ├── qml.qrc
│ │ ├── window_qml.pro
│ │ └── CMakeLists.txt
│ ├── CMakeLists.txt
│ └── climate_widget
│ │ ├── climate_widget.pro
│ │ └── CMakeLists.txt
├── examples.pro
└── CMakeLists.txt
├── tests
├── auto
│ ├── core
│ │ ├── qivisimulationengine
│ │ │ ├── simple.json
│ │ │ ├── simple.qml
│ │ │ ├── resource.qrc
│ │ │ ├── invalid-data.json
│ │ │ └── CMakeLists.txt
│ │ ├── servicemanagertest
│ │ │ ├── wrongmetadata_plugin_static
│ │ │ │ ├── wrongmetadata.json
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── simple_plugin
│ │ │ │ ├── simple_plugin.json
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── wrong_plugin
│ │ │ │ ├── wrong_plugin.json
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── simple_plugin_static
│ │ │ │ ├── simple_plugin.json
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── wrongmetadata_plugin
│ │ │ │ └── CMakeLists.txt
│ │ │ └── CMakeLists.txt
│ │ ├── ivigenerator
│ │ │ ├── CMakeLists.txt
│ │ │ ├── no-private.yaml
│ │ │ ├── projects
│ │ │ │ ├── org-example-echo
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── org-example-echo.pro
│ │ │ │ │ ├── qmlplugin
│ │ │ │ │ │ ├── qmlplugin.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── frontend
│ │ │ │ │ │ ├── frontend.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── test
│ │ │ │ │ │ ├── test.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ └── backend_simulator
│ │ │ │ │ │ ├── backend_simulator.cpp
│ │ │ │ │ │ ├── backend_simulator.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ ├── org-example-echo-noprivate
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── org-example-echo-noprivate.pro
│ │ │ │ │ ├── qmlplugin
│ │ │ │ │ │ ├── qmlplugin.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── frontend
│ │ │ │ │ │ ├── frontend.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── test
│ │ │ │ │ │ ├── test.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ └── backend_simulator
│ │ │ │ │ │ ├── backend_simulator.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ ├── org-example-echo-qtro
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── org-example-echo-qtro.pro
│ │ │ │ │ ├── frontend
│ │ │ │ │ │ ├── frontend.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── simulation_server_qtro
│ │ │ │ │ │ ├── simulation_server_qtro.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── backend_qtro
│ │ │ │ │ │ ├── backend_qtro.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ └── server_qtro_test
│ │ │ │ │ │ ├── server_qtro_test.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ ├── projects.pro
│ │ │ │ ├── CMakeLists.txt
│ │ │ │ ├── include-test
│ │ │ │ │ ├── common
│ │ │ │ │ │ ├── common.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── qmlplugin
│ │ │ │ │ │ ├── qmlplugin.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── frontend
│ │ │ │ │ │ ├── frontend.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── test
│ │ │ │ │ │ ├── test.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── include-test.pro
│ │ │ │ │ ├── simulation_server_qtro
│ │ │ │ │ │ ├── simulation_server_qtro.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── backend_qtro
│ │ │ │ │ │ ├── backend_qtro.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ └── backend_simulator
│ │ │ │ │ │ ├── backend_simulator.pro
│ │ │ │ │ │ └── CMakeLists.txt
│ │ │ │ └── org-example-echo-noanno
│ │ │ │ │ ├── CMakeLists.txt
│ │ │ │ │ ├── qmlplugin
│ │ │ │ │ ├── qmlplugin.pro
│ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── frontend
│ │ │ │ │ ├── frontend.pro
│ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── test
│ │ │ │ │ ├── test.pro
│ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── backend_qtro
│ │ │ │ │ ├── backend_qtro.pro
│ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── backend_simulator
│ │ │ │ │ ├── backend_simulator.pro
│ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ ├── simulation_server_qtro
│ │ │ │ │ ├── simulation_server_qtro.pro
│ │ │ │ │ └── CMakeLists.txt
│ │ │ │ │ └── org-example-echo-noannotation.pro
│ │ │ ├── custom-template
│ │ │ │ ├── custom-template.pro
│ │ │ │ ├── custom-test.yaml
│ │ │ │ └── CMakeLists.txt
│ │ │ ├── ivigenerator.pro
│ │ │ └── qface imports
│ │ │ │ └── common.qface
│ │ ├── CMakeLists.txt
│ │ ├── qivisimulationglobalobject
│ │ │ └── CMakeLists.txt
│ │ ├── qivisearchandbrowsemodel
│ │ │ └── CMakeLists.txt
│ │ ├── qivipagingmodel
│ │ │ └── CMakeLists.txt
│ │ ├── queryparser
│ │ │ └── CMakeLists.txt
│ │ ├── qivipendingreply
│ │ │ └── CMakeLists.txt
│ │ └── qiviabstractfeature
│ │ │ └── CMakeLists.txt
│ ├── vehiclefunctions
│ │ ├── CMakeLists.txt
│ │ └── basic
│ │ │ └── CMakeLists.txt
│ ├── CMakeLists.txt
│ └── dlt
│ │ └── CMakeLists.txt
└── CMakeLists.txt
├── config_help.txt
├── configure.json
├── qt_cmdline.cmake
├── dependencies.yaml
├── .gitmodules
├── configure.cmake
├── cmake
├── FindWrapTagLib.cmake
├── FindDLT.cmake
├── FindWrapSystemTagLib.cmake
└── QtIviSetup.cmake
├── TODO
├── coin
└── module_config.yaml
└── sync.profile
/src/ivivehiclefunctions/qt_cmdline.cmake:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.cmake.conf:
--------------------------------------------------------------------------------
1 | set(QT_REPO_MODULE_VERSION "6.0.0")
2 |
--------------------------------------------------------------------------------
/.tag:
--------------------------------------------------------------------------------
1 | f9a0db1f29babe13304f03d32aa1978ff9440baf
2 |
--------------------------------------------------------------------------------
/mkspecs/features/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from features.pro.
2 |
3 |
--------------------------------------------------------------------------------
/examples/geniviextras/geniviextras.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += qdlt
3 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisimulationengine/simple.json:
--------------------------------------------------------------------------------
1 | {
2 | "bool": true
3 | }
4 |
--------------------------------------------------------------------------------
/src/geniviextras/qt_cmdline.cmake:
--------------------------------------------------------------------------------
1 | qt_commandline_option(geniviextras-only TYPE boolean)
2 |
--------------------------------------------------------------------------------
/src/ivimedia/qt_cmdline.cmake:
--------------------------------------------------------------------------------
1 | qt_commandline_option(taglib TYPE enum VALUES no qt system)
2 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/wrongmetadata_plugin_static/wrongmetadata.json:
--------------------------------------------------------------------------------
1 | {
2 | }
3 |
--------------------------------------------------------------------------------
/src/imports/core/qmldir:
--------------------------------------------------------------------------------
1 | module QtIvi
2 | plugin qtivicoreplugin
3 | classname QtIviCorePlugin
4 |
--------------------------------------------------------------------------------
/examples/ivimedia/ivimedia.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS = mediaplayer \
3 | tuner
4 |
--------------------------------------------------------------------------------
/src/3rdparty/taglib/taglib_config.h:
--------------------------------------------------------------------------------
1 | #define TAGLIB_WITH_ASF 1
2 | #define TAGLIB_WITH_MP4 1
3 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/doc/qtivimedia_plugins.qdocconf:
--------------------------------------------------------------------------------
1 | headerdirs += .
2 |
3 | sourcedirs += .
4 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisimulationengine/simple.qml:
--------------------------------------------------------------------------------
1 | import QtQuick 2.0
2 |
3 | QtObject {
4 |
5 | }
6 |
--------------------------------------------------------------------------------
/examples/geniviextras/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from geniviextras.pro.
2 |
3 | add_subdirectory(qdlt)
4 |
--------------------------------------------------------------------------------
/src/imports/media/qmldir:
--------------------------------------------------------------------------------
1 | module QtIvi.Media
2 | plugin qtivimediaplugin
3 | classname QIviMediaPlugin
4 |
--------------------------------------------------------------------------------
/config_help.txt:
--------------------------------------------------------------------------------
1 | GeniviExtras options:
2 |
3 | -geniviextras-only .......... Only build the genivi extras module
4 |
--------------------------------------------------------------------------------
/tests/auto/vehiclefunctions/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from vehiclefunctions.pro.
2 |
3 | add_subdirectory(basic)
4 |
--------------------------------------------------------------------------------
/src/ivicore/doc/images/backend-types.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/backend-types.png
--------------------------------------------------------------------------------
/src/plugins/ivivehiclefunctions/doc/qtivivehiclefunctions_plugins.qdocconf:
--------------------------------------------------------------------------------
1 | headerdirs += .
2 |
3 | sourcedirs += .
4 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/simple_plugin/simple_plugin.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [ "simple_plugin" ]
3 | }
4 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/wrong_plugin/wrong_plugin.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [ "wrong_plugin" ]
3 | }
4 |
--------------------------------------------------------------------------------
/src/geniviextras/doc/images/dlt-viewer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/geniviextras/doc/images/dlt-viewer.png
--------------------------------------------------------------------------------
/src/ivicore/doc/exampleurl-qtivi.qdocconf:
--------------------------------------------------------------------------------
1 | url.examples = "https://code.qt.io/cgit/qt/qtivi.git/tree/examples/\1?h=$QT_VER"
2 |
--------------------------------------------------------------------------------
/src/ivicore/doc/images/feature-backend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/feature-backend.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/qtivi-overview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/qtivi-overview.png
--------------------------------------------------------------------------------
/src/ivimedia/doc/images/examples_tuner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivimedia/doc/images/examples_tuner.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/qtivi-codesample.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/qtivi-codesample.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/simulation-system.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/simulation-system.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/+--.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/+--.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/fuel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/fuel.png
--------------------------------------------------------------------------------
/examples/ivimedia/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivimedia.pro.
2 |
3 | add_subdirectory(mediaplayer)
4 | add_subdirectory(tuner)
5 |
--------------------------------------------------------------------------------
/examples/ivimedia/tuner/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/ivicore/doc/images/models-as-properties.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/models-as-properties.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/P-R-N-D.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/P-R-N-D.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/top_bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/top_bar.png
--------------------------------------------------------------------------------
/mkspecs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from mkspecs.pro.
2 |
3 | if(QT_FEATURE_ivigenerator)
4 | add_subdirectory(features)
5 | endif()
6 |
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_tutorial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_tutorial.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/proxy-service-objects.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/proxy-service-objects.png
--------------------------------------------------------------------------------
/src/ivicore/doc/qtivi.qdocconf:
--------------------------------------------------------------------------------
1 | include($QT_INSTALL_DOCS/global/qt-module-defaults-offline.qdocconf)
2 | include(qtivi-project.qdocconf)
3 |
--------------------------------------------------------------------------------
/src/ivimedia/doc/images/examples_mediaplayer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivimedia/doc/images/examples_mediaplayer.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/left_dial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/left_dial.png
--------------------------------------------------------------------------------
/examples/ivimedia/mediaplayer/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/helper/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from helper.pro.
2 |
3 | if(QT_FEATURE_remoteobjects)
4 | add_subdirectory(remoteobjects)
5 | endif()
6 |
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_ivi_remote.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_ivi_remote.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/demo/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/dial_cursor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/dial_cursor.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/dial_pattern.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/dial_pattern.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/fuel_level.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/fuel_level.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/mask_overlay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/mask_overlay.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/middle-bkg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/middle-bkg.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/right_dial.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/right_dial.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/app-service-object-backend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/app-service-object-backend.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_ivi_climate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_ivi_climate.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_tutorial_dbus.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_tutorial_dbus.gif
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_tutorial_sync.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_tutorial_sync.gif
--------------------------------------------------------------------------------
/src/ivicore/doc/images/models-as-properties-details.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/models-as-properties-details.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/demo/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/demo/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/middle-circle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/middle-circle.png
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/climate_qml/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/ivicore/doc/QtIviDoc:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 | #include
4 |
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_ivi_addressbook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_ivi_addressbook.png
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_tutorial_final.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_tutorial_final.gif
--------------------------------------------------------------------------------
/src/ivicore/doc/images/examples_qface_tutorial_unsync.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivicore/doc/images/examples_qface_tutorial_unsync.gif
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivigenerator.pro.
2 |
3 | add_subdirectory(projects)
4 | add_subdirectory(custom-template)
5 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/dial_cursor_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/dial_cursor_right.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/dial_fill_color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/dial_fill_color.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/fuelsymbol_orange.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/fuelsymbol_orange.png
--------------------------------------------------------------------------------
/src/geniviextras/doc/qtgeniviextras.qdocconf:
--------------------------------------------------------------------------------
1 | include($QT_INSTALL_DOCS/global/qt-module-defaults-offline.qdocconf)
2 | include(qtgeniviextras-project.qdocconf)
3 |
--------------------------------------------------------------------------------
/src/ivivehiclefunctions/doc/images/examples_climate_qml.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivivehiclefunctions/doc/images/examples_climate_qml.png
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/no-private.yaml:
--------------------------------------------------------------------------------
1 | org.example.echomodule:
2 | config:
3 | disablePrivateIVI: true
4 | interfaceBuilder: false
5 |
--------------------------------------------------------------------------------
/src/ivivehiclefunctions/doc/images/examples_climate_widget.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/src/ivivehiclefunctions/doc/images/examples_climate_widget.png
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/simple_plugin_static/simple_plugin.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [ "simple_plugin_static" ],
3 | "simulation" : true
4 | }
5 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/dial_fill_color_left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qt/qtivi/dev/examples/ivicore/qface-tutorial/images/dial_fill_color_left.png
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/instrument-cluster.qface:
--------------------------------------------------------------------------------
1 | module Example.IVI.InstrumentClusterModule 1.0
2 |
3 | interface InstrumentCluster {
4 | int speed;
5 | }
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/backend_simulator/simulation.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | simulation.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_simulator/simulation.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | simulation.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/ivivehiclefunctions.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS += \
4 | climate_qml \
5 | window_qml
6 |
7 | qtHaveModule(widgets): SUBDIRS += climate_widget
8 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/window_qml/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | main.qml
4 | WindowItem.qml
5 |
6 |
7 |
--------------------------------------------------------------------------------
/configure.json:
--------------------------------------------------------------------------------
1 | {
2 | "subconfigs": [
3 | "src/geniviextras",
4 | "src/ivicore",
5 | "src/ivivehiclefunctions",
6 | "src/ivimedia"
7 | ]
8 | }
9 |
10 |
--------------------------------------------------------------------------------
/qt_cmdline.cmake:
--------------------------------------------------------------------------------
1 | qt_commandline_subconfig(src/geniviextras)
2 | qt_commandline_subconfig(src/ivicore)
3 | qt_commandline_subconfig(src/ivivehiclefunctions)
4 | qt_commandline_subconfig(src/ivimedia)
5 |
--------------------------------------------------------------------------------
/src/3rdparty/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | if(QT_FEATURE_taglib AND NOT QT_FEATURE_system_taglib)
2 | add_subdirectory(taglib)
3 | endif()
4 | qt_install_3rdparty_library_wrap_config_extra_file(BundledTagLib)
5 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/backend_simulator/plugin_resource.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | simulation.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/simulation.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | simulation.qml
4 |
5 |
6 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/instrumentcluster_dbus.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [
3 | "Example.IVI.InstrumentClusterModule.InstrumentCluster"
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/src/ivicore/Qt6IviCoreConfigExtras.cmake.in:
--------------------------------------------------------------------------------
1 |
2 | # install layout information, following what qmake -query provides
3 | get_filename_component(QTIVI_INSTALL_PREFIX ${CMAKE_CURRENT_LIST_DIR}/../../../ ABSOLUTE)
4 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/tuner_simulator/tuner_simulator.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [
3 | "org.qt-project.qtivi.AmFmTuner/1.0",
4 | "org.qt-project.qtivi.SearchAndBrowseModel/1.0"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/src/plugins/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from plugins.pro.
2 |
3 | if(TARGET Qt::IviMedia)
4 | add_subdirectory(ivimedia)
5 | endif()
6 | if(TARGET Qt::IviVehicleFunctions)
7 | add_subdirectory(ivivehiclefunctions)
8 | endif()
9 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisimulationengine/resource.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | invalid-data.json
4 | simple.json
5 | simple.qml
6 |
7 |
8 |
--------------------------------------------------------------------------------
/dependencies.yaml:
--------------------------------------------------------------------------------
1 | dependencies:
2 | ../qtdeclarative:
3 | ref: 9fafa0652c169314043ec3928d7c3ba33f9c3ae8
4 | required: true
5 | ../qtremoteobjects:
6 | ref: d28b18b9476ad436a9ba5c09937a490760f5d83a
7 | required: true
8 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivivehiclefunctions.pro.
2 |
3 | add_subdirectory(climate_qml)
4 | add_subdirectory(window_qml)
5 | if(TARGET Qt::Widgets)
6 | add_subdirectory(climate_widget)
7 | endif()
8 |
--------------------------------------------------------------------------------
/src/ivimedia/doc/qtivimedia.qdocconf:
--------------------------------------------------------------------------------
1 | headerdirs += .. \
2 | ../../imports/media
3 |
4 | sourcedirs += .. \
5 | ../../imports/media
6 |
7 | exampledirs += snippets
8 |
9 | imagedirs += images
10 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from org-example-echo.pro.
2 |
3 | add_subdirectory(frontend)
4 | add_subdirectory(qmlplugin)
5 | add_subdirectory(backend_simulator)
6 | add_subdirectory(test)
7 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/chapter1-basics.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | frontend \
5 |
6 | instrument-cluster.depends = frontend
7 |
8 | OTHER_FILES += instrument-cluster.qface
9 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/miles.json:
--------------------------------------------------------------------------------
1 |
2 | {
3 | "InstrumentCluster": {
4 | "systemType": {
5 | "type": "enum",
6 | "value": "InstrumentClusterModule::Imperial"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/custom-template/custom-template.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_custom-template
2 |
3 | QT += testlib
4 | CONFIG += c++11 ivigenerator testcase
5 |
6 | QFACE_FORMAT = $$PWD/custom-test
7 | QFACE_SOURCES = ../org.example.echo.qface
8 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "src/3rdparty/qface"]
2 | path = src/3rdparty/qface
3 | url = ../qtivi-qface.git
4 | [submodule "src/3rdparty/taglib/taglib"]
5 | path = src/3rdparty/taglib/taglib
6 | url = ../qtivi-taglib.git
7 | branch = upstream/master
8 |
--------------------------------------------------------------------------------
/src/plugins/ivivehiclefunctions/vehiclefunctions_simulator/qml.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | simulation.qml
4 | QIviConcreteWindowControlSimulation.qml
5 |
6 |
7 |
--------------------------------------------------------------------------------
/tests/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from tests.pro.
2 |
3 | if(QT_BUILD_STANDALONE_TESTS)
4 | # Add qt_find_package calls for extra dependencies that need to be found when building
5 | # the standalone tests here.
6 | endif()
7 | qt_build_tests()
8 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/chapter2-enums-structs.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | frontend \
5 |
6 | instrument-cluster.depends = frontend
7 |
8 | OTHER_FILES += instrument-cluster.qface
9 |
--------------------------------------------------------------------------------
/src/tools/media-simulation-server/qivimediadiscoverymodel.rep:
--------------------------------------------------------------------------------
1 |
2 | class QIviMediaDiscoveryModel
3 | {
4 | PROP(QStringList devices READONLY);
5 |
6 | SIGNAL(deviceAdded(const QString &device));
7 | SIGNAL(deviceRemoved(const QString &device));
8 | };
9 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from org-example-echo-noprivate.pro.
2 |
3 | add_subdirectory(frontend)
4 | add_subdirectory(qmlplugin)
5 | add_subdirectory(backend_simulator)
6 | add_subdirectory(test)
7 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from chapter1-basics.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-chapter1-basics LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(frontend)
7 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from org-example-echo-qtro.pro.
2 |
3 | add_subdirectory(frontend)
4 | add_subdirectory(backend_qtro)
5 | add_subdirectory(simulation_server_qtro)
6 | add_subdirectory(server_qtro_test)
7 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/qface-ivi-remote.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = frontend \
4 | backend_qtro \
5 | server_qtro \
6 | demo
7 |
8 | CONFIG += ordered
9 |
10 | OTHER_FILES += \
11 | example-ivi-remote.qface
12 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qface-ivi-climate.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(example_ivi_climate LANGUAGES CXX)
4 |
5 | add_subdirectory(frontend)
6 | add_subdirectory(backend_simulator)
7 | add_subdirectory(demo)
8 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from chapter2-enums-structs.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-chapter2-enums-structs LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(frontend)
7 |
--------------------------------------------------------------------------------
/src/ivicore/qt_cmdline.cmake:
--------------------------------------------------------------------------------
1 | qt_commandline_option(ivigenerator TYPE enum VALUES no qt system)
2 | qt_commandline_option(qface TYPE enum VALUES no qt system)
3 | qt_commandline_option(host-tools-only TYPE boolean)
4 | qt_commandline_option(force-ivigenerator-qtremoteobjects TYPE boolean)
5 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qface-ivi-addressbook.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(example_ivi_addressbook LANGUAGES CXX)
4 |
5 | add_subdirectory(frontend)
6 | add_subdirectory(backend_simulator)
7 | add_subdirectory(demo)
8 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/qface-ivi-climate.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = frontend \
4 | backend_simulator \
5 | demo
6 |
7 | CONFIG += ordered
8 |
9 | OTHER_FILES += \
10 | example-ivi-climate.qface \
11 | example-ivi-climate.yaml
12 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | QT += qml quick
2 |
3 | SOURCES = main.cpp
4 | RESOURCES += app.qrc \
5 | ../images/images.qrc \
6 |
7 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/instrument-cluster
8 | INSTALLS += target
9 |
--------------------------------------------------------------------------------
/examples/examples.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | qtHaveModule(gui): {
4 | # qtHaveModule(ivicore): SUBDIRS += ivicore
5 | qtHaveModule(ivivehiclefunctions): SUBDIRS += ivivehiclefunctions
6 | qtHaveModule(ivimedia): SUBDIRS += ivimedia
7 | }
8 | qtHaveModule(geniviextras): SUBDIRS += geniviextras
9 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qface-ivi-remote.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(example_ivi_remote LANGUAGES CXX)
4 |
5 | add_subdirectory(frontend)
6 | add_subdirectory(backend_qtro)
7 | add_subdirectory(server_qtro)
8 | add_subdirectory(demo)
9 |
--------------------------------------------------------------------------------
/tests/auto/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from auto.pro.
2 |
3 | if(TARGET Qt::IviCore)
4 | add_subdirectory(core)
5 | endif()
6 | if(TARGET Qt::IviVehicleFunctions)
7 | add_subdirectory(vehiclefunctions)
8 | endif()
9 | if(TARGET Qt::GeniviExtras)
10 | add_subdirectory(dlt)
11 | endif()
12 |
--------------------------------------------------------------------------------
/src/imports/CMakeLists.gen.txt:
--------------------------------------------------------------------------------
1 | # Generated from imports.pro.
2 |
3 | if(TARGET Qt::IviCore)
4 | add_subdirectory(core)
5 | endif()
6 | if(TARGET Qt::IviMedia)
7 | add_subdirectory(media)
8 | endif()
9 | if(TARGET Qt::IviVehicleFunctions)
10 | add_subdirectory(vehiclefunctions)
11 | endif()
12 |
--------------------------------------------------------------------------------
/src/imports/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from imports.pro.
2 |
3 | if(TARGET Qt::IviCore)
4 | add_subdirectory(core)
5 | endif()
6 | if(TARGET Qt::IviMedia)
7 | add_subdirectory(media)
8 | endif()
9 | if(TARGET Qt::IviVehicleFunctions) # special case
10 | add_subdirectory(vehiclefunctions)
11 | endif()
12 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/media_simulator/media_simulator.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [
3 | "org.qt-project.qtivi.MediaPlayer/1.0",
4 | "org.qt-project.qtivi.SearchAndBrowseModel/1.0",
5 | "org.qt-project.qtivi.MediaDiscovery/1.0",
6 | "org.qt-project.qtivi.MediaIndexer/1.0"
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/src/plugins/ivivehiclefunctions/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivivehiclefunctions.pro.
2 |
3 | if(QT_FEATURE_vehiclefunctions_simulation_backend)
4 | add_subdirectory(vehiclefunctions_simulator)
5 | endif()
6 | if(QT_FEATURE_vehiclefunctions_qtro_backend)
7 | add_subdirectory(vehiclefunctions_qtro)
8 | endif()
9 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/org-example-echo.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = frontend \
4 | qmlplugin \
5 | backend_simulator \
6 | test \
7 |
8 | backend_simulator.depends = frontend
9 | test.depends = frontend
10 | qmlplugin.depends = frontend
11 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/qface-ivi-addressbook.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = frontend \
4 | backend_simulator \
5 | demo
6 |
7 | CONFIG += ordered
8 |
9 | OTHER_FILES +=
10 |
11 | DISTFILES += \
12 | example-ivi-addressbook.qface \
13 | example-ivi-addressbook.yaml
14 |
--------------------------------------------------------------------------------
/src/tools/media-simulation-server/qivimediaindexer.rep:
--------------------------------------------------------------------------------
1 |
2 | #include
3 |
4 | class QIviMediaIndexer
5 | {
6 | PROP(QIviMediaIndexerControl::State state READONLY)
7 | PROP(qreal progress READONLY)
8 |
9 | SLOT(QVariant pause());
10 | SLOT(QVariant resume());
11 | };
12 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/qface-tutorial.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | chapter1-basics \
5 | chapter2-enums-structs \
6 | chapter3-simulation-backend \
7 | chapter4-simulation-behavior \
8 | chapter5-ipc \
9 |
10 | qtHaveModule(dbus): SUBDIRS += chapter6-own-backend
11 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/projects.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | QT_FOR_CONFIG += ivicore
4 |
5 | SUBDIRS = org-example-echo \
6 | org-example-echo-noprivate \
7 | org-example-echo-noanno \
8 | include-test \
9 |
10 | qtConfig(remoteobjects) {
11 | SUBDIRS += org-example-echo-qtro
12 | }
13 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/example-ivi-addressbook.yaml:
--------------------------------------------------------------------------------
1 | Example.IVI.AddressBookModule:
2 | config_simulator:
3 | simulationFile: "qrc:/plugin_resource/simulation.qml"
4 |
5 | Example.IVI.AddressBookModule.AddressBook#contacts:
6 | config_simulator:
7 | default: [[ "John", "Doe", "12345" ], [ "Jane", "Doe", "67890" ]]
8 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/ivigenerator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = projects \
4 | custom-template \
5 |
6 | OTHER_FILES = org.example.echo.qface \
7 | org.example.echo.yaml \
8 | org.example.echo.noannotation.qface \
9 | no-private.yaml \
10 | include-test.qface \
11 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from projects.pro.
2 |
3 | add_subdirectory(org-example-echo)
4 | add_subdirectory(org-example-echo-noprivate)
5 | add_subdirectory(org-example-echo-noanno)
6 | add_subdirectory(include-test)
7 | if(QT_FEATURE_remoteobjects)
8 | add_subdirectory(org-example-echo-qtro)
9 | endif()
10 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivimedia.pro.
2 |
3 | if(QT_FEATURE_tuner_simulation_backend)
4 | add_subdirectory(tuner_simulator)
5 | endif()
6 | if(QT_FEATURE_media_simulation_backend)
7 | add_subdirectory(media_simulator)
8 | endif()
9 | if(QT_FEATURE_media_qtro_backend)
10 | add_subdirectory(media_qtro)
11 | endif()
12 |
--------------------------------------------------------------------------------
/examples/ivicore/ivicore.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | QT_FOR_CONFIG += ivicore
4 | qtConfig(ivigenerator) {
5 | SUBDIRS += qface-ivi-climate \
6 | qface-ivi-addressbook
7 | }
8 | qtConfig(ivigenerator): qtConfig(remoteobjects): SUBDIRS += qface-ivi-remote
9 |
10 | qtConfig(ivigenerator): qtConfig(remoteobjects): SUBDIRS += qface-tutorial
11 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from chapter3-simulation-backend.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-chapter3-simulation-backend LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(frontend)
7 | add_subdirectory(backend_simulator)
8 | add_subdirectory(imports)
9 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from chapter4-simulation-behavior.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-chapter4-simulation-behavior LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(frontend)
7 | add_subdirectory(backend_simulator)
8 | add_subdirectory(imports)
9 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/media_qtro/media_qtro.json:
--------------------------------------------------------------------------------
1 | {
2 | "interfaces" : [
3 | "org.qt-project.qtivi.MediaPlayer/1.0",
4 | "org.qt-project.qtivi.SearchAndBrowseModel/1.0",
5 | "org.qt-project.qtivi.MediaDiscovery/1.0",
6 | "org.qt-project.qtivi.MediaIndexer/1.0",
7 | "org.qt-project.qtivi.MediaDiscovery/1.0"
8 | ]
9 | }
10 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/org-example-echo-noprivate.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | QT_FOR_CONFIG += ivicore
4 |
5 | SUBDIRS = frontend \
6 | qmlplugin \
7 | backend_simulator \
8 | test
9 |
10 | backend_simulator.depends = frontend
11 | test.depends = frontend
12 | qmlplugin.depends = frontend
13 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/org-example-echo-qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = frontend \
4 | backend_qtro \
5 | simulation_server_qtro \
6 | server_qtro_test
7 |
8 | backend_qtro.depends = frontend
9 | server_qtro_test.depends = backend_qtro
10 | simulation_server_qtro.depends = frontend
11 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/examples/ivimedia/tuner/tuner.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 |
3 | QT += qml quick ivicore
4 |
5 | CONFIG += c++11
6 |
7 | SOURCES += main.cpp
8 |
9 | RESOURCES += qml.qrc
10 |
11 | # Additional import path used to resolve QML modules in Qt Creator's code model
12 | QML_IMPORT_PATH =
13 |
14 | # install
15 | target.path = $$[QT_INSTALL_EXAMPLES]/ivimedia/tuner
16 | INSTALLS += target
17 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/window_qml/window_qml.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 |
3 | QT += qml quick
4 |
5 | SOURCES += main.cpp
6 |
7 | RESOURCES += qml.qrc
8 |
9 | # Additional import path used to resolve QML modules in Qt Creator's code model
10 | QML_IMPORT_PATH =
11 |
12 | # install
13 | target.path = $$[QT_INSTALL_EXAMPLES]/ivivehiclefunctions/window_qml
14 | INSTALLS += target
15 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/qmlplugin/qmlplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | QT = ivicore ivivehiclefunctions
3 | CONFIG += c++11 plugin
4 |
5 | INCLUDEPATH += $$OUT_PWD/../frontend
6 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../../../org.example.echo.qface
10 |
11 | load(ivigenerator)
12 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/climate_qml/climate_qml.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 |
3 | QT += qml quick
4 |
5 | SOURCES += main.cpp
6 |
7 | RESOURCES += qml.qrc
8 |
9 | # Additional import path used to resolve QML modules in Qt Creator's code model
10 | QML_IMPORT_PATH =
11 |
12 | # install
13 | target.path = $$[QT_INSTALL_EXAMPLES]/ivivehiclefunctions/climate_qml
14 | INSTALLS += target
15 |
--------------------------------------------------------------------------------
/src/ivivehiclefunctions/doc/qtivivehiclefunctions.qdocconf:
--------------------------------------------------------------------------------
1 | headerdirs += .. \
2 | ../../imports/vehiclefunctions \
3 | $$BUILDDIR/../ivivehiclefunctions \
4 |
5 | sourcedirs += .. \
6 | ../../imports/vehiclefunctions \
7 | $$BUILDDIR/../ivivehiclefunctions \
8 |
9 | exampledirs += snippets
10 |
11 | imagedirs += images
12 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/common/common.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET= $$qtLibraryTarget(include_test_common)
3 | DESTDIR = ../
4 |
5 | CONFIG += ivigenerator
6 |
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_COMMON_LIB
10 |
11 | macos: QMAKE_SONAME_PREFIX = @rpath
12 |
13 | QFACE_SOURCES = "../../../qface imports/common.qface"
14 |
15 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/chapter3-simulation-backend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | frontend \
5 | backend_simulator \
6 | imports \
7 |
8 | instrument-cluster.depends = frontend
9 | backend_simulator.depends = frontend
10 | imports.depends = frontend
11 |
12 | OTHER_FILES += instrument-cluster.qface
13 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/chapter4-simulation-behavior.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | frontend \
5 | backend_simulator \
6 | imports \
7 |
8 | instrument-cluster.depends = frontend
9 | backend_simulator.depends = frontend
10 | imports.depends = frontend
11 |
12 | OTHER_FILES += instrument-cluster.qface
13 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET= $$qtLibraryTarget(echo_frontend)
3 | DESTDIR = ../
4 |
5 | CONFIG += ivigenerator
6 |
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_ORG_EXAMPLE_ECHO_LIB
10 |
11 | macos: QMAKE_SONAME_PREFIX = @rpath
12 |
13 | QFACE_SOURCES = ../../../org.example.echo.qface
14 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from include-test.pro.
2 |
3 | add_subdirectory(common)
4 | add_subdirectory(frontend)
5 | add_subdirectory(qmlplugin)
6 | add_subdirectory(backend_simulator)
7 | add_subdirectory(test)
8 | if(QT_FEATURE_remoteobjects)
9 | add_subdirectory(backend_qtro)
10 | add_subdirectory(simulation_server_qtro)
11 | endif()
12 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from org-example-echo-noannotation.pro.
2 |
3 | add_subdirectory(frontend)
4 | add_subdirectory(qmlplugin)
5 | add_subdirectory(backend_simulator)
6 | add_subdirectory(test)
7 | if(QT_FEATURE_remoteobjects)
8 | add_subdirectory(backend_qtro)
9 | add_subdirectory(simulation_server_qtro)
10 | endif()
11 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET= $$qtLibraryTarget(echo_frontend)
3 | DESTDIR = ../
4 |
5 | CONFIG += ivigenerator
6 |
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_ORG_EXAMPLE_ECHO_LIB
10 |
11 | macos: QMAKE_SONAME_PREFIX = @rpath
12 |
13 | QFACE_SOURCES = ../../../org.example.echo.qface
14 |
15 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/qface imports/common.qface:
--------------------------------------------------------------------------------
1 | module Common 1.0;
2 |
3 | struct CommonStruct {
4 | string name
5 | OtherCommonStruct otherStruct
6 | }
7 |
8 | struct OtherCommonStruct {
9 | bool checked
10 | }
11 |
12 | enum CommonEnum {
13 | CommonValue1,
14 | CommonValue2
15 | }
16 |
17 | flag CommonFlag {
18 | FlagValue1 = 1,
19 | FlagValue2 = 2
20 | }
21 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from chapter5-ipc.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-chapter5-ipc LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(frontend)
7 | add_subdirectory(backend_simulator)
8 | add_subdirectory(backend_qtro)
9 | add_subdirectory(imports)
10 | add_subdirectory(simulation_server)
11 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/examples/ivimedia/mediaplayer/mediaplayer.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 |
3 | QT += qml quick ivicore
4 |
5 | CONFIG += c++11
6 |
7 | SOURCES += main.cpp
8 |
9 | RESOURCES += qml.qrc
10 |
11 | # Additional import path used to resolve QML modules in Qt Creator's code model
12 | QML_IMPORT_PATH =
13 |
14 | # install
15 | target.path = $$[QT_INSTALL_EXAMPLES]/ivimedia/mediaplayer
16 | INSTALLS += target
17 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster/app.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | Cluster.qml
4 | Top.qml
5 | RightDial.qml
6 | LeftDial.qml
7 | Dial.qml
8 | Fuel.qml
9 | Label.qml
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/ivicore/doc/online/qtivi.qdocconf:
--------------------------------------------------------------------------------
1 | include($QT_INSTALL_DOCS/global/qt-module-defaults-online.qdocconf)
2 |
3 | # Add an .html file with sidebar content, used in the online style
4 | # HTML.stylesheets += style/qt5-sidebar.html
5 |
6 | # override defaults for Qt module documentation
7 | HTML.nosubdirs = "false"
8 | HTML.outputsubdir = "qtivi"
9 |
10 | include(../qtivi-project.qdocconf)
11 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/example-ivi-addressbook.qface:
--------------------------------------------------------------------------------
1 | module Example.IVI.AddressBookModule 1.0;
2 |
3 | @config: { qml_type: "UiAddressBook" }
4 | //! [0]
5 | interface AddressBook {
6 | model contacts;
7 |
8 | void insertContact(int index, Contact contact);
9 | }
10 |
11 | struct Contact {
12 | string forename;
13 | string name;
14 | int phone;
15 | }
16 | //! [0]
17 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/qmlplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | QT = ivicore ivivehiclefunctions
3 | CONFIG += c++11 plugin
4 |
5 | INCLUDEPATH += $$OUT_PWD/../frontend
6 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noannotation_frontend)
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../../../org.example.echo.noannotation.qface
10 |
11 | load(ivigenerator)
12 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from chapter6-own-backend.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-chapter6-own-backend LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(frontend)
7 | add_subdirectory(backend_simulator)
8 | add_subdirectory(backend_dbus)
9 | add_subdirectory(imports)
10 | add_subdirectory(demo_server)
11 |
--------------------------------------------------------------------------------
/src/tools/ivigenerator/templates/server_qtro.yaml:
--------------------------------------------------------------------------------
1 | server_qtro:
2 | module:
3 | documents:
4 | - "core.cpp": "core.cpp.tpl"
5 | - "core.h": "core.h.tpl"
6 | - "{{srcBase|lower}}.pri": "server.pri.tpl"
7 | - '{{srcBase|lower}}.cmake': 'CMakeLists.txt.tpl'
8 | interface:
9 | documents:
10 | - "{{interface|lower}}.rep": "common/interface.rep.tpl"
11 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET= $$qtLibraryTarget(echo_noannotation_frontend)
3 | DESTDIR = ../
4 |
5 | CONFIG += ivigenerator
6 |
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_ORG_EXAMPLE_ECHO_LIB
10 |
11 | macos: QMAKE_SONAME_PREFIX = @rpath
12 |
13 | QFACE_SOURCES = ../../../org.example.echo.noannotation.qface
14 |
15 |
--------------------------------------------------------------------------------
/examples/geniviextras/qdlt/qdlt.pro:
--------------------------------------------------------------------------------
1 | QT += core geniviextras
2 | QT -= gui
3 |
4 | TARGET = qdlt
5 | CONFIG += console
6 | CONFIG -= app_bundle
7 | CONFIG += c++11
8 |
9 | TEMPLATE = app
10 |
11 | SOURCES += main.cpp \
12 | loggingcategories.cpp \
13 |
14 | HEADERS += \
15 | loggingcategories.h \
16 |
17 | # install
18 | target.path = $$[QT_INSTALL_EXAMPLES]/geniviextras/qdlt
19 | INSTALLS += target
20 |
--------------------------------------------------------------------------------
/src/tools/ivigenerator/templates/test.yaml:
--------------------------------------------------------------------------------
1 | test:
2 | module:
3 | documents:
4 | - "{{srcBase|lower}}.pri": "module.pri.tpl"
5 | - '{{srcBase|lower}}.cmake': 'CMakeLists.txt.tpl'
6 | - 'main.cpp': 'main.cpp.tpl'
7 | interface:
8 | documents:
9 | - 'tst_{{interface|lower}}.cpp': 'tst_test.cpp.tpl'
10 | - 'tst_{{interface|lower}}.h': 'tst_test.h.tpl'
11 |
--------------------------------------------------------------------------------
/src/geniviextras/doc/online/qtgeniviextras.qdocconf:
--------------------------------------------------------------------------------
1 | include($QT_INSTALL_DOCS/global/qt-module-defaults-online.qdocconf)
2 |
3 | # Add an .html file with sidebar content, used in the online style
4 | # HTML.stylesheets += style/qt5-sidebar.html
5 |
6 | # override defaults for Qt module documentation
7 | HTML.nosubdirs = "false"
8 | HTML.outputsubdir = "qtgeniviextras"
9 |
10 | include(../qtgeniviextras-project.qdocconf)
11 |
--------------------------------------------------------------------------------
/examples/ivicore/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivicore.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(example LANGUAGES CXX)
5 |
6 | if(QT_FEATURE_ivigenerator)
7 | add_subdirectory(qface-ivi-climate)
8 | add_subdirectory(qface-ivi-addressbook)
9 | endif()
10 | if(QT_FEATURE_ivigenerator AND QT_FEATURE_remoteobjects)
11 | add_subdirectory(qface-ivi-remote)
12 | add_subdirectory(qface-tutorial)
13 | endif()
14 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/qmlplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | QT = ivicore ivivehiclefunctions
3 | CONFIG += c++11 plugin
4 |
5 | INCLUDEPATH += $$OUT_PWD/../frontend
6 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noprivate_frontend)
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../../../org.example.echo.qface
10 | QFACE_ANNOTATIONS += ../../../no-private.yaml
11 |
12 | load(ivigenerator)
13 |
--------------------------------------------------------------------------------
/configure.cmake:
--------------------------------------------------------------------------------
1 |
2 |
3 | #### Inputs
4 |
5 |
6 |
7 | #### Libraries
8 |
9 |
10 |
11 | #### Tests
12 |
13 |
14 |
15 | #### Features
16 |
17 |
18 | qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC)
19 | qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC)
20 | qt_extra_definition("QT_VERSION_MINOR" ${PROJECT_VERSION_MINOR} PUBLIC)
21 | qt_extra_definition("QT_VERSION_PATCH" ${PROJECT_VERSION_PATCH} PUBLIC)
22 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/test/test.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_org-example-echo
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | DESTDIR = ../
4 |
5 | QT += testlib core ivicore
6 | CONFIG += c++11 ivigenerator testcase
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
10 |
11 | QMAKE_RPATHDIR += $$OUT_PWD/..
12 |
13 | QFACE_FORMAT = test
14 | QFACE_SOURCES = ../../../org.example.echo.qface
15 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET= $$qtLibraryTarget(echo_noprivate_frontend)
3 | DESTDIR = ../
4 |
5 | CONFIG += ivigenerator
6 |
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_ORG_EXAMPLE_ECHO_LIB
10 |
11 | macos: QMAKE_SONAME_PREFIX = @rpath
12 |
13 | QFACE_SOURCES = ../../../org.example.echo.qface
14 | QFACE_ANNOTATIONS += ../../../no-private.yaml
15 |
16 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/qmlplugin/qmlplugin.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | QT = ivicore
3 | CONFIG += c++11 plugin
4 |
5 | INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common
6 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(include_test_frontend) -l$$qtLibraryTarget(include_test_common)
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../../../include-test.qface
10 | QFACE_IMPORT_PATH += "../../../qface imports"
11 |
12 | load(ivigenerator)
13 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/example-ivi-remote.qface:
--------------------------------------------------------------------------------
1 | /**
2 | * Test module
3 | */
4 | //! [0]
5 | module Example.IVI.RemoteModule 1.0;
6 | //! [0]
7 | /**
8 | * The ProcessingService provides a QML interface to a service doing
9 | * all sorts of heavy processing
10 | */
11 | //! [1]
12 | @config: { qml_type: "UiProcessingService" }
13 | interface ProcessingService {
14 |
15 | string lastMessage;
16 |
17 | int process(string data);
18 | }
19 | //! [1]
20 |
--------------------------------------------------------------------------------
/tests/auto/core/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from core.pro.
2 |
3 | add_subdirectory(servicemanagertest)
4 | add_subdirectory(qiviabstractfeature)
5 | add_subdirectory(qivipendingreply)
6 | add_subdirectory(queryparser)
7 | add_subdirectory(qivipagingmodel)
8 | add_subdirectory(qivisearchandbrowsemodel)
9 | add_subdirectory(qivisimulationengine)
10 | add_subdirectory(qivisimulationglobalobject)
11 | if(QT_FEATURE_ivigenerator)
12 | add_subdirectory(ivigenerator)
13 | endif()
14 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisimulationengine/invalid-data.json:
--------------------------------------------------------------------------------
1 | {
2 | "AddressBook": {
3 | "contacts": {
4 | "default": [
5 | {
6 | "type": "Contact",
7 | "value": [
8 | "John",
9 | "Doe",
10 | "12345"
11 | ]
12 | },
13 | {
14 | "type": "Contact",
15 | "value": [
16 | "Jane",
17 | "Doe",
18 | "67890"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/cmake/FindWrapTagLib.cmake:
--------------------------------------------------------------------------------
1 | include(QtFindWrapHelper NO_POLICY_SCOPE)
2 |
3 | qt_find_package_system_or_bundled(wrap_taglib
4 | FRIENDLY_PACKAGE_NAME "TagLib"
5 | WRAP_PACKAGE_TARGET "WrapTagLib::WrapTagLib"
6 | WRAP_PACKAGE_FOUND_VAR_NAME "WrapTagLib_FOUND"
7 | BUNDLED_PACKAGE_NAME "BundledTagLib"
8 | BUNDLED_PACKAGE_TARGET "BundledTagLib"
9 | SYSTEM_PACKAGE_NAME "WrapSystemTagLib"
10 | SYSTEM_PACKAGE_TARGET "WrapSystemTagLib::WrapSystemTagLib"
11 | )
12 |
13 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/chapter5-ipc.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | frontend \
5 | backend_simulator \
6 | backend_qtro \
7 | imports \
8 | simulation_server \
9 |
10 | instrument-cluster.depends = frontend
11 | backend_simulator.depends = frontend
12 | backend_qtro.depends = frontend
13 | imports.depends = frontend
14 | simulation_server.depends = frontend
15 |
16 | OTHER_FILES += instrument-cluster.qface
17 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/chapter6-own-backend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 | SUBDIRS += \
3 | instrument-cluster \
4 | frontend \
5 | backend_simulator \
6 | backend_dbus \
7 | imports \
8 | demo_server \
9 |
10 | instrument-cluster.depends = frontend
11 | backend_simulator.depends = frontend
12 | backend_dbus.depends = frontend
13 | imports.depends = frontend
14 | demo_server.depends = frontend
15 |
16 | OTHER_FILES += instrument-cluster.qface
17 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviInstrumentCluster)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT += ivicore ivicore-private qml quick
6 |
7 | DEFINES += QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB
8 | CONFIG += ivigenerator
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | CONFIG += install_ok # Do not cargo-cult this!
12 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter5-ipc
13 | INSTALLS += target
14 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/climate_widget/climate_widget.pro:
--------------------------------------------------------------------------------
1 | QT += core gui ivicore ivivehiclefunctions
2 | CONFIG += c++11
3 |
4 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
5 |
6 | TARGET = climate_widget
7 | TEMPLATE = app
8 |
9 |
10 | SOURCES += main.cpp\
11 | mainwindow.cpp
12 |
13 | HEADERS += mainwindow.h
14 |
15 | FORMS += mainwindow.ui
16 |
17 | # install
18 | target.path = $$[QT_INSTALL_EXAMPLES]/ivivehiclefunctions/climate_widget
19 | INSTALLS += target
20 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviInstrumentCluster)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT += ivicore ivicore-private qml quick
6 |
7 | DEFINES += QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB
8 | CONFIG += ivigenerator
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | CONFIG += install_ok # Do not cargo-cult this!
12 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter1-basics
13 | INSTALLS += target
14 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/test/test.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_org-example-echo-noannotation
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | DESTDIR = ../
4 |
5 | QT += testlib core ivicore
6 | CONFIG += c++11 ivigenerator testcase
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noannotation_frontend)
10 |
11 | QMAKE_RPATHDIR += $$OUT_PWD/..
12 |
13 | QFACE_FORMAT = test
14 | QFACE_SOURCES = ../../../org.example.echo.noannotation.qface
15 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qface-tutorial.pro.
2 | cmake_minimum_required(VERSION 3.14)
3 | project(qface-tutorial LANGUAGES CXX)
4 |
5 | add_subdirectory(instrument-cluster)
6 | add_subdirectory(chapter1-basics)
7 | add_subdirectory(chapter2-enums-structs)
8 | add_subdirectory(chapter3-simulation-backend)
9 | add_subdirectory(chapter4-simulation-behavior)
10 | add_subdirectory(chapter5-ipc)
11 | if(TARGET Qt::DBus)
12 | add_subdirectory(chapter6-own-backend)
13 | endif()
14 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviInstrumentCluster)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT += ivicore ivicore-private qml quick
6 |
7 | DEFINES += QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB
8 | CONFIG += ivigenerator
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | CONFIG += install_ok # Do not cargo-cult this!
12 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend
13 | INSTALLS += target
14 |
--------------------------------------------------------------------------------
/examples/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from examples.pro.
2 |
3 | qt_examples_build_begin()
4 |
5 | if(TARGET Qt::Gui AND TARGET Qt::IviCore)
6 | add_subdirectory(ivicore)
7 | endif()
8 | if(TARGET Qt::Gui AND TARGET Qt::IviVehicleFunctions)
9 | add_subdirectory(ivivehiclefunctions)
10 | endif()
11 | if(TARGET Qt::Gui AND TARGET Qt::IviMedia)
12 | add_subdirectory(ivimedia)
13 | endif()
14 | if(TARGET Qt::GeniviExtras)
15 | add_subdirectory(geniviextras)
16 | endif()
17 |
18 | qt_examples_build_end()
19 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviInstrumentCluster)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT += ivicore ivicore-private qml quick
6 |
7 | DEFINES += QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB
8 | CONFIG += ivigenerator
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | CONFIG += install_ok # Do not cargo-cult this!
12 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter2-enums-structs
13 | INSTALLS += target
14 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.cpp:
--------------------------------------------------------------------------------
1 | #include "echobackend.h"
2 | #include "echozonedbackend.h"
3 | #include "echomodulesimulatorplugin.h"
4 |
5 | QT_BEGIN_NAMESPACE
6 |
7 | extern QVector echoInterfaceBuilder(EchomoduleSimulatorPlugin *plugin)
8 | {
9 | QVector res;
10 | res << new EchoBackend(plugin);
11 | res << new EchoZonedBackend(plugin);
12 | return res;
13 | }
14 |
15 | QT_END_NAMESPACE
16 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/custom-template/custom-test.yaml:
--------------------------------------------------------------------------------
1 | generate_rules:
2 | module_rules:
3 | - dest_file: "{{srcBase|lower}}.pri"
4 | template_file: "module.pri.tpl"
5 | - dest_file: '{{srcBase|lower}}.cmake'
6 | template_file: 'CMakeLists.txt.tpl'
7 | - dest_file: 'tst_custom.cpp'
8 | template_file: 'tst_custom.cpp.tpl'
9 | - dest_file: 'tst_custom.h'
10 | template_file: 'tst_custom.h.tpl'
11 | interface_rules:
12 | struct_rules:
13 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviInstrumentCluster)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT += ivicore ivicore-private qml quick
6 |
7 | DEFINES += QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB
8 | CONFIG += ivigenerator
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | CONFIG += install_ok # Do not cargo-cult this!
12 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter3-simulation-backend
13 | INSTALLS += target
14 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviInstrumentCluster)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT += ivicore ivicore-private qml quick
6 |
7 | DEFINES += QT_BUILD_EXAMPLE_IVI_INSTRUMENTCLUSTER_LIB
8 | CONFIG += ivigenerator
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | CONFIG += install_ok # Do not cargo-cult this!
12 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter4-simulation-behavior
13 | INSTALLS += target
14 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/qmlplugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qmlplugin.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | # IVI Generator:
9 | qt6_ivigenerator(qmlplugin
10 | QFACE_SOURCES ../../../include-test.qface
11 | QFACE_FORMAT qmlplugin
12 | QFACE_IMPORT_PATH ../../../qface\ imports
13 | )
14 |
15 | target_link_libraries(qmlplugin PRIVATE
16 | include_test_frontend
17 | Qt::IviCore
18 | )
19 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster.qface:
--------------------------------------------------------------------------------
1 | module Example.IVI.InstrumentClusterModule 1.0
2 |
3 | interface InstrumentCluster {
4 | readonly int speed;
5 | readonly int rpm;
6 | readonly real fuel;
7 | readonly real temperature;
8 | readonly SystemType systemType;
9 | readonly Warning currentWarning;
10 | }
11 |
12 | enum SystemType {
13 | Imperial,
14 | Metric
15 | }
16 |
17 | struct Warning {
18 | string color
19 | string text
20 | string icon
21 | }
22 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/instrument-cluster.qface:
--------------------------------------------------------------------------------
1 | module Example.IVI.InstrumentClusterModule 1.0
2 |
3 | interface InstrumentCluster {
4 | readonly int speed;
5 | readonly int rpm;
6 | readonly int fuel;
7 | readonly real temperature;
8 | readonly SystemType systemType;
9 | readonly Warning currentWarning;
10 | }
11 |
12 | enum SystemType {
13 | Imperial,
14 | Metric
15 | }
16 |
17 | struct Warning {
18 | string color
19 | string text
20 | string icon
21 | }
22 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/test.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_org-example-echo-noprivate
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | DESTDIR = ../
4 |
5 | QT += testlib core ivicore
6 | CONFIG += c++11 ivigenerator testcase
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noprivate_frontend)
10 |
11 | QMAKE_RPATHDIR += $$OUT_PWD/..
12 |
13 | QFACE_FORMAT = test
14 | QFACE_SOURCES = ../../../org.example.echo.qface
15 | QFACE_ANNOTATIONS += ../../../no-private.yaml
16 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/simulation_server_qtro/simulation_server_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 | TARGET = org-example-echo-qtro-simulation-server
3 | QMAKE_PROJECT_NAME = $$TARGET
4 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
5 |
6 | DESTDIR = ..
7 |
8 | CONFIG += c++11 ivigenerator
9 | CONFIG -= app_bundle
10 |
11 | INCLUDEPATH += $$OUT_PWD/../frontend
12 |
13 | QT += qml quick core ivicore
14 |
15 | QFACE_FORMAT = server_qtro_simulator
16 | QFACE_SOURCES = ../../../org.example.echo.qface
17 |
--------------------------------------------------------------------------------
/src/ivicore/queryparser/README:
--------------------------------------------------------------------------------
1 | This Directory contains all the files needed to generate
2 | a Parser for the QtIvi Query Language.
3 |
4 | The Grammer is defined by using flex (*.l) and QLALR (*.g)
5 |
6 | To change the grammer you need to edit the *.l or *.g files
7 | and generate the corresponding header files
8 |
9 | All header files (besides the qiviqueryterm.*) are autogenerated.
10 |
11 | You can automatically generate the header files on every change
12 | by setting the enable-qlalr CONFIG option
13 |
14 | $ qmake CONFIG+=enable-qlalr
15 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET= $$qtLibraryTarget(include_test_frontend)
3 | DESTDIR = ../
4 |
5 | CONFIG += ivigenerator
6 |
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_INCLUDE_TEST_LIB
10 | INCLUDEPATH += $$OUT_PWD/../common
11 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(include_test_common)
12 |
13 | macos: QMAKE_SONAME_PREFIX = @rpath
14 |
15 | QFACE_SOURCES = ../../../include-test.qface
16 | QFACE_IMPORT_PATH += "../../../qface imports"
17 |
18 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/backend_qtro/backend_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(echo_noannotation_qtro)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noannotation_frontend)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = EchoQtROPlugin
11 |
12 | QT += core ivicore
13 |
14 | QFACE_FORMAT = backend_qtro
15 | QFACE_SOURCES = ../../../org.example.echo.noannotation.qface
16 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/backend_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(echo_backend_qtro)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = EchoQtROPlugin
11 |
12 | QT += core ivicore
13 |
14 | macos: QMAKE_SONAME_PREFIX = @rpath
15 |
16 | QFACE_FORMAT = backend_qtro
17 | QFACE_SOURCES = ../../../org.example.echo.qface
18 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/test/test.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_include
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | DESTDIR = ../
4 |
5 | QT += testlib core ivicore
6 | CONFIG += c++11 ivigenerator testcase
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common
9 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(include_test_frontend) -l$$qtLibraryTarget(include_test_common)
10 |
11 | QMAKE_RPATHDIR += $$OUT_PWD/..
12 |
13 | QFACE_FORMAT = test
14 | QFACE_SOURCES = ../../../include-test.qface
15 | QFACE_IMPORT_PATH += "../../../qface imports"
16 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(echo_simulator)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = EchoSimulatorPlugin
11 |
12 | QT += core ivicore
13 |
14 | QFACE_FORMAT = backend_simulator
15 | QFACE_SOURCES = ../../../org.example.echo.qface
16 |
17 | SOURCES += backend_simulator.cpp
18 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviAdressBookExample)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | QT_FOR_CONFIG += ivicore
6 | !qtConfig(ivigenerator): error("No ivigenerator available")
7 | QT += ivicore ivicore-private qml quick
8 |
9 | DEFINES += QT_BUILD_EXAMPLE_IVI_ADDRESSBOOK_LIB
10 | CONFIG += ivigenerator
11 | QFACE_SOURCES = ../example-ivi-addressbook.qface
12 | CONFIG += install_ok # Do not cargo-cult this!
13 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-iviaddressbook
14 | INSTALLS += target
15 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(echo_noannotation_simulator)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noannotation_frontend)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = EchoSimulatorPlugin
11 |
12 | QT += core ivicore
13 |
14 | QFACE_FORMAT = backend_simulator
15 | QFACE_SOURCES = ../../../org.example.echo.noannotation.qface
16 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/qmlplugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qmlplugin.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | # IVI Generator:
9 | qt6_ivigenerator(echo_frontend_qmlplugin # special case
10 | QFACE_SOURCES ../../../org.example.echo.qface
11 | QFACE_FORMAT qmlplugin
12 | )
13 |
14 | target_link_libraries(echo_frontend_qmlplugin PRIVATE # special case
15 | echo_frontend
16 | Qt::IviCore
17 | Qt::IviVehicleFunctions
18 | )
19 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/simulation_server_qtro/simulation_server_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 | TARGET = org-example-echo-noannotation-simulation-server
3 | QMAKE_PROJECT_NAME = $$TARGET
4 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noannotation_frontend)
5 |
6 | DESTDIR = ..
7 |
8 | CONFIG += c++11 ivigenerator
9 | CONFIG -= app_bundle
10 |
11 | INCLUDEPATH += $$OUT_PWD/../frontend
12 |
13 | QT += qml quick core ivicore
14 |
15 | QFACE_FORMAT = server_qtro_simulator
16 | QFACE_SOURCES = ../../../org.example.echo.noannotation.qface
17 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/org-example-echo-noannotation.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = frontend \
4 | qmlplugin \
5 | backend_simulator \
6 | test \
7 |
8 | backend_simulator.depends = frontend
9 | test.depends = frontend
10 | qmlplugin.depends = frontend
11 |
12 | QT_FOR_CONFIG += ivicore
13 | qtConfig(remoteobjects): {
14 | SUBDIRS += backend_qtro \
15 | simulation_server_qtro \
16 |
17 | backend_qtro.depends = frontend
18 | simulation_server_qtro.depends = frontend
19 | }
20 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviRemoteExample)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | #! [0]
6 | QT_FOR_CONFIG += ivicore
7 | !qtConfig(ivigenerator): error("No ivigenerator available")
8 | #! [0]
9 | QT += ivicore ivicore-private qml quick
10 |
11 | DEFINES += QT_BUILD_EXAMPLE_IVI_REMOTE_LIB
12 | #! [1]
13 | CONFIG += ivigenerator
14 | QFACE_SOURCES = ../example-ivi-remote.qface
15 | #! [1]
16 | CONFIG += install_ok # Do not cargo-cult this!
17 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-remote
18 | INSTALLS += target
19 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/frontend/frontend.pro:
--------------------------------------------------------------------------------
1 | TARGET = $$qtLibraryTarget(QtIviClimateExample)
2 | TEMPLATE = lib
3 | DESTDIR = ..
4 |
5 | #! [0]
6 | QT_FOR_CONFIG += ivicore
7 | !qtConfig(ivigenerator): error("No ivigenerator available")
8 | #! [0]
9 | QT += ivicore ivicore-private qml quick
10 |
11 | DEFINES += QT_BUILD_EXAMPLE_IVI_CLIMATE_LIB
12 | #! [1]
13 | CONFIG += ivigenerator
14 | QFACE_SOURCES = ../example-ivi-climate.qface
15 | #! [1]
16 | CONFIG += install_ok # Do not cargo-cult this!
17 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate
18 | INSTALLS += target
19 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/backend_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(echo_noanno_qtro)
9 |
10 | # IVI Generator:
11 | qt6_ivigenerator(echo_noanno_qtro
12 | QFACE_SOURCES ../../../org.example.echo.noannotation.qface
13 | QFACE_FORMAT backend_qtro
14 | )
15 |
16 | target_link_libraries(echo_noanno_qtro PUBLIC
17 | echo_noanno_frontend
18 | Qt::Core
19 | Qt::Gui
20 | Qt::IviCore
21 | )
22 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(echo_noprivate_simulator)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_noprivate_frontend)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = EchoSimulatorPlugin
11 |
12 | QT += core ivicore
13 |
14 | QFACE_FORMAT = backend_simulator
15 | QFACE_SOURCES = ../../../org.example.echo.qface
16 | QFACE_ANNOTATIONS += ../../../no-private.yaml
17 |
--------------------------------------------------------------------------------
/tests/auto/dlt/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from dlt.pro.
2 |
3 | #####################################################################
4 | ## tst_dlt Test:
5 | #####################################################################
6 |
7 | qt_internal_add_test(tst_dlt
8 | SOURCES
9 | tst_dlt.cpp
10 | DEFINES
11 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
12 | PUBLIC_LIBRARIES
13 | DLT::DLT
14 | Qt::GeniviExtras
15 | Qt::Gui
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:dlt.pro::
19 | # QMAKE_PROJECT_NAME = "$$TARGET"
20 | # TEMPLATE = "app"
21 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/include-test.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = subdirs
2 |
3 | SUBDIRS = common \
4 | frontend \
5 | qmlplugin \
6 | backend_simulator \
7 | test \
8 |
9 | frontend.depends = common
10 | backend_simulator.depends = frontend
11 | test.depends = frontend
12 | qmlplugin.depends = frontend
13 |
14 | QT_FOR_CONFIG += ivicore
15 |
16 | qtConfig(remoteobjects) {
17 | SUBDIRS += backend_qtro \
18 | simulation_server_qtro
19 |
20 | backend_qtro.depends = frontend
21 | simulation_server_qtro.depends = frontend
22 | }
23 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/simulation_server_qtro/simulation_server_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = app
2 | TARGET = org-example-echo-qtro-simulation-server
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(include_test_frontend) -l$$qtLibraryTarget(include_test_common)
4 |
5 | DESTDIR = ..
6 |
7 | CONFIG += c++11 ivigenerator
8 | CONFIG -= app_bundle
9 |
10 | INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common
11 |
12 | QT += qml quick core ivicore
13 |
14 | QFACE_FORMAT = server_qtro_simulator
15 | QFACE_SOURCES = ../../../include-test.qface
16 | QFACE_IMPORT_PATH += "../../../qface imports"
17 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/qmlplugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qmlplugin.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | # IVI Generator:
9 | qt6_ivigenerator(echo_frontend_noanno_qmlplugin # special case
10 | QFACE_SOURCES ../../../org.example.echo.noannotation.qface
11 | QFACE_FORMAT qmlplugin
12 | )
13 |
14 | target_link_libraries(echo_frontend_noanno_qmlplugin PRIVATE # special case
15 | echo_noanno_frontend
16 | Qt::IviCore
17 | Qt::IviVehicleFunctions
18 | )
19 |
--------------------------------------------------------------------------------
/src/3rdparty/qt_attribution.json:
--------------------------------------------------------------------------------
1 | {
2 | "Id": "qface",
3 | "Name": "QFace",
4 | "QDocModule": "qtivi",
5 | "QtUsage": "Used for qtivi autogeneration of interfaces.",
6 | "Files": "qface ../doc/qtivi/src/template-syntax.qdoc ../doc/qtivi/src/idl-syntax.qdoc",
7 |
8 | "Description": "QFace is a generator framework based on a modern IDL.",
9 | "Homepage": "https://pelagicore.github.io/qface",
10 | "Version": "2.0.3",
11 |
12 | "License": "MIT",
13 | "LicenseId": "MIT",
14 | "LicenseFile": "qface/LICENSE",
15 | "Copyright": "Copyright (C) 2019 Luxoft Sweden AB"
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/backend_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(include_test_qtro)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(include_test_frontend) -l$$qtLibraryTarget(include_test_common)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = IncludeTestQtROPlugin
11 |
12 | QT += core ivicore
13 |
14 | QFACE_FORMAT = backend_qtro
15 | QFACE_SOURCES = ../../../include-test.qface
16 | QFACE_IMPORT_PATH += "../../../qface imports"
17 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/backend_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(include_test_qtro)
9 |
10 | # IVI Generator:
11 | qt6_ivigenerator(include_test_qtro
12 | QFACE_SOURCES ../../../include-test.qface
13 | QFACE_FORMAT backend_qtro
14 | QFACE_IMPORT_PATH ../../../qface\ imports
15 | )
16 |
17 | target_link_libraries(include_test_qtro PUBLIC
18 | include_test_frontend
19 | Qt::Core
20 | Qt::Gui
21 | Qt::IviCore
22 | )
23 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/instrument-cluster.qface:
--------------------------------------------------------------------------------
1 | @config_simulator: { simulationFile: "qrc:/simulation.qml" }
2 | module Example.IVI.InstrumentClusterModule 1.0
3 |
4 | interface InstrumentCluster {
5 | readonly int speed;
6 | readonly int rpm;
7 | readonly real fuel;
8 | @config_simulator: { default: 15 }
9 | readonly real temperature;
10 | readonly SystemType systemType;
11 | readonly Warning currentWarning;
12 | }
13 |
14 | enum SystemType {
15 | Imperial,
16 | Metric
17 | }
18 |
19 | struct Warning {
20 | string color
21 | string text
22 | string icon
23 | }
24 |
--------------------------------------------------------------------------------
/src/ivicore/doc/src/qt_attribution.json:
--------------------------------------------------------------------------------
1 | {
2 | "Id": "jinja-documentation",
3 | "Name": "Jinja Documentation",
4 | "QDocModule": "qtivi",
5 | "QtUsage": "Used in the Documentation of the Jinja template language",
6 | "Path": "template-syntax.qdoc",
7 |
8 | "Description": "Full featured template engine for python.",
9 | "Homepage": "http://jinja.pocoo.org/",
10 | "Version": "2.9.6",
11 |
12 | "License": "BSD 3-clause License",
13 | "LicenseId": "BSD-3-Clause",
14 | "LicenseFile": "JINJA_LICENSE",
15 | "Copyright": "(c) 2009 by the Jinja Team, see AUTHORS for more details."
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster.qface:
--------------------------------------------------------------------------------
1 | @config_simulator: { simulationFile: "qrc:/simulation.qml" }
2 | module Example.IVI.InstrumentClusterModule 1.0
3 |
4 | interface InstrumentCluster {
5 | readonly int speed;
6 | readonly int rpm;
7 | readonly real fuel;
8 | @config_simulator: { default: 15 }
9 | readonly real temperature;
10 | readonly SystemType systemType;
11 | readonly Warning currentWarning;
12 | }
13 |
14 | enum SystemType {
15 | Imperial,
16 | Metric
17 | }
18 |
19 | struct Warning {
20 | string color
21 | string text
22 | string icon
23 | }
24 |
--------------------------------------------------------------------------------
/TODO:
--------------------------------------------------------------------------------
1 | Autotests:
2 |
3 | * Add autotest for registering multiple apps
4 | * Add autotest for registering CTXs
5 | * Add autoetst for registering and App/CTX twice
6 |
7 | API:
8 |
9 | * The User should be able to select which Socket to be used, or to log to a file
10 | * Add a way to use the DltRegistration messageHandle only as a proxy and also activate the normal stdout logging
11 | * Add API for registering injection messages and provide a signal when the messages arrive
12 | * Look into reusing QLoggingCategory::defaultCategory instead of the FALLBACK_CATEGORY
13 | * Extend macro to also support the new Q_LOGGING_CATEGORY macro with msgType
14 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster.qface:
--------------------------------------------------------------------------------
1 | @config_simulator: { simulationFile: "qrc:/simulation.qml" }
2 | module Example.IVI.InstrumentClusterModule 1.0
3 |
4 | interface InstrumentCluster {
5 | readonly int speed;
6 | readonly int rpm;
7 | readonly real fuel;
8 | @config_simulator: { default: 15 }
9 | readonly real temperature;
10 | readonly SystemType systemType;
11 | readonly Warning currentWarning;
12 | }
13 |
14 | enum SystemType {
15 | Imperial,
16 | Metric
17 | }
18 |
19 | struct Warning {
20 | string color
21 | string text
22 | string icon
23 | }
24 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(include_test_simulator)
3 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(include_test_frontend) -l$$qtLibraryTarget(include_test_common)
4 | DESTDIR = ../qtivi
5 |
6 | CONFIG += warn_off ivigenerator plugin
7 |
8 | INCLUDEPATH += $$OUT_PWD/../frontend $$OUT_PWD/../common
9 | PLUGIN_TYPE = qtivi
10 | PLUGIN_CLASS_NAME = IncludeTestSimulatorPlugin
11 |
12 | QT += core ivicore
13 |
14 | QFACE_FORMAT = backend_simulator
15 | QFACE_SOURCES = ../../../include-test.qface
16 | QFACE_IMPORT_PATH += "../../../qface imports"
17 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/simulation_server/simulation_server.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter5-ipc-server
2 | DESTDIR = ..
3 |
4 | QT = core ivicore
5 | QT -= gui
6 | CONFIG -= app_bundle
7 | CONFIG += ivigenerator
8 |
9 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
10 | INCLUDEPATH += $$OUT_PWD/../frontend
11 |
12 | QFACE_FORMAT = server_qtro_simulator
13 | QFACE_SOURCES = ../instrument-cluster.qface
14 |
15 | QML_IMPORT_PATH = $$OUT_PWD/qml
16 |
17 | RESOURCES += ../backend_simulator/simulation.qrc
18 |
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter5-ipc/simulation_server
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/qmlplugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qmlplugin.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | # IVI Generator:
9 | qt6_ivigenerator(echo_frontend_noprivate_qmlplugin # special case
10 | QFACE_SOURCES ../../../org.example.echo.qface
11 | QFACE_FORMAT qmlplugin
12 | QFACE_ANNOTATIONS ../../../no-private.yaml
13 | )
14 |
15 | target_link_libraries(echo_frontend_noprivate_qmlplugin PRIVATE # special case
16 | echo_noprivate_frontend
17 | Qt::IviCore
18 | Qt::IviVehicleFunctions
19 | )
20 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/backend_qtro/backend_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | TARGET = $$qtLibraryTarget(instrumentcluster_qtro)
3 | DESTDIR = ../qtivi
4 |
5 | QT += core ivicore
6 | CONFIG += ivigenerator plugin
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend
10 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../
11 |
12 | QFACE_FORMAT = backend_qtro
13 | QFACE_SOURCES = ../instrument-cluster.qface
14 | PLUGIN_TYPE = qtivi
15 |
16 | CONFIG += install_ok # Do not cargo-cult this!
17 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter5-ipc
18 | INSTALLS += target
19 |
--------------------------------------------------------------------------------
/src/3rdparty/virtualenv/qt_attribution.json:
--------------------------------------------------------------------------------
1 | {
2 | "Id": "relocate-virtualenv",
3 | "Name": "relocate-virtualenv",
4 | "QDocModule": "qtivi",
5 | "QtUsage": "Used to make the python3 virtualen relocatable, needed for the ivigenerator",
6 | "Path": "relocate-virtualenv.py",
7 |
8 | "Description": "A tool for creating isolated virtual python environments.",
9 | "Homepage": "https://virtualenv.pypa.io/en/stable/",
10 | "Version": "16.7.9",
11 |
12 | "License": "MIT License",
13 | "LicenseId": "MIT",
14 | "LicenseFile": "VIRTUALENV_LICENSE",
15 | "Copyright": "(c) 2016 by the virtualenv Team, see AUTHORS for more details."
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/backend_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(echo_backend_qtro)
9 | set_target_properties(echo_backend_qtro PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_backend_qtro
13 | QFACE_SOURCES ../../../org.example.echo.qface
14 | QFACE_FORMAT backend_qtro
15 | )
16 |
17 | target_link_libraries(echo_backend_qtro PUBLIC
18 | echo_qtro_frontend
19 | Qt::Core
20 | Qt::Gui
21 | Qt::IviCore
22 | )
23 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisimulationglobalobject/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qivisimulationglobalobject.pro.
2 |
3 | #####################################################################
4 | ## tst_qivisimulationglobalobject Test:
5 | #####################################################################
6 |
7 | qt_internal_add_test(tst_qivisimulationglobalobject
8 | SOURCES
9 | tst_qivisimulationglobalobject.cpp
10 | PUBLIC_LIBRARIES
11 | Qt::Gui
12 | Qt::IviCore
13 | Qt::IviCorePrivate
14 | Qt::Qml
15 | )
16 |
17 | #### Keys ignored in scope 1:.:.:qivisimulationglobalobject.pro::
18 | # QMAKE_PROJECT_NAME = "$$TARGET"
19 | # TEMPLATE = "app"
20 |
--------------------------------------------------------------------------------
/src/tools/ivigenerator/templates/backend_qtro.yaml:
--------------------------------------------------------------------------------
1 | backend_qtro:
2 | module:
3 | documents:
4 | - "{{module.module_name|lower}}roplugin.h": "plugin.h.tpl"
5 | - "{{module.module_name|lower}}roplugin.cpp": "plugin.cpp.tpl"
6 | - "{{module.module_name|lower}}.json": "plugin.json"
7 | - "{{srcBase|lower}}.pri": "plugin.pri.tpl"
8 | - '{{srcBase|lower}}.cmake': 'CMakeLists.txt.tpl'
9 | interface:
10 | documents:
11 | - '{{interface|lower}}robackend.h': 'backend.h.tpl'
12 | - '{{interface|lower}}robackend.cpp': 'backend.cpp.tpl'
13 | - "{{interface|lower}}.rep": "common/interface.rep.tpl"
14 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter5-ipc
2 | DESTDIR = ..
3 |
4 | QT += qml quick
5 | CONFIG -= app_bundle
6 |
7 | SOURCES = main.cpp
8 | RESOURCES += app.qrc \
9 | ../../images/images.qrc \
10 |
11 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | QMAKE_RPATHDIR += $ORIGIN
14 |
15 | # Additional import path used to resolve QML modules in Qt Creator's code model
16 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
17 |
18 | CONFIG += install_ok # Do not cargo-cult this!
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter5-ipc
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/simulation_server_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from simulation_server_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_executable(org-example-echo-qtro-simulation-server)
9 |
10 | # IVI Generator:
11 | qt6_ivigenerator(org-example-echo-qtro-simulation-server
12 | QFACE_SOURCES ../../../org.example.echo.qface
13 | QFACE_FORMAT server_qtro_simulator
14 | )
15 |
16 | target_link_libraries(org-example-echo-qtro-simulation-server PUBLIC
17 | echo_qtro_frontend
18 | Qt::Core
19 | Qt::Gui
20 | Qt::IviCore
21 | Qt::Qml
22 | Qt::Quick
23 | )
24 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter1-basics
2 | DESTDIR = ..
3 |
4 | QT += qml quick
5 | CONFIG -= app_bundle
6 |
7 | SOURCES = main.cpp
8 | RESOURCES += app.qrc \
9 | ../../images/images.qrc \
10 |
11 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | QMAKE_RPATHDIR += $ORIGIN
14 |
15 | # Additional import path used to resolve QML modules in Qt Creator's code model
16 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
17 |
18 | CONFIG += install_ok # Do not cargo-cult this!
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter1-basics
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/backend_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_simulator.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(echo_noanno_simulator)
9 | set_target_properties(echo_noanno_simulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_noanno_simulator
13 | QFACE_SOURCES ../../../org.example.echo.noannotation.qface
14 | QFACE_FORMAT backend_simulator
15 | )
16 |
17 | target_link_libraries(echo_noanno_simulator PUBLIC
18 | echo_noanno_frontend
19 | Qt::Core
20 | Qt::Gui
21 | Qt::IviCore
22 | )
23 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/simulation_server_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from simulation_server_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_executable(org-example-echo-noanno-simu-server)
9 |
10 | # IVI Generator:
11 | qt6_ivigenerator(org-example-echo-noanno-simu-server
12 | QFACE_SOURCES ../../../org.example.echo.noannotation.qface
13 | QFACE_FORMAT server_qtro_simulator
14 | )
15 |
16 | target_link_libraries(org-example-echo-noanno-simu-server PUBLIC
17 | echo_noanno_frontend
18 | Qt::Core
19 | Qt::Gui
20 | Qt::IviCore
21 | Qt::Qml
22 | Qt::Quick
23 | )
24 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter6-own-backend
2 | DESTDIR = ..
3 |
4 | QT += qml quick
5 | CONFIG -= app_bundle
6 |
7 | SOURCES = main.cpp
8 | RESOURCES += app.qrc \
9 | ../../images/images.qrc \
10 |
11 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | QMAKE_RPATHDIR += $ORIGIN
14 |
15 | # Additional import path used to resolve QML modules in Qt Creator's code model
16 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
17 |
18 | CONFIG += install_ok # Do not cargo-cult this!
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter2-enums-structs
2 | DESTDIR = ..
3 |
4 | QT += qml quick
5 | CONFIG -= app_bundle
6 |
7 | SOURCES = main.cpp
8 | RESOURCES += app.qrc \
9 | ../../images/images.qrc \
10 |
11 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | QMAKE_RPATHDIR += $ORIGIN
14 |
15 | # Additional import path used to resolve QML modules in Qt Creator's code model
16 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
17 |
18 | CONFIG += install_ok # Do not cargo-cult this!
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter2-enums-structs
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/src/helper/remoteobjects/qivipagingmodel.rep:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | class QIviPagingModel
5 | {
6 | SLOT(void registerInstance(const QUuid &identifier))
7 | SLOT(void unregisterInstance(const QUuid &identifier))
8 | SLOT(void fetchData(const QUuid &identifier, int start, int count))
9 |
10 | SIGNAL(supportedCapabilitiesChanged(const QUuid &identifier, QtIviCoreModule::ModelCapabilities capabilities))
11 | SIGNAL(countChanged(const QUuid &identifier, int newLength))
12 | SIGNAL(dataFetched(const QUuid &identifier, const QList &data, int start, bool moreAvailable))
13 | SIGNAL(dataChanged(const QUuid &identifier, const QList &data, int start, int count))
14 | };
15 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/backend_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_simulator.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(echo_simulator)
9 | set_target_properties(echo_simulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
10 | target_sources(echo_simulator PRIVATE
11 | backend_simulator.cpp
12 | )
13 |
14 | # IVI Generator:
15 | qt6_ivigenerator(echo_simulator
16 | QFACE_SOURCES ../../../org.example.echo.qface
17 | QFACE_FORMAT backend_simulator
18 | )
19 |
20 | target_link_libraries(echo_simulator PUBLIC
21 | echo_frontend
22 | Qt::Core
23 | Qt::Gui
24 | Qt::IviCore
25 | )
26 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/backend_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_simulator.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(include_test_simulator)
9 | set_target_properties(include_test_simulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(include_test_simulator
13 | QFACE_SOURCES ../../../include-test.qface
14 | QFACE_FORMAT backend_simulator
15 | QFACE_IMPORT_PATH ../../../qface\ imports
16 | )
17 |
18 | target_link_libraries(include_test_simulator PUBLIC
19 | include_test_frontend
20 | Qt::Core
21 | Qt::Gui
22 | Qt::IviCore
23 | )
24 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisearchandbrowsemodel/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qivisearchandbrowsemodel.pro.
2 |
3 | #####################################################################
4 | ## tst_qivisearchandbrowsemodel Test:
5 | #####################################################################
6 |
7 | qt_internal_add_test(tst_qivisearchandbrowsemodel
8 | SOURCES
9 | tst_qivisearchandbrowsemodel.cpp
10 | DEFINES
11 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
12 | PUBLIC_LIBRARIES
13 | Qt::Gui
14 | Qt::IviCore
15 | Qt::Quick
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:qivisearchandbrowsemodel.pro::
19 | # DISTFILES = "testdata/*"
20 | # QMAKE_PROJECT_NAME = "$$TARGET"
21 | # TEMPLATE = "app"
22 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter3-simulation-backend
2 | DESTDIR = ..
3 |
4 | QT += qml quick
5 | CONFIG -= app_bundle
6 |
7 | SOURCES = main.cpp
8 | RESOURCES += app.qrc \
9 | ../../images/images.qrc \
10 |
11 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | QMAKE_RPATHDIR += $ORIGIN
14 |
15 | # Additional import path used to resolve QML modules in Qt Creator's code model
16 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
17 |
18 | CONFIG += install_ok # Do not cargo-cult this!
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter3-simulation-backend
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/instrument-cluster/instrument-cluster.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter4-simulation-behavior
2 | DESTDIR = ..
3 |
4 | QT += qml quick
5 | CONFIG -= app_bundle
6 |
7 | SOURCES = main.cpp
8 | RESOURCES += app.qrc \
9 | ../../images/images.qrc \
10 |
11 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | QMAKE_RPATHDIR += $ORIGIN
14 |
15 | # Additional import path used to resolve QML modules in Qt Creator's code model
16 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
17 |
18 | CONFIG += install_ok # Do not cargo-cult this!
19 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter4-simulation-behavior
20 | INSTALLS += target
21 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/demo_server/demo_server.pro:
--------------------------------------------------------------------------------
1 | TARGET = chapter6-demo-server
2 | DESTDIR = ..
3 |
4 | QT += ivicore dbus
5 | QT -= gui
6 | CONFIG -= app_bundle
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend
10 |
11 | cluster.files = instrumentcluster.xml
12 | cluster.header_flags += -i dbus_conversion.h
13 |
14 | DBUS_ADAPTORS += cluster
15 |
16 | CONFIG += install_ok # Do not cargo-cult this!
17 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend
18 | INSTALLS += target
19 |
20 | SOURCES += \
21 | instrumentcluster.cpp \
22 | main.cpp
23 |
24 | HEADERS += \
25 | instrumentcluster.h \
26 | dbus_conversion.h \
27 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/simulation_server_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from simulation_server_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_executable(include-test-simulation-server)
9 |
10 | # IVI Generator:
11 | qt6_ivigenerator(include-test-simulation-server
12 | QFACE_SOURCES ../../../include-test.qface
13 | QFACE_FORMAT server_qtro_simulator
14 | QFACE_IMPORT_PATH ../../../qface\ imports
15 | )
16 |
17 | target_link_libraries(include-test-simulation-server PUBLIC
18 | include_test_common
19 | include_test_frontend
20 | Qt::Core
21 | Qt::Gui
22 | Qt::IviCore
23 | Qt::Qml
24 | Qt::Quick
25 | )
26 |
--------------------------------------------------------------------------------
/tests/auto/core/qivipagingmodel/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qivipagingmodel.pro.
2 |
3 | #####################################################################
4 | ## tst_qivipagingmodel Test:
5 | #####################################################################
6 |
7 | qt_internal_add_test(tst_qivipagingmodel
8 | SOURCES
9 | tst_qivipagingmodel.cpp
10 | DEFINES
11 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
12 | PUBLIC_LIBRARIES
13 | Qt::CorePrivate
14 | Qt::Gui
15 | Qt::IviCore
16 | Qt::IviCorePrivate
17 | Qt::Quick
18 | )
19 |
20 | #### Keys ignored in scope 1:.:.:qivipagingmodel.pro::
21 | # DISTFILES = "testdata/*"
22 | # QMAKE_PROJECT_NAME = "$$TARGET"
23 | # TEMPLATE = "app"
24 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | add_library(echo_frontend)
9 | set_target_properties(echo_frontend PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_frontend
13 | QFACE_SOURCES ../../../org.example.echo.qface
14 | QFACE_FORMAT frontend
15 | )
16 | target_include_directories(echo_frontend PUBLIC
17 | ${CMAKE_CURRENT_BINARY_DIR}
18 | )
19 |
20 | target_link_libraries(echo_frontend PUBLIC
21 | Qt::Core
22 | Qt::Gui
23 | Qt::IviCore
24 | Qt::IviCorePrivate
25 | Qt::Qml
26 | Qt::Quick
27 | )
28 |
--------------------------------------------------------------------------------
/cmake/FindDLT.cmake:
--------------------------------------------------------------------------------
1 | # We can't create the same interface imported target multiple times, CMake will complain if we do
2 | # that. This can happen if the find_package call is done in multiple different subdirectories.
3 | if(TARGET DLT::DLT)
4 | set(DLT_FOUND ON)
5 | return()
6 | endif()
7 |
8 | find_package(PkgConfig)
9 |
10 | pkg_check_modules(DLT automotive-dlt IMPORTED_TARGET)
11 | set(__dlt_target_name "PkgConfig::DLT")
12 |
13 | if (NOT TARGET "${__dlt_target_name}")
14 | set(DLT_FOUND 0)
15 | return()
16 | endif()
17 |
18 | add_library(DLT::DLT INTERFACE IMPORTED)
19 | target_link_libraries(DLT::DLT INTERFACE ${__dlt_target_name})
20 | target_include_directories(DLT::DLT INTERFACE ${DLT_INCLUDEDIR})
21 | set(DLT_FOUND TRUE)
22 | unset(__dlt_target_name)
23 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from test.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp)
9 | qt_internal_add_test(tst_org-example-echo
10 | SOURCES
11 | ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp
12 | PUBLIC_LIBRARIES
13 | echo_frontend
14 | Qt::Core
15 | Qt::IviCore
16 | Qt::Test
17 | )
18 | set_target_properties(tst_org-example-echo PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
19 |
20 | # IVI Generator:
21 | qt6_ivigenerator(tst_org-example-echo
22 | QFACE_SOURCES ../../../org.example.echo.qface
23 | QFACE_FORMAT test
24 | )
25 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/images/images.qrc:
--------------------------------------------------------------------------------
1 |
2 |
3 | top_bar.png
4 | right_dial.png
5 | middle-circle.png
6 | middle-bkg.png
7 | mask_overlay.png
8 | left_dial.png
9 | fuelsymbol_orange.png
10 | fuel_level.png
11 | fuel.png
12 | dial_pattern.png
13 | dial_fill_color_left.png
14 | dial_cursor_right.png
15 | dial_cursor.png
16 | P-R-N-D.png
17 | +--.png
18 | dial_fill_color.png
19 |
20 |
21 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/backend_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_simulator.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_add_plugin(echo_noprivate_simulator)
9 | set_target_properties(echo_noprivate_simulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_noprivate_simulator
13 | QFACE_SOURCES ../../../org.example.echo.qface
14 | QFACE_FORMAT backend_simulator
15 | QFACE_ANNOTATIONS ../../../no-private.yaml
16 | )
17 |
18 | target_link_libraries(echo_noprivate_simulator PUBLIC
19 | echo_noprivate_frontend
20 | Qt::Core
21 | Qt::Gui
22 | Qt::IviCore
23 | )
24 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | add_library(echo_qtro_frontend)
9 | set_target_properties(echo_qtro_frontend PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_qtro_frontend
13 | QFACE_SOURCES ../../../org.example.echo.qface
14 | QFACE_FORMAT frontend
15 | )
16 | target_include_directories(echo_qtro_frontend PUBLIC
17 | ${CMAKE_CURRENT_BINARY_DIR}
18 | )
19 |
20 | target_link_libraries(echo_qtro_frontend PUBLIC
21 | Qt::Core
22 | Qt::Gui
23 | Qt::IviCore
24 | Qt::IviCorePrivate
25 | Qt::Qml
26 | Qt::Quick
27 | )
28 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/common/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from common.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | add_library(include_test_common)
9 | set_target_properties(include_test_common PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(include_test_common
13 | QFACE_SOURCES ../../../qface\ imports/common.qface
14 | QFACE_FORMAT frontend
15 | )
16 | target_include_directories(include_test_common PUBLIC
17 | ${CMAKE_CURRENT_BINARY_DIR}
18 | )
19 |
20 | target_link_libraries(include_test_common PUBLIC
21 | Qt::Core
22 | Qt::Gui
23 | Qt::IviCore
24 | Qt::IviCorePrivate
25 | Qt::Qml
26 | Qt::Quick
27 | )
28 |
29 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/backend_qtro/backend_qtro.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(example_ivi_remote)
3 |
4 | QT_FOR_CONFIG += ivicore
5 | !qtConfig(ivigenerator): error("No ivigenerator available")
6 |
7 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviRemoteExample)
8 | #! [0]
9 | DESTDIR = ../qtivi
10 | #! [0]
11 | CONFIG += warn_off
12 | #! [1]
13 | INCLUDEPATH += $$OUT_PWD/../frontend
14 | #! [1]
15 | QT += core ivicore
16 | #! [2]
17 | CONFIG += ivigenerator plugin
18 | QFACE_FORMAT = backend_qtro
19 | QFACE_SOURCES = ../example-ivi-remote.qface
20 | PLUGIN_TYPE = qtivi
21 | PLUGIN_CLASS_NAME = RemoteClientQtROPlugin
22 | #! [2]
23 | CONFIG += install_ok # Do not cargo-cult this!
24 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-remote/qtivi/
25 | INSTALLS += target
26 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/imports/imports.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | CONFIG += plugin
3 | QT += ivicore
4 |
5 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
6 | INCLUDEPATH += $$OUT_PWD/../frontend
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | load(ivigenerator)
12 |
13 | DESTDIR = $$OUT_PWD/$$replace(URI, \\., /)
14 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../../../../
15 |
16 | exists($$OUT_PWD/qmldir) {
17 | cpqmldir.files = $$OUT_PWD/qmldir \
18 | $$OUT_PWD/plugins.qmltypes
19 | cpqmldir.path = $$DESTDIR
20 | cpqmldir.CONFIG = no_check_exist
21 | COPIES += cpqmldir
22 | }
23 |
24 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter5-ipc/imports
25 | INSTALLS += target
26 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/tuner_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from tuner_simulator.pro.
2 |
3 | #####################################################################
4 | ## TunerPlugin Plugin:
5 | #####################################################################
6 |
7 | qt_internal_add_plugin(TunerPlugin
8 | OUTPUT_NAME tuner_simulator
9 | TYPE qtivi
10 | DEFAULT_IF FALSE
11 | SOURCES
12 | amfmtunerbackend.cpp amfmtunerbackend.h
13 | searchandbrowsebackend.cpp searchandbrowsebackend.h
14 | tunerplugin.cpp tunerplugin.h
15 | PUBLIC_LIBRARIES
16 | Qt::Core
17 | Qt::IviCore
18 | Qt::IviMedia
19 | )
20 |
21 | #### Keys ignored in scope 1:.:.:tuner_simulator.pro::
22 | # DISTFILES = "tuner_simulator.json"
23 | # PLUGIN_EXTENDS = "ivimedia"
24 |
--------------------------------------------------------------------------------
/src/tools/ivigenerator/templates/qmlplugin.yaml:
--------------------------------------------------------------------------------
1 | qmlplugin:
2 | module:
3 | documents:
4 | - "plugin.cpp": "plugin.cpp.tpl"
5 | - "{{srcBase|lower}}.pri": "module.pri.tpl"
6 | - '{{srcBase|lower}}.cmake': 'CMakeLists.txt.tpl'
7 | - "plugins.qmltypes": "common/plugins.qmltypes.tpl"
8 | - "designer/{{module.module_name|lower}}.metainfo": "common/designer.metainfo.tpl"
9 | - "qmldir": "qmldir_plugin.tpl"
10 | - "qml/{{module|qml_type|replace('.', '/')}}/plugins.qmltypes": "common/plugins.qmltypes.tpl"
11 | - "qml/{{module|qml_type|replace('.', '/')}}/designer/{{module.module_name|lower}}.metainfo": "common/designer.metainfo.tpl"
12 | - "qml/{{module|qml_type|replace('.', '/')}}/qmldir": "qmldir_plugin.tpl"
13 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from test.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp)
9 | qt_internal_add_test(tst_org-example-echo-noanno
10 | SOURCES
11 | ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp
12 | PUBLIC_LIBRARIES
13 | echo_noanno_frontend
14 | Qt::Core
15 | Qt::IviCore
16 | Qt::Test
17 | )
18 | set_target_properties(tst_org-example-echo-noanno PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
19 |
20 | # IVI Generator:
21 | qt6_ivigenerator(tst_org-example-echo-noanno
22 | QFACE_SOURCES ../../../org.example.echo.noannotation.qface
23 | QFACE_FORMAT test
24 | )
25 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noanno/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | add_library(echo_noanno_frontend)
9 | set_target_properties(echo_noanno_frontend PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_noanno_frontend
13 | QFACE_SOURCES ../../../org.example.echo.noannotation.qface
14 | QFACE_FORMAT frontend
15 | )
16 | target_include_directories(echo_noanno_frontend PUBLIC
17 | ${CMAKE_CURRENT_BINARY_DIR}
18 | )
19 |
20 | target_link_libraries(echo_noanno_frontend PUBLIC
21 | Qt::Core
22 | Qt::Gui
23 | Qt::IviCore
24 | Qt::IviCorePrivate
25 | Qt::Qml
26 | Qt::Quick
27 | )
28 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(example_ivi_climate)
3 |
4 | QT_FOR_CONFIG += ivicore
5 | !qtConfig(ivigenerator): error("No ivigenerator available")
6 |
7 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviClimateExample)
8 | #! [0]
9 | DESTDIR = ../qtivi
10 | #! [0]
11 | CONFIG += warn_off
12 | #! [1]
13 | INCLUDEPATH += $$OUT_PWD/../frontend
14 | #! [1]
15 | QT += core ivicore
16 | #! [2]
17 | CONFIG += ivigenerator plugin
18 | QFACE_FORMAT = backend_simulator
19 | QFACE_SOURCES = ../example-ivi-climate.qface
20 | PLUGIN_TYPE = qtivi
21 | PLUGIN_CLASS_NAME = ClimateSimulatorPlugin
22 | #! [2]
23 | CONFIG += install_ok # Do not cargo-cult this!
24 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate/qtivi/
25 | INSTALLS += target
26 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/imports/imports.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | CONFIG += plugin
3 | QT += ivicore
4 |
5 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
6 | INCLUDEPATH += $$OUT_PWD/../frontend
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | load(ivigenerator)
12 |
13 | DESTDIR = $$OUT_PWD/$$replace(URI, \\., /)
14 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../../../../
15 |
16 | exists($$OUT_PWD/qmldir) {
17 | cpqmldir.files = $$OUT_PWD/qmldir \
18 | $$OUT_PWD/plugins.qmltypes
19 | cpqmldir.path = $$DESTDIR
20 | cpqmldir.CONFIG = no_check_exist
21 | COPIES += cpqmldir
22 | }
23 |
24 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend/imports
25 | INSTALLS += target
26 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/imports/imports.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | CONFIG += plugin
3 | QT += ivicore
4 |
5 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
6 | INCLUDEPATH += $$OUT_PWD/../frontend
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | load(ivigenerator)
12 |
13 | DESTDIR = $$OUT_PWD/$$replace(URI, \\., /)
14 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../../../../
15 |
16 | exists($$OUT_PWD/qmldir) {
17 | cpqmldir.files = $$OUT_PWD/qmldir \
18 | $$OUT_PWD/plugins.qmltypes
19 | cpqmldir.path = $$DESTDIR
20 | cpqmldir.CONFIG = no_check_exist
21 | COPIES += cpqmldir
22 | }
23 |
24 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter3-simulation-backend/imports
25 | INSTALLS += target
26 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/imports/imports.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | CONFIG += plugin
3 | QT += ivicore
4 |
5 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
6 | INCLUDEPATH += $$OUT_PWD/../frontend
7 |
8 | QFACE_FORMAT = qmlplugin
9 | QFACE_SOURCES = ../instrument-cluster.qface
10 |
11 | load(ivigenerator)
12 |
13 | DESTDIR = $$OUT_PWD/$$replace(URI, \\., /)
14 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../../../../
15 |
16 | exists($$OUT_PWD/qmldir) {
17 | cpqmldir.files = $$OUT_PWD/qmldir \
18 | $$OUT_PWD/plugins.qmltypes
19 | cpqmldir.path = $$DESTDIR
20 | cpqmldir.CONFIG = no_check_exist
21 | COPIES += cpqmldir
22 | }
23 |
24 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter4-simulation-behavior/imports
25 | INSTALLS += target
26 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | TARGET = $$qtLibraryTarget(instrumentcluster_simulation)
3 | DESTDIR = ../qtivi
4 |
5 | QT += core ivicore
6 | CONFIG += ivigenerator plugin
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend
10 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../
11 |
12 | QFACE_FORMAT = backend_simulator
13 | QFACE_SOURCES = ../instrument-cluster.qface
14 | PLUGIN_TYPE = qtivi
15 |
16 | # Additional import path used to resolve QML modules in Qt Creator's code model
17 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
18 |
19 | CONFIG += install_ok # Do not cargo-cult this!
20 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter3-simulation-backend
21 | INSTALLS += target
22 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from test.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp)
9 | qt_internal_add_test(tst_qface_include
10 | SOURCES
11 | ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp
12 | PUBLIC_LIBRARIES
13 | include_test_common
14 | include_test_frontend
15 | Qt::Core
16 | Qt::IviCore
17 | Qt::Test
18 | )
19 | set_target_properties(tst_qface_include PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
20 |
21 | # IVI Generator:
22 | qt6_ivigenerator(tst_qface_include
23 | QFACE_SOURCES ../../../include-test.qface
24 | QFACE_FORMAT test
25 | QFACE_IMPORT_PATH ../../../qface\ imports
26 | )
27 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/wrong_plugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from wrong_plugin.pro.
2 |
3 | #####################################################################
4 | ## wrong_plugin Generic Library:
5 | #####################################################################
6 |
7 | qt_internal_add_cmake_library(wrong_plugin
8 | MODULE
9 | OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/"
10 | SOURCES
11 | wrongplugin.cpp wrongplugin.h
12 | PUBLIC_LIBRARIES
13 | Qt::Core
14 | Qt::Gui
15 | Qt::IviCore
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:wrong_plugin.pro::
19 | # DISTFILES = "wrong_plugin.json"
20 | # TEMPLATE = "lib"
21 |
22 | ## Scopes:
23 | #####################################################################
24 |
25 | qt_autogen_tools_initial_setup(wrong_plugin)
26 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/simple_plugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from simple_plugin.pro.
2 |
3 | #####################################################################
4 | ## simple_plugin Generic Library:
5 | #####################################################################
6 |
7 | qt_internal_add_cmake_library(simple_plugin
8 | MODULE
9 | OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/"
10 | SOURCES
11 | simpleplugin.cpp simpleplugin.h
12 | PUBLIC_LIBRARIES
13 | Qt::Core
14 | Qt::Gui
15 | Qt::IviCore
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:simple_plugin.pro::
19 | # DISTFILES = "simple_plugin.json"
20 | # TEMPLATE = "lib"
21 |
22 | ## Scopes:
23 | #####################################################################
24 |
25 | qt_autogen_tools_initial_setup(simple_plugin)
26 |
--------------------------------------------------------------------------------
/tests/auto/vehiclefunctions/basic/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from basic.pro.
2 |
3 | #####################################################################
4 | ## tst_vehiclefunctions_basic Test:
5 | #####################################################################
6 |
7 | file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp)
8 | qt_internal_add_test(tst_vehiclefunctions_basic
9 | SOURCES
10 | ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp
11 | PUBLIC_LIBRARIES
12 | Qt::Gui
13 | Qt::IviCore
14 | Qt::IviVehicleFunctions
15 | )
16 |
17 | # IVI Generator:
18 | qt_ivigenerator(tst_vehiclefunctions_basic
19 | QFACE_SOURCES ../../../../src/ivivehiclefunctions/ivivehiclefunctions.qface
20 | QFACE_FORMAT test
21 | )
22 |
23 | #### Keys ignored in scope 1:.:.:basic.pro::
24 | # QMAKE_PROJECT_NAME = "$$TARGET"
25 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | TARGET = $$qtLibraryTarget(instrumentcluster_simulation)
3 | DESTDIR = ../qtivi
4 |
5 | QT += core ivicore
6 | CONFIG += ivigenerator plugin
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend
10 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../
11 |
12 | QFACE_FORMAT = backend_simulator
13 | QFACE_SOURCES = ../instrument-cluster.qface
14 | PLUGIN_TYPE = qtivi
15 |
16 | RESOURCES += \
17 | simulation.qrc
18 |
19 | # Additional import path used to resolve QML modules in Qt Creator's code model
20 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
21 |
22 | CONFIG += install_ok # Do not cargo-cult this!
23 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter5-ipc
24 | INSTALLS += target
25 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from test.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | file(TOUCH ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp)
9 | qt_internal_add_test(tst_org-example-echo-noprivate
10 | SOURCES
11 | ${CMAKE_CURRENT_BINARY_DIR}/cmake_dummy.cpp
12 | PUBLIC_LIBRARIES
13 | echo_noprivate_frontend
14 | Qt::Core
15 | Qt::IviCore
16 | Qt::Test
17 | )
18 | set_target_properties(tst_org-example-echo-noprivate PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
19 |
20 | # IVI Generator:
21 | qt6_ivigenerator(tst_org-example-echo-noprivate
22 | QFACE_SOURCES ../../../org.example.echo.qface
23 | QFACE_FORMAT test
24 | QFACE_ANNOTATIONS ../../../no-private.yaml
25 | )
26 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/include-test/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | add_library(include_test_frontend)
9 | set_target_properties(include_test_frontend PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(include_test_frontend
13 | QFACE_SOURCES ../../../include-test.qface
14 | QFACE_FORMAT frontend
15 | QFACE_IMPORT_PATH ../../../qface\ imports
16 | )
17 | target_include_directories(include_test_frontend PUBLIC
18 | ${CMAKE_CURRENT_BINARY_DIR}
19 | )
20 |
21 | target_link_libraries(include_test_frontend PUBLIC
22 | include_test_common
23 | Qt::Core
24 | Qt::Gui
25 | Qt::IviCore
26 | Qt::IviCorePrivate
27 | Qt::Qml
28 | Qt::Quick
29 | )
30 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-noprivate/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | add_library(echo_noprivate_frontend)
9 | set_target_properties(echo_noprivate_frontend PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
10 |
11 | # IVI Generator:
12 | qt6_ivigenerator(echo_noprivate_frontend
13 | QFACE_SOURCES ../../../org.example.echo.qface
14 | QFACE_FORMAT frontend
15 | QFACE_ANNOTATIONS ../../../no-private.yaml
16 | )
17 | target_include_directories(echo_noprivate_frontend PUBLIC
18 | ${CMAKE_CURRENT_BINARY_DIR}
19 | )
20 |
21 | target_link_libraries(echo_noprivate_frontend PUBLIC
22 | Qt::Core
23 | Qt::Gui
24 | Qt::IviCore
25 | Qt::IviCorePrivate
26 | Qt::Qml
27 | Qt::Quick
28 | )
29 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/wrongmetadata_plugin/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from wrongmetadata_plugin.pro.
2 |
3 | #####################################################################
4 | ## wrongmetadata_plugin Generic Library:
5 | #####################################################################
6 |
7 | qt_internal_add_cmake_library(wrongmetadata_plugin
8 | MODULE
9 | OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/"
10 | SOURCES
11 | wrongmetadataplugin.cpp wrongmetadataplugin.h
12 | PUBLIC_LIBRARIES
13 | Qt::Core
14 | Qt::Gui
15 | Qt::IviCore
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:wrongmetadata_plugin.pro::
19 | # TEMPLATE = "lib"
20 |
21 | ## Scopes:
22 | #####################################################################
23 |
24 | qt_autogen_tools_initial_setup(wrongmetadata_plugin)
25 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | TARGET = $$qtLibraryTarget(instrumentcluster_simulation)
3 | DESTDIR = ../qtivi
4 |
5 | QT += core ivicore
6 | CONFIG += ivigenerator plugin
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend
10 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../
11 |
12 | QFACE_FORMAT = backend_simulator
13 | QFACE_SOURCES = ../instrument-cluster.qface
14 | PLUGIN_TYPE = qtivi
15 |
16 | RESOURCES += \
17 | simulation.qrc
18 |
19 | # Additional import path used to resolve QML modules in Qt Creator's code model
20 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
21 |
22 | CONFIG += install_ok # Do not cargo-cult this!
23 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend
24 | INSTALLS += target
25 |
--------------------------------------------------------------------------------
/tests/auto/core/queryparser/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from queryparser.pro.
2 |
3 | #####################################################################
4 | ## tst_queryparser Test:
5 | #####################################################################
6 |
7 | # Collect test data
8 | file(GLOB_RECURSE test_data_glob
9 | RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
10 | testdata/*)
11 | list(APPEND test_data ${test_data_glob})
12 |
13 | qt_internal_add_test(tst_queryparser
14 | SOURCES
15 | tst_queryparser.cpp
16 | DEFINES
17 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
18 | PUBLIC_LIBRARIES
19 | Qt::Gui
20 | Qt::IviCore
21 | Qt::IviCorePrivate
22 | Qt::Qml
23 | TESTDATA ${test_data}
24 | )
25 |
26 | #### Keys ignored in scope 1:.:.:queryparser.pro::
27 | # QMAKE_PROJECT_NAME = "$$TARGET"
28 | # TEMPLATE = "app"
29 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE=lib
2 | TARGET = $$qtLibraryTarget(example_ivi_addressbook)
3 |
4 | QT_FOR_CONFIG += ivicore
5 | !qtConfig(ivigenerator): error("No ivigenerator available")
6 |
7 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviAdressBookExample)
8 | DESTDIR = ../qtivi
9 | CONFIG += warn_off
10 | INCLUDEPATH += $$OUT_PWD/../frontend
11 | QT += core ivicore
12 | CONFIG += ivigenerator plugin
13 |
14 | QFACE_FORMAT = backend_simulator
15 | QFACE_SOURCES = ../example-ivi-addressbook.qface
16 | PLUGIN_TYPE = qtivi
17 | PLUGIN_CLASS_NAME = AddressBookSimulatorPlugin
18 |
19 | CONFIG += install_ok # Do not cargo-cult this!
20 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-addressbook/qtivi/
21 | INSTALLS += target
22 |
23 | #! [0]
24 | RESOURCES += plugin_resource.qrc
25 | #! [0]
26 |
27 | QML_IMPORT_PATH = $$OUT_PWD/qml
28 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/backend_simulator/backend_simulator.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | TARGET = $$qtLibraryTarget(instrumentcluster_simulation)
3 | DESTDIR = ../qtivi
4 |
5 | QT += core ivicore
6 | CONFIG += ivigenerator plugin
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend
10 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../
11 |
12 | QFACE_FORMAT = backend_simulator
13 | QFACE_SOURCES = ../instrument-cluster.qface
14 | PLUGIN_TYPE = qtivi
15 |
16 | RESOURCES += \
17 | simulation.qrc
18 |
19 | # Additional import path used to resolve QML modules in Qt Creator's code model
20 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
21 |
22 | CONFIG += install_ok # Do not cargo-cult this!
23 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter4-simulation-behavior
24 | INSTALLS += target
25 |
--------------------------------------------------------------------------------
/src/geniviextras/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from geniviextras.pro.
2 |
3 | #####################################################################
4 | ## GeniviExtras Module:
5 | #####################################################################
6 |
7 | qt_internal_add_module(GeniviExtras
8 | SOURCES
9 | qdlt.h
10 | qdltregistration.cpp qdltregistration.h qdltregistration_p.h
11 | qgeniviextrasglobal.h qgeniviextrasglobal_p.h
12 | PUBLIC_LIBRARIES
13 | DLT::DLT
14 | Qt::Core
15 | )
16 |
17 | #### Keys ignored in scope 1:.:.:geniviextras.pro::
18 | # CMAKE_MODULE_TESTS = "'-'"
19 | # DISTFILES = "$$PWD/doc/*.qdocconf" "$$PWD/doc/online/*.qdocconf" "$$PWD/doc/src/*.qdoc" "$$PWD/doc/src/ivigenerator/*.qdoc" "$$PWD/doc/images/*.jpg" "$$PWD/doc/images/*.png"
20 |
21 | ## Scopes:
22 | #####################################################################
23 |
--------------------------------------------------------------------------------
/tests/auto/core/qivipendingreply/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qivipendingreply.pro.
2 |
3 | #####################################################################
4 | ## tst_qivipendingreply Test:
5 | #####################################################################
6 |
7 | # Collect test data
8 | file(GLOB_RECURSE test_data_glob
9 | RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
10 | testdata/*)
11 | list(APPEND test_data ${test_data_glob})
12 |
13 | qt_internal_add_test(tst_qivipendingreply
14 | SOURCES
15 | tst_qivipendingreply.cpp
16 | DEFINES
17 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
18 | PUBLIC_LIBRARIES
19 | Qt::Gui
20 | Qt::IviCore
21 | Qt::Qml
22 | TESTDATA ${test_data}
23 | )
24 |
25 | #### Keys ignored in scope 1:.:.:qivipendingreply.pro::
26 | # OTHER_FILES = "testdata/*"
27 | # QMAKE_PROJECT_NAME = "$$TARGET"
28 | # TEMPLATE = "app"
29 |
--------------------------------------------------------------------------------
/cmake/FindWrapSystemTagLib.cmake:
--------------------------------------------------------------------------------
1 | # We can't create the same interface imported target multiple times, CMake will complain if we do
2 | # that. This can happen if the find_package call is done in multiple different subdirectories.
3 | if(TARGET WrapSystemTagLib::WrapSystemTagLib)
4 | set(WrapSystemTagLib_FOUND ON)
5 | return()
6 | endif()
7 |
8 | find_package(PkgConfig)
9 |
10 | pkg_check_modules(TagLib taglib IMPORTED_TARGET)
11 | set(__taglib_target_name "PkgConfig::TagLib")
12 |
13 | if (NOT TARGET "${__taglib_target_name}")
14 | set(WrapSystemTagLib_FOUND 0)
15 | return()
16 | endif()
17 |
18 | add_library(WrapSystemTagLib::WrapSystemTagLib INTERFACE IMPORTED)
19 | target_link_libraries(WrapSystemTagLib::WrapSystemTagLib INTERFACE ${__taglib_target_name})
20 | target_include_directories(WrapSystemTagLib::WrapSystemTagLib INTERFACE ${TAGLIB_INCLUDEDIR})
21 | set(WrapSystemTagLib_FOUND TRUE)
22 | unset(__taglib_target_name)
23 |
--------------------------------------------------------------------------------
/tests/auto/core/qiviabstractfeature/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qiviabstractfeature.pro.
2 |
3 | #####################################################################
4 | ## tst_qiviabstractfeature Test:
5 | #####################################################################
6 |
7 | # Collect test data
8 | file(GLOB_RECURSE test_data_glob
9 | RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
10 | testdata/*)
11 | list(APPEND test_data ${test_data_glob})
12 |
13 | qt_internal_add_test(tst_qiviabstractfeature
14 | SOURCES
15 | qivifeaturetester.h
16 | tst_qiviabstractfeature.cpp
17 | DEFINES
18 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
19 | PUBLIC_LIBRARIES
20 | Qt::Gui
21 | Qt::IviCore
22 | Qt::IviCorePrivate
23 | Qt::Qml
24 | TESTDATA ${test_data}
25 | )
26 |
27 | #### Keys ignored in scope 1:.:.:qiviabstractfeature.pro::
28 | # QMAKE_PROJECT_NAME = "$$TARGET"
29 | # TEMPLATE = "app"
30 |
--------------------------------------------------------------------------------
/tests/auto/core/qivisimulationengine/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qivisimulationengine.pro.
2 |
3 | #####################################################################
4 | ## tst_qivisimulationengine Test:
5 | #####################################################################
6 |
7 | qt_internal_add_test(tst_qivisimulationengine
8 | SOURCES
9 | tst_qivisimulationengine.cpp
10 | PUBLIC_LIBRARIES
11 | Qt::Gui
12 | Qt::IviCore
13 | Qt::IviCorePrivate
14 | Qt::Qml
15 | )
16 |
17 | # Resources:
18 | set(resource_resource_files
19 | "invalid-data.json"
20 | "simple.json"
21 | "simple.qml"
22 | )
23 |
24 | qt_internal_add_resource(tst_qivisimulationengine "resource"
25 | PREFIX
26 | "/"
27 | FILES
28 | ${resource_resource_files}
29 | )
30 |
31 |
32 | #### Keys ignored in scope 1:.:.:qivisimulationengine.pro::
33 | # QMAKE_PROJECT_NAME = "$$TARGET"
34 | # TEMPLATE = "app"
35 |
--------------------------------------------------------------------------------
/src/plugins/ivivehiclefunctions/vehiclefunctions_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from vehiclefunctions_qtro.pro.
2 |
3 | #####################################################################
4 | ## QtIviVehicleFunctionsQtROPlugin Plugin:
5 | #####################################################################
6 |
7 | qt_internal_add_plugin(QtIviVehicleFunctionsQtROPlugin
8 | OUTPUT_NAME vehiclefunction_qtro
9 | TYPE qtivi
10 | DEFAULT_IF FALSE
11 | PUBLIC_LIBRARIES
12 | Qt::Core
13 | Qt::IviCore
14 | Qt::IviVehicleFunctions
15 | )
16 |
17 | # IVI Generator:
18 | qt_ivigenerator(QtIviVehicleFunctionsQtROPlugin
19 | QFACE_SOURCES ../../../ivivehiclefunctions/ivivehiclefunctions.qface
20 | QFACE_FORMAT backend_qtro
21 | QFACE_MODULE_NAME QtIviVehicleFunctions
22 | )
23 |
24 | #### Keys ignored in scope 1:.:.:vehiclefunctions_qtro.pro::
25 | # CMAKE_MODULE_TESTS = "'-'"
26 | # PLUGIN_EXTENDS = "ivivehiclefunctions"
27 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/server_qtro_test.pro:
--------------------------------------------------------------------------------
1 | TARGET = tst_org-example-echo-qtro
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | QT -= gui
4 | QT += testlib ivicore iviremoteobjects_helper_private
5 | LIBS += -L$$OUT_PWD/.. -l$$qtLibraryTarget(echo_frontend)
6 |
7 | DESTDIR = ..
8 |
9 | CONFIG += c++11 console ivigenerator testcase
10 | CONFIG -= app_bundle
11 |
12 | INCLUDEPATH += $$OUT_PWD/../frontend
13 | INCLUDEPATH += $$OUT_PWD/../backend_qtro
14 |
15 | SOURCES += main.cpp \
16 | server.cpp \
17 | echoservice.cpp \
18 | tst_echoqtro.cpp \
19 | echozonedservice.cpp \
20 | contactsmodelservice.cpp
21 |
22 | QFACE_FORMAT = server_qtro
23 | QFACE_SOURCES = ../../../org.example.echo.qface
24 |
25 | HEADERS += \
26 | server.h \
27 | echoservice.h \
28 | tst_echoqtro.h \
29 | echozonedservice.h \
30 | contactsmodelservice.h
31 |
32 | QMAKE_RPATHDIR += $$OUT_PWD/..
33 | QMAKE_RPATHDIR += $$OUT_PWD/../qtivi
34 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/simple_plugin_static/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from simple_plugin_static.pro.
2 |
3 | #####################################################################
4 | ## simple_plugin_static Generic Library:
5 | #####################################################################
6 |
7 | qt_internal_add_cmake_library(simple_plugin_static
8 | STATIC
9 | OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/"
10 | SOURCES
11 | simplestaticplugin.cpp simplestaticplugin.h
12 | PUBLIC_LIBRARIES
13 | Qt::Core
14 | Qt::Gui
15 | Qt::IviCore
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:simple_plugin_static.pro::
19 | # DISTFILES = "simple_plugin.json"
20 | # TEMPLATE = "lib"
21 |
22 | ## Scopes:
23 | #####################################################################
24 |
25 | qt_autogen_tools_initial_setup(simple_plugin_static)
26 |
27 | target_compile_definitions(simple_plugin_static PRIVATE QT_STATICPLUGIN)
28 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/projects/org-example-echo-qtro/server_qtro_test/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from server_qtro_test.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | qt_internal_add_test(tst_org-example-echo-qtro
9 | SOURCES
10 | contactsmodelservice.cpp contactsmodelservice.h
11 | echoservice.cpp echoservice.h
12 | echozonedservice.cpp echozonedservice.h
13 | main.cpp
14 | server.cpp server.h
15 | tst_echoqtro.cpp tst_echoqtro.h
16 | PUBLIC_LIBRARIES
17 | echo_qtro_frontend
18 | Qt::Core
19 | Qt::IviCore
20 | Qt::Test
21 | Qt::IviRemoteObjectsHelper
22 | )
23 | set_target_properties(tst_org-example-echo-qtro PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
24 |
25 | # IVI Generator:
26 | qt6_ivigenerator(tst_org-example-echo-qtro
27 | QFACE_SOURCES ../../../org.example.echo.qface
28 | QFACE_FORMAT server_qtro
29 | )
30 |
--------------------------------------------------------------------------------
/coin/module_config.yaml:
--------------------------------------------------------------------------------
1 | version: 2
2 | accept_configuration:
3 | condition: and
4 | conditions:
5 | - condition: property
6 | property: target.osVersion
7 | not_equals_value: QEMU
8 | - condition: or
9 | conditions:
10 | - condition: property
11 | property: target.os
12 | not_equals_value: MacOS
13 | - condition: property
14 | property: host.arch
15 | not_equals_value: ARM64
16 |
17 | instructions:
18 | Build:
19 | - type: AppendToEnvironmentVariable
20 | variableName: NON_QTBASE_CONFIGURE_ARGS
21 | variableValue: " -DPython3_ROOT_DIR={{.Env.PYTHON3_PATH}}"
22 | - type: AppendToEnvironmentVariable
23 | variableName: NON_QTBASE_TARGET_CONFIGURE_ARGS
24 | variableValue: " -DPython3_ROOT_DIR={{.Env.PYTHON3_PATH}}"
25 | - type: Group
26 | instructions:
27 | - !include "{{qt/qtbase}}/coin_module_build_template_v2.yaml"
28 |
29 | Test:
30 | - !include "{{qt/qtbase}}/coin_module_test_template_v3.yaml"
31 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/wrongmetadata_plugin_static/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from wrongmetadata_plugin_static.pro.
2 |
3 | #####################################################################
4 | ## wrongmetadata_plugin_static Generic Library:
5 | #####################################################################
6 |
7 | qt_internal_add_cmake_library(wrongmetadata_plugin_static
8 | STATIC
9 | OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../qtivi/"
10 | SOURCES
11 | wrongmetadatastaticplugin.cpp wrongmetadatastaticplugin.h
12 | PUBLIC_LIBRARIES
13 | Qt::Core
14 | Qt::Gui
15 | Qt::IviCore
16 | )
17 |
18 | #### Keys ignored in scope 1:.:.:wrongmetadata_plugin_static.pro::
19 | # TEMPLATE = "lib"
20 |
21 | ## Scopes:
22 | #####################################################################
23 |
24 | qt_autogen_tools_initial_setup(wrongmetadata_plugin_static)
25 |
26 | target_compile_definitions(wrongmetadata_plugin_static PRIVATE QT_STATICPLUGIN)
27 |
--------------------------------------------------------------------------------
/examples/geniviextras/qdlt/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from qdlt.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(qdlt LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/geniviextras/qdlt")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS GeniviExtras)
20 |
21 | qt_add_executable(qdlt
22 | loggingcategories.cpp loggingcategories.h
23 | main.cpp
24 | )
25 | set_target_properties(qdlt PROPERTIES
26 | WIN32_EXECUTABLE FALSE
27 | MACOSX_BUNDLE FALSE
28 | )
29 | target_link_libraries(qdlt PUBLIC
30 | Qt::Core
31 | Qt::GeniviExtras
32 | )
33 |
34 | install(TARGETS qdlt
35 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
37 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
38 | )
39 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/backend_dbus/backend_dbus.pro:
--------------------------------------------------------------------------------
1 | TEMPLATE = lib
2 | TARGET = $$qtLibraryTarget(instrumentcluster_dbus)
3 | DESTDIR = ../qtivi
4 |
5 | QT += ivicore dbus
6 | CONFIG += plugin
7 |
8 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviInstrumentCluster)
9 | INCLUDEPATH += $$OUT_PWD/../frontend $$PWD/../demo_server
10 | QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/../
11 |
12 | PLUGIN_TYPE = qtivi
13 |
14 | cluster.files = ../demo_server/instrumentcluster.xml
15 | cluster.header_flags += -i dbus_conversion.h
16 |
17 | DBUS_INTERFACES += cluster
18 |
19 | HEADERS += \
20 | ../demo_server/dbus_conversion.h \
21 | instrumentclusterbackend.h \
22 | instrumentclusterplugin.h
23 |
24 | SOURCES += \
25 | instrumentclusterbackend.cpp \
26 | instrumentclusterplugin.cpp
27 |
28 | OTHER_FILES += \
29 | instrumentcluster_dbus.json
30 |
31 | CONFIG += install_ok # Do not cargo-cult this!
32 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-tutorial/chapter6-own-backend
33 | INSTALLS += target
34 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/imports/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from imports.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter5-ipc/imports")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 |
19 | # IVI Generator:
20 | qt6_ivigenerator(instrument_cluster_chapter5_imports
21 | QFACE_SOURCES ../instrument-cluster.qface
22 | QFACE_FORMAT qmlplugin
23 | )
24 |
25 | target_link_libraries(instrument_cluster_chapter5_imports PUBLIC
26 | QtIviInstrumentCluster_Chapter5
27 | Qt::Core
28 | Qt::Gui
29 | Qt::IviCore
30 | )
31 |
32 | install(TARGETS instrument_cluster_chapter5_imports
33 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
34 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
35 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | )
37 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter6-own-backend/imports/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from imports.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter6-own-backend/imports")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 |
19 | # IVI Generator:
20 | qt6_ivigenerator(instrument_cluster_chapter6_imports
21 | QFACE_SOURCES ../instrument-cluster.qface
22 | QFACE_FORMAT qmlplugin
23 | )
24 |
25 | target_link_libraries(instrument_cluster_chapter6_imports PUBLIC
26 | QtIviInstrumentCluster_Chapter6
27 | Qt::Core
28 | Qt::Gui
29 | Qt::IviCore
30 | )
31 |
32 | install(TARGETS instrument_cluster_chapter6_imports
33 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
34 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
35 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | )
37 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/backend_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-ivi-remote/qtivi/")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 | qt_add_plugin(remote_backend_qtro)
19 | set_target_properties(remote_backend_qtro PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
20 |
21 | # IVI Generator:
22 | qt6_ivigenerator(remote_backend_qtro
23 | QFACE_SOURCES ../example-ivi-remote.qface
24 | QFACE_FORMAT backend_qtro
25 | )
26 |
27 | target_link_libraries(remote_backend_qtro PUBLIC
28 | QtIviRemoteExample
29 | Qt::Core
30 | Qt::Gui
31 | Qt::IviCore
32 | )
33 |
34 | install(TARGETS remote_backend_qtro
35 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
37 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
38 | )
39 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/imports/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from imports.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter3-simulation-backend/imports")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 |
19 | # IVI Generator:
20 | qt6_ivigenerator(instrument_cluster_chapter3_imports # special case
21 | QFACE_SOURCES ../instrument-cluster.qface
22 | QFACE_FORMAT qmlplugin
23 | )
24 |
25 | target_link_libraries(instrument_cluster_chapter3_imports PUBLIC # special case
26 | QtIviInstrumentCluster_Chapter3
27 | Qt::Core
28 | Qt::Gui
29 | Qt::IviCore
30 | )
31 |
32 | install(TARGETS instrument_cluster_chapter3_imports # special case
33 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
34 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
35 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | )
37 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/imports/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from imports.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter4-simulation-behavior/imports")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 |
19 | # IVI Generator:
20 | qt6_ivigenerator(instrument_cluster_chapter4_imports # special case
21 | QFACE_SOURCES ../instrument-cluster.qface
22 | QFACE_FORMAT qmlplugin
23 | )
24 |
25 | target_link_libraries(instrument_cluster_chapter4_imports PUBLIC # special case
26 | QtIviInstrumentCluster_Chapter4
27 | Qt::Core
28 | Qt::Gui
29 | Qt::IviCore
30 | )
31 |
32 | install(TARGETS instrument_cluster_chapter4_imports # special case
33 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
34 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
35 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | )
37 |
--------------------------------------------------------------------------------
/mkspecs/features/ivigenerator_qt_module.prf:
--------------------------------------------------------------------------------
1 | # Custom compiler for qface base modules
2 | #
3 | # If not building a module, use CONFIG += ivigenerator instead
4 | #
5 | # Example input:
6 | # QFACE_SOURCES += my.foo.qface [required]
7 | # QFACE_MODULE_NAME = my_module_name
8 | # QFACE_FORMAT = frontend (or backend, simulator... -- defaults to "frontend")
9 | # QFACE_OUTPUT_DIR = my_output_dir (defaults to current build dir)
10 | #
11 |
12 | !contains(QFACE_SOURCES, .+\\.qface$) {
13 | error("Invalid qface file provided: The file needs to end with .qface")
14 | }
15 |
16 | isEmpty(QFACE_MODULE_NAME) {
17 | error("QFACE_MODULE_NAME needs to be set when a qt module should be generated")
18 | }
19 |
20 | QFACE_PWD = $$dirname(QFACE_SOURCES)
21 | QFACE_ABS_PWD = $$absolute_path($$QFACE_PWD, $$_PRO_FILE_PWD_)
22 |
23 | load(qt_build_paths)
24 | !force_independent {
25 | QFACE_HEADERS_REL_DIR = $$relative_path($$QFACE_ABS_PWD, $$QTIVI_ROOT)
26 | QFACE_HEADERS_OUTPUT_DIR = $${MODULE_BASE_OUTDIR}/$${QFACE_HEADERS_REL_DIR}
27 | !exists(QFACE_HEADERS_OUTPUT_DIR) {
28 | mkpath($${QFACE_HEADERS_OUTPUT_DIR})
29 | }
30 | }
31 |
32 | load(qt_module)
33 | load(ivigenerator)
34 |
--------------------------------------------------------------------------------
/src/tools/media-simulation-server/qivimediaplayer.rep:
--------------------------------------------------------------------------------
1 |
2 | #include
3 | #include
4 |
5 | class QIviMediaPlayer
6 | {
7 | PROP(QIviMediaPlayer::PlayMode playMode);
8 | PROP(QIviMediaPlayer::PlayState playState READONLY);
9 | PROP(qint64 position);
10 | PROP(qint64 duration READONLY);
11 | PROP(QVariant currentTrack READONLY);
12 | PROP(int currentIndex);
13 | PROP(int volume);
14 | PROP(bool muted);
15 | PROP(bool canReportCount READONLY);
16 |
17 | SLOT(void play());
18 | SLOT(void pause());
19 | SLOT(void stop());
20 | SLOT(void seek(qint64 offset));
21 | SLOT(void next());
22 | SLOT(void previous());
23 |
24 | SLOT(void fetchData(const QUuid &identifier, int start, int count));
25 |
26 | SLOT(void insert(int index, const QVariant &item));
27 | SLOT(void remove(int index));
28 | SLOT(void move(int currentIndex, int newIndex));
29 |
30 | SIGNAL(countChanged(int newLength));
31 | SIGNAL(dataFetched(const QUuid &identifier, const QList &data, int start, bool moreAvailable));
32 | SIGNAL(dataChanged(const QList &data, int start, int count));
33 | };
34 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/backend_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_qtro.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter5-ipc")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 | qt_add_plugin(instrumentcluster_qtro)
19 | set_target_properties(instrumentcluster_qtro PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
20 |
21 | # IVI Generator:
22 | qt6_ivigenerator(instrumentcluster_qtro
23 | QFACE_SOURCES ../instrument-cluster.qface
24 | QFACE_FORMAT backend_qtro
25 | )
26 |
27 | target_link_libraries(instrumentcluster_qtro PUBLIC
28 | QtIviInstrumentCluster_Chapter5
29 | Qt::Core
30 | Qt::Gui
31 | Qt::IviCore
32 | )
33 |
34 | install(TARGETS instrumentcluster_qtro
35 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
37 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
38 | )
39 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/backend_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_simulator.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-ivi-climate/qtivi/")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 | qt_add_plugin(climate_backend_simulator)
19 | set_target_properties(climate_backend_simulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
20 |
21 | # IVI Generator:
22 | qt6_ivigenerator(climate_backend_simulator
23 | QFACE_SOURCES ../example-ivi-climate.qface
24 | QFACE_FORMAT backend_simulator
25 | )
26 |
27 | target_link_libraries(climate_backend_simulator PUBLIC
28 | QtIviClimateExample
29 | Qt::Core
30 | Qt::Gui
31 | Qt::IviCore
32 | )
33 |
34 | install(TARGETS climate_backend_simulator
35 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
37 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
38 | )
39 |
--------------------------------------------------------------------------------
/tests/auto/core/ivigenerator/custom-template/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from custom-template.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(tst_custom-template LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS Test)
21 |
22 | qt_add_executable(tst_custom-template)
23 |
24 | # IVI Generator:
25 | qt6_ivigenerator(tst_custom-template
26 | QFACE_SOURCES ../org.example.echo.qface
27 | QFACE_FORMAT custom-test
28 | )
29 | set_target_properties(tst_custom-template PROPERTIES
30 | WIN32_EXECUTABLE TRUE
31 | MACOSX_BUNDLE TRUE
32 | )
33 | target_link_libraries(tst_custom-template PUBLIC
34 | Qt::Core
35 | Qt::Gui
36 | Qt::Test
37 | )
38 |
39 | install(TARGETS tst_custom-template
40 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
41 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
42 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
43 | )
44 |
--------------------------------------------------------------------------------
/tests/auto/core/servicemanagertest/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from servicemanagertest.pro.
2 |
3 | #####################################################################
4 | ## tst_servicemanagertest Test:
5 | #####################################################################
6 |
7 | qt_internal_add_test(tst_servicemanagertest
8 | OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
9 | SOURCES
10 | tst_servicemanagertest.cpp
11 | DEFINES
12 | SRCDIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/\\\"
13 | PUBLIC_LIBRARIES
14 | # Remove: Lqtivi
15 | simple_plugin_static # special case
16 | wrongmetadata_plugin_static # special case
17 | Qt::IviCore
18 | Qt::IviCorePrivate
19 | )
20 |
21 | #### Keys ignored in scope 2:.:.:tst_servicemanager.pro::
22 | # TEMPLATE = "app"
23 |
24 | ## Scopes:
25 | #####################################################################
26 |
27 | qt_internal_extend_target(tst_servicemanagertest CONDITION QT_FEATURE_debug_and_release
28 | DEFINES
29 | DEBUG_AND_RELEASE
30 | )
31 | add_subdirectory(simple_plugin)
32 | add_subdirectory(simple_plugin_static)
33 | add_subdirectory(wrong_plugin)
34 | add_subdirectory(wrongmetadata_plugin)
35 | add_subdirectory(wrongmetadata_plugin_static)
36 |
--------------------------------------------------------------------------------
/src/3rdparty/virtualenv/VIRTUALENV_LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2007 Ian Bicking and Contributors
2 | Copyright (c) 2009 Ian Bicking, The Open Planning Project
3 | Copyright (c) 2011-2016 The virtualenv developers
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | "Software"), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/src/imports/core/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from core.pro.
2 |
3 | #####################################################################
4 | ## qtivicoreplugin Plugin:
5 | #####################################################################
6 |
7 | qt_internal_add_qml_module(qtivicoreplugin
8 | URI "QtIvi"
9 | VERSION "${PROJECT_VERSION}"
10 | PAST_MAJOR_VERSIONS 1
11 | CLASS_NAME QtIviCorePlugin
12 | PLUGIN_TARGET qtivicoreplugin
13 | NO_PLUGIN_OPTIONAL
14 | NO_GENERATE_PLUGIN_SOURCE
15 | NO_GENERATE_QMLTYPES
16 | INSTALL_SOURCE_QMLTYPES "plugins.qmltypes"
17 | SOURCES
18 | plugin.cpp
19 | PUBLIC_LIBRARIES
20 | Qt::IviCore
21 | )
22 |
23 | #### Keys ignored in scope 1:.:.:core.pro::
24 | # CXX_MODULE = "qml"
25 | # OTHER_FILES = "$$qml_files"
26 | # QML_IMPORT_VERSION = "1.0"
27 | # TARGETPATH = "QtIvi"
28 | # qml_files = "$$_PRO_FILE_PWD_/qmldir"
29 |
30 | ## Scopes:
31 | #####################################################################
32 |
33 | #### Keys ignored in scope 2:.:.:core.pro:NOT CMAKE_CROSSCOMPILING AND NOT force_independent AND ( NOT debug_and_release OR NOT build_all OR CONFIG(release,debug OR release) ) AND TARGET Qt::Quick:
34 | # QMAKE_EXTRA_TARGETS = "first"
35 | # first.depends = "qmltypes"
36 | # first.target = "first"
37 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/climate_widget/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from climate_widget.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(climate_widget LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivivehiclefunctions/climate_widget")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS Widgets)
21 | find_package(Qt6 COMPONENTS IviCore)
22 | find_package(Qt6 COMPONENTS IviVehicleFunctions)
23 |
24 | qt_add_executable(climate_widget
25 | main.cpp
26 | mainwindow.cpp mainwindow.h mainwindow.ui
27 | )
28 | set_target_properties(climate_widget PROPERTIES
29 | WIN32_EXECUTABLE TRUE
30 | MACOSX_BUNDLE TRUE
31 | )
32 | target_link_libraries(climate_widget PUBLIC
33 | Qt::Core
34 | Qt::Gui
35 | Qt::Widgets
36 | Qt::IviCore
37 | Qt::IviVehicleFunctions
38 | )
39 |
40 | install(TARGETS climate_widget
41 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
42 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
43 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
44 | )
45 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/backend_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from backend_simulator.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter3-simulation-backend")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 |
18 | qt_add_plugin(instrumentcluster_chapter3_simulation)
19 | set_target_properties(instrumentcluster_chapter3_simulation PROPERTIES LIBRARY_OUTPUT_DIRECTORY ../qtivi)
20 |
21 | # IVI Generator:
22 | qt6_ivigenerator(instrumentcluster_chapter3_simulation
23 | QFACE_SOURCES ../instrument-cluster.qface
24 | QFACE_FORMAT backend_simulator
25 | )
26 |
27 | target_link_libraries(instrumentcluster_chapter3_simulation PUBLIC
28 | QtIviInstrumentCluster_Chapter3
29 | Qt::Core
30 | Qt::Gui
31 | Qt::IviCore
32 | )
33 |
34 | install(TARGETS instrumentcluster_chapter3_simulation
35 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
36 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
37 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
38 | )
39 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/media_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from media_qtro.pro.
2 |
3 | #####################################################################
4 | ## MediaQtROPlugin Plugin:
5 | #####################################################################
6 |
7 | qt_internal_add_plugin(MediaQtROPlugin
8 | OUTPUT_NAME media_qtro
9 | TYPE qtivi
10 | DEFAULT_IF FALSE
11 | SOURCES
12 | mediadiscoverybackend.cpp mediadiscoverybackend.h
13 | mediaindexerbackend.cpp mediaindexerbackend.h
14 | mediaplayerbackend.cpp mediaplayerbackend.h
15 | mediaplugin.cpp mediaplugin.h
16 | searchandbrowsemodel.cpp searchandbrowsemodel.h
17 | usbdevice.cpp usbdevice.h
18 | PUBLIC_LIBRARIES
19 | Qt::IviCore
20 | Qt::IviMedia
21 | Qt::RemoteObjects
22 | Qt::IviRemoteObjectsHelper
23 | )
24 | qt6_add_repc_replicas(MediaQtROPlugin
25 | ../../../tools/media-simulation-server/qivimediaindexer.rep
26 | ../../../tools/media-simulation-server/qivimediaplayer.rep
27 | ../../../tools/media-simulation-server/qivisearchandbrowsemodel.rep
28 | ../../../tools/media-simulation-server/qivimediadiscoverymodel.rep
29 | )
30 |
31 | #### Keys ignored in scope 1:.:.:media_qtro.pro::
32 | # DISTFILES = "media_qtro.json"
33 | # PLUGIN_EXTENDS = "ivimedia"
34 |
--------------------------------------------------------------------------------
/src/plugins/ivimedia/media_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from media_simulator.pro.
2 |
3 | #####################################################################
4 | ## MediaPlugin Plugin:
5 | #####################################################################
6 |
7 | qt_find_package(WrapTagLib PROVIDED_TARGETS WrapTagLib::WrapTagLib) # special case
8 |
9 | qt_internal_add_plugin(MediaPlugin
10 | OUTPUT_NAME media_simulator
11 | TYPE qtivi
12 | DEFAULT_IF FALSE
13 | SOURCES
14 | database_helper.h
15 | logging.cpp logging.h
16 | mediadiscoverybackend.cpp mediadiscoverybackend.h
17 | mediaindexerbackend.cpp mediaindexerbackend.h
18 | mediaplayerbackend.cpp mediaplayerbackend.h
19 | mediaplugin.cpp mediaplugin.h
20 | searchandbrowsebackend.cpp searchandbrowsebackend.h
21 | usbbrowsebackend.cpp usbbrowsebackend.h
22 | usbdevice.cpp usbdevice.h
23 | INCLUDE_DIRECTORIES
24 | ${CMAKE_CURRENT_SOURCE_DIR}
25 | PUBLIC_LIBRARIES
26 | Qt::Core
27 | Qt::IviCore
28 | Qt::IviMedia
29 | Qt::Multimedia
30 | Qt::Sql
31 | WrapTagLib::WrapTagLib
32 | )
33 |
34 | #### Keys ignored in scope 1:.:.:media_simulator.pro::
35 | # DISTFILES = "media_simulator.json"
36 | # PLUGIN_EXTENDS = "ivimedia"
37 |
--------------------------------------------------------------------------------
/examples/ivimedia/tuner/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from tuner.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(tuner LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivimedia/tuner")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS Qml)
21 | find_package(Qt6 COMPONENTS Quick)
22 | find_package(Qt6 COMPONENTS IviCore)
23 |
24 | qt_add_executable(tuner
25 | main.cpp
26 | )
27 | set_target_properties(tuner PROPERTIES
28 | WIN32_EXECUTABLE TRUE
29 | MACOSX_BUNDLE TRUE
30 | )
31 | target_link_libraries(tuner PUBLIC
32 | Qt::Core
33 | Qt::Gui
34 | Qt::IviCore
35 | Qt::Qml
36 | Qt::Quick
37 | )
38 |
39 |
40 | # Resources:
41 | set(qml_resource_files
42 | "main.qml"
43 | )
44 |
45 | qt6_add_resources(tuner "qml"
46 | PREFIX
47 | "/"
48 | FILES
49 | ${qml_resource_files}
50 | )
51 |
52 | install(TARGETS tuner
53 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
54 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
55 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
56 | )
57 |
--------------------------------------------------------------------------------
/src/imports/media/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from media.pro.
2 |
3 | #####################################################################
4 | ## qtivimediaplugin Plugin:
5 | #####################################################################
6 |
7 | qt_internal_add_qml_module(qtivimediaplugin
8 | URI "QtIvi.Media"
9 | VERSION "${PROJECT_VERSION}"
10 | PAST_MAJOR_VERSIONS 1
11 | CLASS_NAME QIviMediaPlugin
12 | PLUGIN_TARGET qtivimediaplugin
13 | NO_PLUGIN_OPTIONAL
14 | NO_GENERATE_PLUGIN_SOURCE
15 | NO_GENERATE_QMLTYPES
16 | INSTALL_SOURCE_QMLTYPES "plugins.qmltypes"
17 | SOURCES
18 | plugin.cpp
19 | PUBLIC_LIBRARIES
20 | Qt::IviCore
21 | Qt::IviMedia
22 | )
23 |
24 | #### Keys ignored in scope 1:.:.:media.pro::
25 | # CXX_MODULE = "qml"
26 | # OTHER_FILES = "$$qml_files"
27 | # QML_IMPORT_VERSION = "1.0"
28 | # TARGETPATH = "QtIvi/Media"
29 | # qml_files = "$$_PRO_FILE_PWD_/qmldir"
30 |
31 | ## Scopes:
32 | #####################################################################
33 |
34 | #### Keys ignored in scope 2:.:.:media.pro:NOT CMAKE_CROSSCOMPILING AND NOT force_independent AND ( NOT debug_and_release OR NOT build_all OR CONFIG(release,debug OR release) ) AND TARGET Qt::Quick:
35 | # QMAKE_EXTRA_TARGETS = "first"
36 | # first.depends = "qmltypes"
37 | # first.target = "first"
38 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/climate_qml/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from climate_qml.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(climate_qml LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivivehiclefunctions/climate_qml")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS Qml)
21 | find_package(Qt6 COMPONENTS Quick)
22 |
23 | qt_add_executable(climate_qml
24 | main.cpp
25 | )
26 | set_target_properties(climate_qml PROPERTIES
27 | WIN32_EXECUTABLE TRUE
28 | MACOSX_BUNDLE TRUE
29 | )
30 | target_link_libraries(climate_qml PUBLIC
31 | Qt::Core
32 | Qt::Gui
33 | Qt::Qml
34 | Qt::Quick
35 | )
36 |
37 |
38 | # Resources:
39 | set(qml_resource_files
40 | "main.qml"
41 | )
42 |
43 | qt6_add_resources(climate_qml "qml"
44 | PREFIX
45 | "/"
46 | FILES
47 | ${qml_resource_files}
48 | )
49 |
50 | install(TARGETS climate_qml
51 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
52 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
53 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
54 | )
55 |
--------------------------------------------------------------------------------
/src/plugins/ivivehiclefunctions/vehiclefunctions_simulator/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from vehiclefunctions_simulator.pro.
2 |
3 | #####################################################################
4 | ## QtIviVehicleFunctionsSimulatorPlugin Plugin:
5 | #####################################################################
6 |
7 | qt_internal_add_plugin(QtIviVehicleFunctionsSimulatorPlugin
8 | OUTPUT_NAME vehiclefunction_simulator
9 | TYPE qtivi
10 | DEFAULT_IF FALSE
11 | PUBLIC_LIBRARIES
12 | Qt::Core
13 | Qt::IviCore
14 | Qt::IviVehicleFunctions
15 | )
16 |
17 | # Resources:
18 | set(qml_resource_files
19 | "QIviConcreteWindowControlSimulation.qml"
20 | "simulation.qml"
21 | )
22 |
23 | qt_internal_add_resource(QtIviVehicleFunctionsSimulatorPlugin "qml"
24 | PREFIX
25 | "/simulation"
26 | FILES
27 | ${qml_resource_files}
28 | )
29 |
30 |
31 | # IVI Generator:
32 | qt_ivigenerator(QtIviVehicleFunctionsSimulatorPlugin
33 | QFACE_SOURCES ../../../ivivehiclefunctions/ivivehiclefunctions.qface
34 | QFACE_FORMAT backend_simulator
35 | QFACE_MODULE_NAME QtIviVehicleFunctions
36 | )
37 |
38 | #### Keys ignored in scope 1:.:.:vehiclefunctions_simulator.pro::
39 | # CMAKE_MODULE_TESTS = "'-'"
40 | # PLUGIN_EXTENDS = "ivivehiclefunctions"
41 | # QML_IMPORT_PATH = "$$OUT_PWD/qml"
42 |
--------------------------------------------------------------------------------
/src/ivivehiclefunctions/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from ivivehiclefunctions.pro.
2 |
3 | # special case begin
4 | #####################################################################
5 | ## IviVehicleFunctions Module:
6 | #####################################################################
7 |
8 | qt_ivigenerator_generate(
9 | QFACE_SOURCES ivivehiclefunctions.qface
10 | QFACE_FORMAT frontend
11 | QFACE_MODULE_NAME QtIviVehicleFunctions
12 | QFACE_HEADERS_OUTPUT_DIR ${QT_BUILD_DIR}/src/ivivehiclefunctions
13 | )
14 | make_directory(${QT_BUILD_DIR}/src/ivivehiclefunctions)
15 |
16 | qt_internal_add_module(IviVehicleFunctions
17 | LIBRARIES
18 | Qt::CorePrivate
19 | Qt::IviCorePrivate
20 | PUBLIC_LIBRARIES
21 | Qt::Core
22 | Qt::IviCore
23 | PRIVATE_MODULE_INTERFACE
24 | Qt::CorePrivate
25 | Qt::IviCorePrivate
26 | )
27 |
28 | qt_ivigenerator_include(IviVehicleFunctions
29 | QFACE_SOURCES ivivehiclefunctions.qface
30 | )
31 |
32 | # special case end
33 |
34 | #### Keys ignored in scope 1:.:.:ivivehiclefunctions.pro::
35 | # CMAKE_MODULE_TESTS = "'-'"
36 | # OTHER_FILES = "$$PWD/doc/*.qdocconf" "$$PWD/doc/src/*.qdoc" "$$PWD/doc/snippets/*" "$$PWD/doc/images/*"
37 | # QT_FOR_CONFIG = "ivicore"
38 |
39 | ## Scopes:
40 | #####################################################################
41 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-ivi-climate")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviClimateExample)
21 |
22 | # IVI Generator:
23 | qt6_ivigenerator(QtIviClimateExample
24 | QFACE_SOURCES ../example-ivi-climate.qface
25 | QFACE_FORMAT frontend
26 | )
27 |
28 | set_target_properties(QtIviClimateExample PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
29 |
30 | target_include_directories(QtIviClimateExample PUBLIC
31 | ${CMAKE_CURRENT_BINARY_DIR}
32 | )
33 |
34 | target_link_libraries(QtIviClimateExample PUBLIC
35 | Qt::Core
36 | Qt::Gui
37 | Qt::IviCore
38 | Qt::IviCorePrivate
39 | Qt::Qml
40 | Qt::Quick
41 | )
42 |
43 | install(TARGETS QtIviClimateExample
44 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
47 | )
48 |
--------------------------------------------------------------------------------
/examples/ivivehiclefunctions/window_qml/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from window_qml.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(window_qml LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivivehiclefunctions/window_qml")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS Qml)
21 | find_package(Qt6 COMPONENTS Quick)
22 |
23 | qt_add_executable(window_qml
24 | main.cpp
25 | )
26 | set_target_properties(window_qml PROPERTIES
27 | WIN32_EXECUTABLE TRUE
28 | MACOSX_BUNDLE TRUE
29 | )
30 | target_link_libraries(window_qml PUBLIC
31 | Qt::Core
32 | Qt::Gui
33 | Qt::Qml
34 | Qt::Quick
35 | )
36 |
37 |
38 | # Resources:
39 | set(qml_resource_files
40 | "WindowItem.qml"
41 | "main.qml"
42 | )
43 |
44 | qt6_add_resources(window_qml "qml"
45 | PREFIX
46 | "/"
47 | FILES
48 | ${qml_resource_files}
49 | )
50 |
51 | install(TARGETS window_qml
52 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
53 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
54 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
55 | )
56 |
--------------------------------------------------------------------------------
/sync.profile:
--------------------------------------------------------------------------------
1 | %modules = ( # path to module name map
2 | "QtIviCore" => "$basedir/src/ivicore",
3 | "QtIviVehicleFunctions" => "$basedir/src/ivivehiclefunctions;$out_basedir/src/ivivehiclefunctions",
4 | "QtIviMedia" => "$basedir/src/ivimedia",
5 | "QtGeniviExtras" => "$basedir/src/geniviextras",
6 | "QtIviRemoteObjectsHelper" => "$basedir/src/helper/remoteobjects",
7 | );
8 | %moduleheaders = ( # restrict the module headers to those found in relative path
9 | );
10 | %classnames = (
11 | "qdlt.h" => "QtDlt",
12 | "qiviqueryterm.h" => "QIviAbstractQueryTerm", "QIviConjunctionTerm", "QIviScopeTerm", "QIviFilterTerm", "QIviOrderTerm",
13 | "qivistandarditem.h" => "QIviSearchAndBrowseModelItem"
14 | );
15 | %deprecatedheaders = (
16 | );
17 | # Module dependencies.
18 | # Every module that is required to build this module should have one entry.
19 | # Each of the module version specifiers can take one of the following values:
20 | # - A specific Git revision.
21 | # - any git symbolic ref resolvable from the module's repository (e.g. "refs/heads/master" to track master branch)
22 | #
23 | %dependencies = (
24 | "qtbase" => "",
25 | "qtdeclarative" => "",
26 | "qtmultimedia" => ""
27 | );
28 |
29 | %inject_headers = (
30 | "$basedir/src/helper/remoteobjects" => [ "rep_qivipagingmodel_source.h", "rep_qivipagingmodel_replica.h" ]
31 | )
32 |
33 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-iviaddressbook")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviAdressBookExample)
21 |
22 | # IVI Generator:
23 | qt6_ivigenerator(QtIviAdressBookExample
24 | QFACE_SOURCES ../example-ivi-addressbook.qface
25 | QFACE_FORMAT frontend
26 | )
27 |
28 | set_target_properties(QtIviAdressBookExample PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
29 |
30 | target_include_directories(QtIviAdressBookExample PUBLIC
31 | ${CMAKE_CURRENT_BINARY_DIR}
32 | )
33 |
34 | target_link_libraries(QtIviAdressBookExample PUBLIC
35 | Qt::Core
36 | Qt::Gui
37 | Qt::IviCore
38 | Qt::IviCorePrivate
39 | Qt::Qml
40 | Qt::Quick
41 | )
42 |
43 | install(TARGETS QtIviAdressBookExample
44 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
47 | )
48 |
--------------------------------------------------------------------------------
/examples/ivimedia/mediaplayer/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from mediaplayer.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(mediaplayer LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivimedia/mediaplayer")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS Qml)
21 | find_package(Qt6 COMPONENTS Quick)
22 | find_package(Qt6 COMPONENTS IviCore)
23 |
24 | qt_add_executable(mediaplayer
25 | main.cpp
26 | )
27 | set_target_properties(mediaplayer PROPERTIES
28 | WIN32_EXECUTABLE TRUE
29 | MACOSX_BUNDLE TRUE
30 | )
31 | target_link_libraries(mediaplayer PUBLIC
32 | Qt::Core
33 | Qt::Gui
34 | Qt::IviCore
35 | Qt::Qml
36 | Qt::Quick
37 | )
38 |
39 |
40 | # Resources:
41 | set(qml_resource_files
42 | "main.qml"
43 | )
44 |
45 | qt6_add_resources(mediaplayer "qml"
46 | PREFIX
47 | "/"
48 | FILES
49 | ${qml_resource_files}
50 | )
51 |
52 | install(TARGETS mediaplayer
53 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
54 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
55 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
56 | )
57 |
--------------------------------------------------------------------------------
/src/imports/vehiclefunctions/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from vehiclefunctions.pro.
2 |
3 | #####################################################################
4 | ## vehiclefunctions Plugin:
5 | #####################################################################
6 |
7 | set(CMAKE_AUTOMOC ON)
8 |
9 | # IVI Generator:
10 | qt_ivigenerator(qtivivehiclefunctionsplugin
11 | QFACE_SOURCES ../../ivivehiclefunctions/ivivehiclefunctions.qface
12 | QFACE_FORMAT qmlplugin
13 | QFACE_MODULE_NAME QtIviVehicleFunctions
14 | )
15 |
16 | # special case begin
17 | target_link_libraries(qtivivehiclefunctionsplugin PUBLIC
18 | Qt::IviCore
19 | Qt::IviVehicleFunctions
20 | )
21 | # special case end
22 |
23 | #### Keys ignored in scope 1:.:.:vehiclefunctions.pro::
24 | # CXX_MODULE = "qml"
25 | # QML_IMPORT_VERSION = "1.0"
26 | # QT_FOR_CONFIG = "ivicore"
27 | # TARGETPATH = "$$replace(URI, \\., /)"
28 | # qml2build.files = "-$$_PRO_FILE_PWD_/qmldir" "-$$_PRO_FILE_PWD_/plugins.qmltypes"
29 | # qmldir2build.files = "-$$_PRO_FILE_PWD_/qmldir" "-$$_PRO_FILE_PWD_/plugins.qmltypes"
30 |
31 | ## Scopes:
32 | #####################################################################
33 |
34 | #### Keys ignored in scope 3:.:.:vehiclefunctions.pro:NOT PWD___equals____ss_OUT_PWD:
35 | # qmldir.base =
36 | # qmldir.files = "-$$_PRO_FILE_PWD_/qmldir"
37 | # qmlfiles.base =
38 | # qmlfiles.files = "-$$_PRO_FILE_PWD_/qmldir"
39 |
--------------------------------------------------------------------------------
/cmake/QtIviSetup.cmake:
--------------------------------------------------------------------------------
1 | function(qt_config_python3_package_test name)
2 | if(DEFINED "TEST_${name}")
3 | return()
4 | endif()
5 |
6 | cmake_parse_arguments(arg "" "LABEL;PACKAGE;VERSION"
7 | "" ${ARGN})
8 |
9 | message(STATUS "Performing Test ${arg_LABEL}")
10 |
11 | execute_process(COMMAND ${Python3_EXECUTABLE} "-c" "import pkg_resources; print(pkg_resources.get_distribution(\"${arg_PACKAGE}\").version)"
12 | RESULT_VARIABLE ${name}_RESULT
13 | OUTPUT_VARIABLE ${name}_VERSION
14 | ERROR_QUIET
15 | )
16 |
17 | set(HAVE_${name} FALSE)
18 | set(status_label "Failed")
19 |
20 | if(${${name}_RESULT} EQUAL 0)
21 | if(DEFINED arg_VERSION)
22 | message(STATUS "Checking for exact version:")
23 | message(STATUS "Expected: ${arg_VERSION}")
24 | message(STATUS "Got: ${${name}_VERSION}")
25 | if("${arg_VERSION}" VERSION_EQUAL "${${name}_VERSION}")
26 | set(HAVE_${name} TRUE)
27 | set(status_label "Success")
28 | endif()
29 | else()
30 | set(HAVE_${name} TRUE)
31 | set(status_label "Success")
32 | endif()
33 | endif()
34 | message(STATUS "Performing Test ${arg_LABEL} - ${status_label}")
35 |
36 | set(TEST_${name} "${HAVE_${name}}" CACHE INTERNAL "${arg_LABEL}")
37 | endfunction()
38 |
--------------------------------------------------------------------------------
/src/ivicore/queryparser/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from queryparser.pro.
2 |
3 | #####################################################################
4 | ## queryparser Binary:
5 | #####################################################################
6 |
7 | qt_add_executable(queryparser
8 | GUI
9 | SOURCES
10 | main.cpp
11 | qiviqueryterm.cpp qiviqueryterm.h qiviqueryterm_p.h
12 | PUBLIC_LIBRARIES
13 | Qt::Gui
14 | )
15 |
16 | ## Scopes:
17 | #####################################################################
18 |
19 | #### Keys ignored in scope 3:.:.:queryparser.pri:enable-qlalr:
20 | # QMAKE_EXTRA_COMPILERS = "flex" "qlalr"
21 | # flex.CONFIG = "no_link"
22 | # flex.commands = "flex" "-L" "--nounistd" "-o" "${QMAKE_FILE_OUT}" "${QMAKE_FILE_NAME}"
23 | # flex.dependency_type = "TYPE_C"
24 | # flex.input = "FLEX"
25 | # flex.output = "$$PWD/${QMAKE_FILE_BASE}_flex_p.h"
26 | # qlalr.CONFIG = "no_link"
27 | # qlalr.commands = "cd" "$$PWD;" "$$[QT_INSTALL_BINS]/qlalr" "--qt" "--no-debug" "--no-lines" "--verbose" "${QMAKE_FILE_NAME}"
28 | # qlalr.dependency_type = "TYPE_C"
29 | # qlalr.input = "QLALR"
30 | # qlalr.output = "$$PWD/${QMAKE_FILE_BASE}_p.h"
31 |
32 | qt_internal_extend_target(queryparser CONDITION NOT enable-qlalr
33 | SOURCES
34 | qiviqueryparser_p.h
35 | qiviqueryparser_flex_p.h
36 | )
37 |
38 | #### Keys ignored in scope 5:.:.:queryparser.pri:else:
39 | # OTHER_FILES = "$$FLEX" "$$QLALR"
40 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter5-ipc/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter5-ipc")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviInstrumentCluster_Chapter5)
21 | set_target_properties(QtIviInstrumentCluster_Chapter5 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
22 |
23 | # IVI Generator:
24 | qt6_ivigenerator(QtIviInstrumentCluster_Chapter5
25 | QFACE_SOURCES ../instrument-cluster.qface
26 | QFACE_FORMAT frontend
27 | )
28 |
29 | target_include_directories(QtIviInstrumentCluster_Chapter5 PUBLIC
30 | ${CMAKE_CURRENT_BINARY_DIR}
31 | )
32 |
33 | target_link_libraries(QtIviInstrumentCluster_Chapter5 PUBLIC
34 | Qt::Core
35 | Qt::Gui
36 | Qt::IviCore
37 | Qt::IviCorePrivate
38 | Qt::Qml
39 | Qt::Quick
40 | )
41 |
42 | install(TARGETS QtIviInstrumentCluster_Chapter5
43 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
44 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | )
47 |
--------------------------------------------------------------------------------
/src/tools/ivigenerator/templates/common/qmldir.tpl:
--------------------------------------------------------------------------------
1 | {#
2 | #############################################################################
3 | ##
4 | ## Copyright (C) 2021 The Qt Company Ltd.
5 | ## Contact: https://www.qt.io/licensing/
6 | ##
7 | ## This file is part of the QtIvi module of the Qt Toolkit.
8 | ##
9 | ## $QT_BEGIN_LICENSE:GPL-EXCEPT$
10 | ## Commercial License Usage
11 | ## Licensees holding valid commercial Qt licenses may use this file in
12 | ## accordance with the commercial license agreement provided with the
13 | ## Software or, alternatively, in accordance with the terms contained in
14 | ## a written agreement between you and The Qt Company. For licensing terms
15 | ## and conditions see https://www.qt.io/terms-conditions. For further
16 | ## information use the contact form at https://www.qt.io/contact-us.
17 | ##
18 | ## GNU General Public License Usage
19 | ## Alternatively, this file may be used under the terms of the GNU
20 | ## General Public License version 3 as published by the Free Software
21 | ## Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
22 | ## included in the packaging of this file. Please review the following
23 | ## information to ensure the GNU General Public License requirements will
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25 | ##
26 | ## $QT_END_LICENSE$
27 | ##
28 | #############################################################################
29 | #}
30 | typeinfo plugins.qmltypes
31 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(QtIviRemoteExample LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-ivi-remote")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 | find_package(Qt6 COMPONENTS Gui)
20 | find_package(Qt6 COMPONENTS IviCore)
21 | find_package(Qt6 COMPONENTS Qml)
22 | find_package(Qt6 COMPONENTS Quick)
23 |
24 | add_library(QtIviRemoteExample)
25 |
26 | # IVI Generator:
27 | qt6_ivigenerator(QtIviRemoteExample
28 | QFACE_SOURCES ../example-ivi-remote.qface
29 | QFACE_FORMAT frontend
30 | )
31 |
32 | set_target_properties(QtIviRemoteExample PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
33 |
34 | target_include_directories(QtIviRemoteExample PUBLIC
35 | ${CMAKE_CURRENT_BINARY_DIR}
36 | )
37 |
38 | target_link_libraries(QtIviRemoteExample PUBLIC
39 | Qt::Core
40 | Qt::Gui
41 | Qt::IviCore
42 | Qt::IviCorePrivate
43 | Qt::Qml
44 | Qt::Quick
45 | )
46 |
47 | install(TARGETS QtIviRemoteExample
48 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
49 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
50 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
51 | )
52 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter1-basics/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter1-basics")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviInstrumentCluster_Chapter1)
21 | set_target_properties(QtIviInstrumentCluster_Chapter1 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
22 |
23 | # IVI Generator:
24 | qt6_ivigenerator(QtIviInstrumentCluster_Chapter1
25 | QFACE_SOURCES ../instrument-cluster.qface
26 | QFACE_FORMAT frontend
27 | )
28 |
29 | target_include_directories(QtIviInstrumentCluster_Chapter1 PUBLIC
30 | ${CMAKE_CURRENT_BINARY_DIR}
31 | )
32 |
33 | target_link_libraries(QtIviInstrumentCluster_Chapter1 PUBLIC
34 | Qt::Core
35 | Qt::Gui
36 | Qt::IviCore
37 | Qt::IviCorePrivate
38 | Qt::Qml
39 | Qt::Quick
40 | )
41 |
42 | install(TARGETS QtIviInstrumentCluster_Chapter1
43 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
44 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | )
47 |
--------------------------------------------------------------------------------
/src/helper/remoteobjects/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from remoteobjects.pro.
2 |
3 | #####################################################################
4 | ## IviRemoteObjectsHelper Module:
5 | #####################################################################
6 |
7 | # FIXME Find a way to enable this again
8 | # The generated remoteobjects headers are part of this internal module
9 | # This is a problem as the headersclean target checks the headers before
10 | # building the module and at that time the rep headers are not created yet
11 | set(QT_FEATURE_headersclean FALSE)
12 |
13 | qt_internal_add_module(IviRemoteObjectsHelper
14 | CONFIG_MODULE_NAME iviremoteobjects_helper
15 | STATIC
16 | INTERNAL_MODULE
17 | SOURCES
18 | qivipagingmodelqtroadapter.cpp qivipagingmodelqtroadapter.h
19 | qiviremoteobjectpendingresult.cpp qiviremoteobjectpendingresult.h
20 | qiviremoteobjectreplicahelper.cpp qiviremoteobjectreplicahelper.h
21 | qiviremoteobjectsourcehelper.h
22 | PUBLIC_LIBRARIES
23 | Qt::IviCore
24 | Qt::Qml
25 | Qt::RemoteObjects
26 | )
27 | qt6_add_repc_sources(IviRemoteObjectsHelper
28 | qivipagingmodel.rep
29 | )
30 | qt6_add_repc_replicas(IviRemoteObjectsHelper
31 | qivipagingmodel.rep
32 | )
33 |
34 | #### Keys ignored in scope 1:.:.:remoteobjects.pro::
35 | # CMAKE_MODULE_TESTS = "'-'"
36 | # MODULE = "iviremoteobjects_helper"
37 | # targ_headers.CONFIG = "no_check_exist"
38 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter2-enums-structs/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter2-enums-structs")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviInstrumentCluster_Chapter2)
21 | set_target_properties(QtIviInstrumentCluster_Chapter2 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
22 |
23 | # IVI Generator:
24 | qt6_ivigenerator(QtIviInstrumentCluster_Chapter2
25 | QFACE_SOURCES ../instrument-cluster.qface
26 | QFACE_FORMAT frontend
27 | )
28 |
29 | target_include_directories(QtIviInstrumentCluster_Chapter2 PUBLIC
30 | ${CMAKE_CURRENT_BINARY_DIR}
31 | )
32 |
33 | target_link_libraries(QtIviInstrumentCluster_Chapter2 PUBLIC
34 | Qt::Core
35 | Qt::Gui
36 | Qt::IviCore
37 | Qt::IviCorePrivate
38 | Qt::Qml
39 | Qt::Quick
40 | )
41 |
42 | install(TARGETS QtIviInstrumentCluster_Chapter2
43 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
44 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | )
47 |
--------------------------------------------------------------------------------
/src/geniviextras/doc/src/external-resources.qdoc:
--------------------------------------------------------------------------------
1 | /****************************************************************************
2 | **
3 | ** Copyright (C) 2021 The Qt Company Ltd.
4 | ** Contact: https://www.qt.io/licensing/
5 | **
6 | ** This file is part of the documentation of the Qt Toolkit.
7 | **
8 | ** $QT_BEGIN_LICENSE:FDL$
9 | ** Commercial License Usage
10 | ** Licensees holding valid commercial Qt licenses may use this file in
11 | ** accordance with the commercial license agreement provided with the
12 | ** Software or, alternatively, in accordance with the terms contained in
13 | ** a written agreement between you and The Qt Company. For licensing terms
14 | ** and conditions see https://www.qt.io/terms-conditions. For further
15 | ** information use the contact form at https://www.qt.io/contact-us.
16 | **
17 | ** GNU Free Documentation License Usage
18 | ** Alternatively, this file may be used under the terms of the GNU Free
19 | ** Documentation License version 1.3 as published by the Free Software
20 | ** Foundation and appearing in the file included in the packaging of
21 | ** this file. Please review the following information to ensure
22 | ** the GNU Free Documentation License version 1.3 requirements
23 | ** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
24 | ** $QT_END_LICENSE$
25 | **
26 | ****************************************************************************/
27 |
28 | /*!
29 | \externalpage http://www.genivi.org/
30 | \title GENIVI
31 | */
32 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter3-simulation-backend/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter3-simulation-backend")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviInstrumentCluster_Chapter3)
21 | set_target_properties(QtIviInstrumentCluster_Chapter3 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
22 |
23 | # IVI Generator:
24 | qt6_ivigenerator(QtIviInstrumentCluster_Chapter3
25 | QFACE_SOURCES ../instrument-cluster.qface
26 | QFACE_FORMAT frontend
27 | )
28 |
29 | target_include_directories(QtIviInstrumentCluster_Chapter3 PUBLIC
30 | ${CMAKE_CURRENT_BINARY_DIR}
31 | )
32 |
33 | target_link_libraries(QtIviInstrumentCluster_Chapter3 PUBLIC
34 | Qt::Core
35 | Qt::Gui
36 | Qt::IviCore
37 | Qt::IviCorePrivate
38 | Qt::Qml
39 | Qt::Quick
40 | )
41 |
42 | install(TARGETS QtIviInstrumentCluster_Chapter3
43 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
44 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | )
47 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-tutorial/chapter4-simulation-behavior/frontend/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from frontend.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-tutorial/chapter4-simulation-behavior")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS IviCore)
17 | find_package(Qt6 COMPONENTS Qml)
18 | find_package(Qt6 COMPONENTS Quick)
19 |
20 | add_library(QtIviInstrumentCluster_Chapter4)
21 | set_target_properties(QtIviInstrumentCluster_Chapter4 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ../)
22 |
23 | # IVI Generator:
24 | qt6_ivigenerator(QtIviInstrumentCluster_Chapter4
25 | QFACE_SOURCES ../instrument-cluster.qface
26 | QFACE_FORMAT frontend
27 | )
28 |
29 | target_include_directories(QtIviInstrumentCluster_Chapter4 PUBLIC
30 | ${CMAKE_CURRENT_BINARY_DIR}
31 | )
32 |
33 | target_link_libraries(QtIviInstrumentCluster_Chapter4 PUBLIC
34 | Qt::Core
35 | Qt::Gui
36 | Qt::IviCore
37 | Qt::IviCorePrivate
38 | Qt::Qml
39 | Qt::Quick
40 | )
41 |
42 | install(TARGETS QtIviInstrumentCluster_Chapter4
43 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
44 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
45 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
46 | )
47 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/demo/demo.pro:
--------------------------------------------------------------------------------
1 | TARGET = qface-ivi-remote
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | TEMPLATE = app
4 |
5 | QT += qml quick
6 | CONFIG += c++11
7 | CONFIG -= app_bundle
8 | DESTDIR = ../
9 |
10 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviRemoteExample)
11 | INCLUDEPATH += $$OUT_PWD/../frontend
12 |
13 | SOURCES += main.cpp
14 |
15 | RESOURCES += qml.qrc
16 |
17 | QMAKE_RPATHDIR += $ORIGIN
18 |
19 | # Additional import path used to resolve QML modules in Qt Creator's code model
20 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
21 |
22 | # Additional import path used to resolve QML modules just for Qt Quick Designer
23 | QML_DESIGNER_IMPORT_PATH =
24 |
25 | # The following define makes your compiler emit warnings if you use
26 | # any feature of Qt which as been marked deprecated (the exact warnings
27 | # depend on your compiler). Please consult the documentation of the
28 | # deprecated API in order to know how to port your code away from it.
29 | DEFINES += QT_DEPRECATED_WARNINGS
30 |
31 | # You can also make your code fail to compile if you use deprecated APIs.
32 | # In order to do so, uncomment the following line.
33 | # You can also select to disable deprecated APIs only up to a certain version of Qt.
34 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
35 |
36 | CONFIG += install_ok # Do not cargo-cult this!
37 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-remote
38 | INSTALLS += target
39 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-remote/server_qtro/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from server_qtro.pro.
2 |
3 | cmake_minimum_required(VERSION 3.14)
4 | project(qface-ivi-remote-server LANGUAGES CXX)
5 |
6 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
7 |
8 | set(CMAKE_AUTOMOC ON)
9 | set(CMAKE_AUTORCC ON)
10 | set(CMAKE_AUTOUIC ON)
11 |
12 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
13 | set(INSTALL_EXAMPLESDIR "examples")
14 | endif()
15 |
16 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-ivi-remote-server")
17 |
18 | find_package(Qt6 COMPONENTS Core)
19 |
20 | qt_add_executable(qface-ivi-remote-server
21 | main.cpp
22 | processingservice.cpp processingservice.h
23 | )
24 |
25 | # IVI Generator:
26 | qt6_ivigenerator(qface-ivi-remote-server
27 | QFACE_SOURCES ../example-ivi-remote.qface
28 | QFACE_FORMAT server_qtro
29 | )
30 |
31 | set_target_properties(qface-ivi-remote-server PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
32 |
33 | set_target_properties(qface-ivi-remote-server PROPERTIES
34 | WIN32_EXECUTABLE TRUE
35 | MACOSX_BUNDLE FALSE
36 | )
37 |
38 | target_compile_definitions(qface-ivi-remote-server PUBLIC
39 | QT_DEPRECATED_WARNINGS
40 | )
41 |
42 | target_link_libraries(qface-ivi-remote-server PUBLIC
43 | QtIviRemoteExample
44 | Qt::Core
45 | )
46 |
47 | install(TARGETS qface-ivi-remote-server
48 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
49 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
50 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
51 | )
52 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/demo/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | # Generated from demo.pro.
2 | set(CMAKE_INCLUDE_CURRENT_DIR ON)
3 |
4 | set(CMAKE_AUTOMOC ON)
5 | set(CMAKE_AUTORCC ON)
6 | set(CMAKE_AUTOUIC ON)
7 |
8 | if(NOT DEFINED INSTALL_EXAMPLESDIR)
9 | set(INSTALL_EXAMPLESDIR "examples")
10 | endif()
11 |
12 | set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/ivicore/qface-ivi-climate")
13 |
14 | find_package(Qt6 COMPONENTS Core)
15 | find_package(Qt6 COMPONENTS Gui)
16 | find_package(Qt6 COMPONENTS Qml)
17 | find_package(Qt6 COMPONENTS Quick)
18 |
19 | qt_add_executable(qface-ivi-climate
20 | main.cpp
21 | )
22 | set_target_properties(qface-ivi-climate PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
23 | set_target_properties(qface-ivi-climate PROPERTIES
24 | WIN32_EXECUTABLE TRUE
25 | MACOSX_BUNDLE FALSE
26 | )
27 |
28 | target_compile_definitions(qface-ivi-climate PUBLIC
29 | QT_DEPRECATED_WARNINGS
30 | )
31 |
32 | target_link_libraries(qface-ivi-climate PUBLIC
33 | QtIviClimateExample
34 | Qt::Core
35 | Qt::Gui
36 | Qt::Qml
37 | Qt::Quick
38 | )
39 |
40 |
41 | # Resources:
42 | set(qml_resource_files
43 | "main.qml"
44 | )
45 |
46 | qt6_add_resources(qface-ivi-climate "qml"
47 | PREFIX
48 | "/"
49 | FILES
50 | ${qml_resource_files}
51 | )
52 |
53 | install(TARGETS qface-ivi-climate
54 | RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
55 | BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
56 | LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
57 | )
58 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-climate/demo/demo.pro:
--------------------------------------------------------------------------------
1 | TARGET = qface-ivi-climate
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | TEMPLATE = app
4 |
5 | QT += qml quick
6 | CONFIG += c++11
7 | CONFIG -= app_bundle
8 | DESTDIR = ../
9 |
10 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviClimateExample)
11 | INCLUDEPATH += $$OUT_PWD/../frontend
12 |
13 | SOURCES += main.cpp
14 |
15 | RESOURCES += qml.qrc
16 |
17 | QMAKE_RPATHDIR += $ORIGIN
18 |
19 | # Additional import path used to resolve QML modules in Qt Creator's code model
20 | QML_IMPORT_PATH += $$OUT_PWD/../frontend/qml
21 |
22 | # Additional import path used to resolve QML modules just for Qt Quick Designer
23 | QML_DESIGNER_IMPORT_PATH =
24 |
25 | # The following define makes your compiler emit warnings if you use
26 | # any feature of Qt which as been marked deprecated (the exact warnings
27 | # depend on your compiler). Please consult the documentation of the
28 | # deprecated API in order to know how to port your code away from it.
29 | DEFINES += QT_DEPRECATED_WARNINGS
30 |
31 | # You can also make your code fail to compile if you use deprecated APIs.
32 | # In order to do so, uncomment the following line.
33 | # You can also select to disable deprecated APIs only up to a certain version of Qt.
34 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
35 |
36 | CONFIG += install_ok # Do not cargo-cult this!
37 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-climate
38 | INSTALLS += target
39 |
--------------------------------------------------------------------------------
/examples/ivicore/qface-ivi-addressbook/demo/demo.pro:
--------------------------------------------------------------------------------
1 | TARGET = qface-ivi-addressbook
2 | QMAKE_PROJECT_NAME = $$TARGET
3 | TEMPLATE = app
4 |
5 | QT += qml quick
6 | CONFIG += c++11
7 | CONFIG -= app_bundle
8 | DESTDIR = ../
9 |
10 | LIBS += -L$$OUT_PWD/../ -l$$qtLibraryTarget(QtIviAdressBookExample)
11 | INCLUDEPATH += $$OUT_PWD/../frontend
12 |
13 | SOURCES += main.cpp
14 |
15 | RESOURCES += qml.qrc
16 |
17 | QMAKE_RPATHDIR += $ORIGIN
18 |
19 | # Additional import path used to resolve QML modules in Qt Creator's code model
20 | QML_IMPORT_PATH = $$OUT_PWD/../frontend/qml
21 |
22 | # Additional import path used to resolve QML modules just for Qt Quick Designer
23 | QML_DESIGNER_IMPORT_PATH =
24 |
25 | # The following define makes your compiler emit warnings if you use
26 | # any feature of Qt which as been marked deprecated (the exact warnings
27 | # depend on your compiler). Please consult the documentation of the
28 | # deprecated API in order to know how to port your code away from it.
29 | DEFINES += QT_DEPRECATED_WARNINGS
30 |
31 | # You can also make your code fail to compile if you use deprecated APIs.
32 | # In order to do so, uncomment the following line.
33 | # You can also select to disable deprecated APIs only up to a certain version of Qt.
34 | #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
35 |
36 | CONFIG += install_ok # Do not cargo-cult this!
37 | target.path = $$[QT_INSTALL_EXAMPLES]/ivicore/qface-ivi-addressbook
38 | INSTALLS += target
39 |
--------------------------------------------------------------------------------