[Automotive] Automotive Digest, Vol 16, Issue 6

Larry 754833745 at qq.com
Mon Sep 26 09:25:34 CEST 2016


Hi


    I want to know How to install qt 3d scene editor?
    Thanks for any help!


Larry




------------------ Original ------------------
From:  "automotive-request";<automotive-request at qt-project.org>;
Date:  Thu, Sep 15, 2016 09:33 PM
To:  "automotive"<automotive at qt-project.org>; 

Subject:  Automotive Digest, Vol 16, Issue 6



Send Automotive mailing list submissions to
	automotive at qt-project.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.qt-project.org/mailman/listinfo/automotive
or, via email, send a message with subject or body 'help' to
	automotive-request at qt-project.org

You can reach the person managing the list at
	automotive-owner at qt-project.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Automotive digest..."


Today's Topics:

   1. Re: Native apps (Robert Griebl)
   2. Re: Native apps (Alistair Adams)
   3. Re: appman IPC communication from System UI to app? (Nedim Hadzic)
   4. Re: appman IPC communication from System UI to app?
      (Robert Griebl)


----------------------------------------------------------------------

Message: 1
Date: Thu, 15 Sep 2016 14:13:56 +0200
From: Robert Griebl <robert.griebl at pelagicore.com>
To: automotive at qt-project.org
Subject: Re: [Automotive] Native apps
Message-ID: <4a1f7be6-d68e-bbda-49b6-78fa3b83d164 at pelagicore.com>
Content-Type: text/plain; charset=iso-8859-15; format=flowed

Hi Vlad,

On 15.09.2016 10:55, Vlad Stelmahovsky wrote:
> is there is a plans to implement native (C++) apps to be started by appman?
> thanks


Just set "runtime: native" in your info.yaml

See the runtime field documentation here:

https://doc.qt.io/QtApplicationManager/manifest.html


cu
Robert

-- 
Robert Griebl
SENIOR SOFTWARE ENGINEER

Pelagicore AG
Balanstr. 55, 81541 Munich, Germany
robert.griebl at pelagicore.com
www.pelagicore.com


------------------------------

Message: 2
Date: Thu, 15 Sep 2016 12:38:52 +0000
From: Alistair Adams <alistair.adams at qt.io>
To: Vlad Stelmahovsky <vladstelmahovsky at gmail.com>, automotive
	<automotive at qt-project.org>
Subject: Re: [Automotive] Native apps
Message-ID:
	<AM5PR0202MB2529DFC550AFA2A4C17C651C9AF00 at AM5PR0202MB2529.eurprd02.prod.outlook.com>
	
Content-Type: text/plain; charset="utf-8"

Yes, very much so. This is key to being able to integrate non Qt apps.

-Alistair

From: Automotive [mailto:automotive-bounces+alistair.adams=qt.io at qt-project.org] On Behalf Of Vlad Stelmahovsky
Sent: Thursday, September 15, 2016 1:56 AM
To: automotive <automotive at qt-project.org>
Subject: [Automotive] Native apps

Hi

is there is a plans to implement native (C++) apps to be started by appman?
thanks

--
Best regards,
Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20160915/9cfff099/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 15 Sep 2016 14:57:05 +0200
From: Nedim Hadzic <nedim.hadzic at pelagicore.com>
To: "Eiche, Aaron" <aeiche at jaguarlandrover.com>
Cc: Qt Automotive List <automotive at qt-project.org>
Subject: Re: [Automotive] appman IPC communication from System UI to
	app?
Message-ID:
	<CAJz6Q1X1DJnO15sh3PJMaXz3CiTFtiGF+eEQ-yPUY0XUp0boUA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello Aaron,

It is possible to send signals from System UI to an app. I created one
example for you in the attachment using the System UI example from link you
provided http://doc.qt.io/QtApplicationManager/qml-qtapplicationmanager-
applicationipcmanager.html. I simply added the interface on the application
side to handle triggering 'testSignal' from System UI.

You can also find one example in the music application in the Neptune UI (
https://codereview.qt-project.org/#/admin/projects/qt-apps/neptune-ui).

I hope this helps you and let me know if you have more questions.

Kind regards,

On 15 September 2016 at 00:18, Eiche, Aaron <aeiche at jaguarlandrover.com>
wrote:

> Hi Everyone,
>
> I've been trying to implement IPC via appman (http://doc.qt.io/
> QtApplicationManager/qml-qtapplicationmanager-applicationipcmanager.html)
> in one of our projects. I've managed to get communication going from one of
> our apps to our System UI, but I haven't been able to figure out how to
> implement the opposite direction. I would like to be able to make the
> System UI send information to an application.
>
> Am I missing something obvious here? Is there a practical reason why this
> isn't already implemented (some other method of accomplishing this) or it's
> a bad idea?
>
> thanks
> -Aaron E.
>
> --
> *Aaron Eiche*
> Javascript Developer
>
> *T:* +1.971.256.9731  |  *M: *+1.503.334.9164
>
>
>
> Jaguar Land Rover North America, LLC
> 1419 NW 14th Ave, Portland, OR 97209
> JaguarUSA.com <http://www.jaguarusa.com/index.html>  |  LandRoverUSA.com
> <http://www.landrover.com/us/en/lr/>
>
> _______________________________________________
> Automotive mailing list
> Automotive at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/automotive
>
>


-- 
Nedim Hadzic
Senior Software Engineer
Pelagicore AG
+49 151 655 666 77
pelagicore.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20160915/af0b739b/attachment-0001.html>
-------------- next part --------------

----------------------------------
SYSTEM UI
----------------------------------
import QtQuick 2.0
import QtApplicationManager 1.0

ApplicationIPCInterface {
    id: extension

    property bool pbool: true
    property double pdouble: 3.14

    signal testSignal(string str, variant list)

    readonly property var _decltype_testFunction: { "void": [ "int", "string" ] }
    function testFunction(foo, bar) {
        console.log("testFunction was called: " + foo + " " + bar)
    }

    Component.onCompleted: {
        ApplicationIPCManager.registerInterface(extension, "io.qt.test.interface",
                                                { "capabilities": [ "media", "camera" ] })
    }
}


----------------------------------
APP
----------------------------------
import QtQuick 2.0
import QtApplicationManager 1.0

Item {
    id: root
    property bool pbool: flase

    property Item ipc: Item {
            ApplicationInterfaceExtension {
                id: interfaceRemoteControl

                name: "io.qt.test.interface"
            }

            Binding { target: interfaceRemoteControl.object; property: "pbool"; value: root.pbool }

            Connections {
                target: interfaceRemoteControl.object

                onTestSignal: {
                    console.log("testSignal triggered from the SystemUI", str, list)
                }
            }
        }
}

------------------------------

Message: 4
Date: Thu, 15 Sep 2016 15:33:13 +0200
From: Robert Griebl <robert.griebl at pelagicore.com>
To: automotive at qt-project.org
Subject: Re: [Automotive] appman IPC communication from System UI to
	app?
Message-ID: <829353d5-662a-1315-48ac-9ab70dac4c36 at pelagicore.com>
Content-Type: text/plain; charset=iso-8859-15; format=flowed

Hi Aaron,

On 15.09.2016 00:18, Eiche, Aaron wrote:
> I've been trying to implement IPC via appman
> (http://doc.qt.io/QtApplicationManager/qml-qtapplicationmanager-applicationipcmanager.html)
> in one of our projects. I've managed to get communication going from one
> of our apps to our System UI, but I haven't been able to figure out how
> to implement the opposite direction. I would like to be able to make the
> System UI send information to an application.
>
> Am I missing something obvious here? Is there a practical reason why
> this isn't already implemented (some other method of accomplishing this)
> or it's a bad idea?

This IPC is a 1:n remote-object connection between the system-UI and apps.

You register a QtObject on the system-ui side an then:

  - every property will be synced between all apps and the system-ui, 
regardless of which side changes the property
  - every signal you emit on the system-ui side will be also emitted in 
each app as well
  - calling a function from an app will actually execute the function 
within the system-ui.


cu
Robert

-- 
Robert Griebl
SENIOR SOFTWARE ENGINEER

Pelagicore AG
Balanstr. 55, 81541 Munich, Germany
robert.griebl at pelagicore.com
www.pelagicore.com


------------------------------

Subject: Digest Footer

_______________________________________________
Automotive mailing list
Automotive at qt-project.org
http://lists.qt-project.org/mailman/listinfo/automotive


------------------------------

End of Automotive Digest, Vol 16, Issue 6
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20160926/eb0f17de/attachment-0001.html>


More information about the Automotive mailing list