From martin.kampas at jolla.com Fri Aug 5 06:57:12 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Fri, 5 Aug 2016 04:57:12 +0000 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> Hi, What was the issue with just ReloadDocument that led you to introduce RecreateView? Destroying the root object can left the view in a messy state? BR, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Fri Aug 5 12:37:34 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Fri, 5 Aug 2016 03:37:34 -0700 Subject: [Automotive] Getting started with automotive and qt Message-ID: Hello! I have started designing an interface for an industrial vehicle. I am planning to develop the UI in Qt and it will run using a Linux touch screen computer inside the cab. I have a lot to do and a long ways to go, so I am hoping to find an open source project to collaborate with and build on top. In my search I came across Neptune project which looks promising. I cloned this repo and tried building it, but I have not been able to run it (missing executable). Will that project run on a 64bit ubuntu linux computer? Do you think Neptune would be a good project to look at as a starting point. The things I am mostly looking for are a set of UI components that are suitable for in vehicle use, integration with CAN, and I would like to have one view that is an interactive 3D model of the vehicle. Thank you for your great work with Qt and automotive. Please let me know if I am on the right track here or not. Any advice or pointers would be appreciated, as I am still at very early stages of this project. Thank you! Aras ps: I just joined this list, so I apologize in advance if this is not the right place for my question. -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan.thelin at pelagicore.com Fri Aug 5 13:31:11 2016 From: johan.thelin at pelagicore.com (Johan Thelin) Date: Fri, 5 Aug 2016 13:31:11 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: Hi Aras, What executable are you missing? Neptune is meant to be run using the Application Manager found here: http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . Could that be what is missing? Best regards, Johan Thelin ??? ??? M.Sc.E.E. System Architect PELAGICORE | Experience Change Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden Mobile: +46 (0)700 900 250 Skype: jothpelagicore E-Mail: johan.thelin at pelagicore.com On 5 August 2016 at 12:37, Aras Balali Moghaddam wrote: > Hello! > I have started designing an interface for an industrial vehicle. I am > planning to develop the UI in Qt and it will run using a Linux touch screen > computer inside the cab. I have a lot to do and a long ways to go, so I am > hoping to find an open source project to collaborate with and build on top. > > In my search I came across Neptune project which looks promising. I cloned > this repo and tried building it, but I have not been able to run it (missing > executable). Will that project run on a 64bit ubuntu linux computer? > > Do you think Neptune would be a good project to look at as a starting point. > The things I am mostly looking for are a set of UI components that are > suitable for in vehicle use, integration with CAN, and I would like to have > one view that is an interactive 3D model of the vehicle. > > Thank you for your great work with Qt and automotive. Please let me know if > I am on the right track here or not. Any advice or pointers would be > appreciated, as I am still at very early stages of this project. > > Thank you! > Aras > > ps: I just joined this list, so I apologize in advance if this is not the > right place for my question. > > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > From arasbm at gmail.com Fri Aug 5 14:23:47 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Fri, 5 Aug 2016 05:23:47 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: Thanks Johan, Yes that was my first problem. I am trying to build the application manager now and I get this error: Project ERROR: Unknown module(s) in QT: qml Makefile:126: recipe for target 'sub-notification-lib-make_first' failed make[1]: *** [sub-notification-lib-make_first] Error 3 make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' Makefile:42: recipe for target 'sub-src-make_first-ordered' failed make: *** [sub-src-make_first-ordered] Error 2 When I run "qmake --version" I get the following: QMake version 3.0 Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu I am new to Qt and so far have only built a few of the sample apps and they seem to be working. Any ideas why I am getting this build error? Thank you! Aras On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin wrote: > Hi Aras, > > What executable are you missing? Neptune is meant to be run using the > Application Manager found here: > http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . Could that be > what is missing? > > Best regards, > > Johan Thelin ??? ??? > M.Sc.E.E. > System Architect > > PELAGICORE | Experience Change > Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > Mobile: +46 (0)700 900 250 > Skype: jothpelagicore > E-Mail: johan.thelin at pelagicore.com > > > On 5 August 2016 at 12:37, Aras Balali Moghaddam wrote: > > Hello! > > I have started designing an interface for an industrial vehicle. I am > > planning to develop the UI in Qt and it will run using a Linux touch > screen > > computer inside the cab. I have a lot to do and a long ways to go, so I > am > > hoping to find an open source project to collaborate with and build on > top. > > > > In my search I came across Neptune project which looks promising. I > cloned > > this repo and tried building it, but I have not been able to run it > (missing > > executable). Will that project run on a 64bit ubuntu linux computer? > > > > Do you think Neptune would be a good project to look at as a starting > point. > > The things I am mostly looking for are a set of UI components that are > > suitable for in vehicle use, integration with CAN, and I would like to > have > > one view that is an interactive 3D model of the vehicle. > > > > Thank you for your great work with Qt and automotive. Please let me know > if > > I am on the right track here or not. Any advice or pointers would be > > appreciated, as I am still at very early stages of this project. > > > > Thank you! > > Aras > > > > ps: I just joined this list, so I apologize in advance if this is not the > > right place for my question. > > > > _______________________________________________ > > Automotive mailing list > > Automotive at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/automotive > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan.thelin at pelagicore.com Fri Aug 5 18:57:25 2016 From: johan.thelin at pelagicore.com (Johan Thelin) Date: Fri, 5 Aug 2016 18:57:25 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: You need the qml or qtquick development package installed. What platform are you developing from? If you're on Linux, you should look for the qt5*-dev or -devel packages. One (more advanced) way around this is to build your own version of Qt, and then build Application Manager with the qmake-binary from your custom Qt build. Qt depends on QML, but also QtWayland. /J On 5 August 2016 at 14:23, Aras Balali Moghaddam wrote: > Thanks Johan, > Yes that was my first problem. I am trying to build the application manager > now and I get this error: > > Project ERROR: Unknown module(s) in QT: qml > Makefile:126: recipe for target 'sub-notification-lib-make_first' failed > make[1]: *** [sub-notification-lib-make_first] Error 3 > make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' > Makefile:42: recipe for target 'sub-src-make_first-ordered' failed > make: *** [sub-src-make_first-ordered] Error 2 > > When I run "qmake --version" I get the following: > > QMake version 3.0 > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu > > I am new to Qt and so far have only built a few of the sample apps and they > seem to be working. Any ideas why I am getting this build error? > > Thank you! > Aras > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin > wrote: >> >> Hi Aras, >> >> What executable are you missing? Neptune is meant to be run using the >> Application Manager found here: >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . Could that be >> what is missing? >> >> Best regards, >> >> Johan Thelin ??? ??? >> M.Sc.E.E. >> System Architect >> >> PELAGICORE | Experience Change >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden >> Mobile: +46 (0)700 900 250 >> Skype: jothpelagicore >> E-Mail: johan.thelin at pelagicore.com >> >> >> On 5 August 2016 at 12:37, Aras Balali Moghaddam wrote: >> > Hello! >> > I have started designing an interface for an industrial vehicle. I am >> > planning to develop the UI in Qt and it will run using a Linux touch >> > screen >> > computer inside the cab. I have a lot to do and a long ways to go, so I >> > am >> > hoping to find an open source project to collaborate with and build on >> > top. >> > >> > In my search I came across Neptune project which looks promising. I >> > cloned >> > this repo and tried building it, but I have not been able to run it >> > (missing >> > executable). Will that project run on a 64bit ubuntu linux computer? >> > >> > Do you think Neptune would be a good project to look at as a starting >> > point. >> > The things I am mostly looking for are a set of UI components that are >> > suitable for in vehicle use, integration with CAN, and I would like to >> > have >> > one view that is an interactive 3D model of the vehicle. >> > >> > Thank you for your great work with Qt and automotive. Please let me know >> > if >> > I am on the right track here or not. Any advice or pointers would be >> > appreciated, as I am still at very early stages of this project. >> > >> > Thank you! >> > Aras >> > >> > ps: I just joined this list, so I apologize in advance if this is not >> > the >> > right place for my question. >> > >> > _______________________________________________ >> > Automotive mailing list >> > Automotive at qt-project.org >> > http://lists.qt-project.org/mailman/listinfo/automotive >> > > > From arasbm at gmail.com Fri Aug 5 22:20:22 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Fri, 5 Aug 2016 13:20:22 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: I am developing on Ubuntu. I got through a number of build dependency errors by following your suggestion and installing qt dev related packages. I have not tried building the whole qt yet, but one of these days I am sure I will. Should I follow [these instructions] for building the application mmanager? Currently I am getting this error when I run the build command (*sudo* qmake && make && make install): make[2]: Entering directory '/home/aras/Projects/qtapplicationmanager/src/manager' install -m 755 -p ../../bin/appman /usr/local/bin/appman install: cannot remove '/usr/local/bin/appman': Permission denied Makefile:619: recipe for target 'install_target' failed make[2]: [install_target] Error 1 (ignored) strip /usr/local/bin/appman strip: '/usr/local/bin/appman': No such file Makefile:619: recipe for target 'install_target' failed make[2]: [install_target] Error 1 (ignored) mkdir: cannot create directory ?/usr/local/share/dbus-1?: Permission denied Makefile:629: recipe for target 'install_dbusif' failed make[2]: *** [install_dbusif] Error 1 make[2]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src/manager' Makefile:216: recipe for target 'sub-manager-install_subtargets' failed make[1]: *** [sub-manager-install_subtargets] Error 2 make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' Makefile:66: recipe for target 'sub-src-install_subtargets-ordered' failed make: *** [sub-src-install_subtargets-ordered] Error 2 Any ideas what I am missing now? Thanks! Aras On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin wrote: > You need the qml or qtquick development package installed. What > platform are you developing from? If you're on Linux, you should look > for the qt5*-dev or -devel packages. > > One (more advanced) way around this is to build your own version of > Qt, and then build Application Manager with the qmake-binary from your > custom Qt build. Qt depends on QML, but also QtWayland. > > /J > > On 5 August 2016 at 14:23, Aras Balali Moghaddam wrote: > > Thanks Johan, > > Yes that was my first problem. I am trying to build the application > manager > > now and I get this error: > > > > Project ERROR: Unknown module(s) in QT: qml > > Makefile:126: recipe for target 'sub-notification-lib-make_first' failed > > make[1]: *** [sub-notification-lib-make_first] Error 3 > > make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' > > Makefile:42: recipe for target 'sub-src-make_first-ordered' failed > > make: *** [sub-src-make_first-ordered] Error 2 > > > > When I run "qmake --version" I get the following: > > > > QMake version 3.0 > > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu > > > > I am new to Qt and so far have only built a few of the sample apps and > they > > seem to be working. Any ideas why I am getting this build error? > > > > Thank you! > > Aras > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin < > johan.thelin at pelagicore.com> > > wrote: > >> > >> Hi Aras, > >> > >> What executable are you missing? Neptune is meant to be run using the > >> Application Manager found here: > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . Could that be > >> what is missing? > >> > >> Best regards, > >> > >> Johan Thelin ??? ??? > >> M.Sc.E.E. > >> System Architect > >> > >> PELAGICORE | Experience Change > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > >> Mobile: +46 (0)700 900 250 > >> Skype: jothpelagicore > >> E-Mail: johan.thelin at pelagicore.com > >> > >> > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > wrote: > >> > Hello! > >> > I have started designing an interface for an industrial vehicle. I am > >> > planning to develop the UI in Qt and it will run using a Linux touch > >> > screen > >> > computer inside the cab. I have a lot to do and a long ways to go, so > I > >> > am > >> > hoping to find an open source project to collaborate with and build on > >> > top. > >> > > >> > In my search I came across Neptune project which looks promising. I > >> > cloned > >> > this repo and tried building it, but I have not been able to run it > >> > (missing > >> > executable). Will that project run on a 64bit ubuntu linux computer? > >> > > >> > Do you think Neptune would be a good project to look at as a starting > >> > point. > >> > The things I am mostly looking for are a set of UI components that are > >> > suitable for in vehicle use, integration with CAN, and I would like to > >> > have > >> > one view that is an interactive 3D model of the vehicle. > >> > > >> > Thank you for your great work with Qt and automotive. Please let me > know > >> > if > >> > I am on the right track here or not. Any advice or pointers would be > >> > appreciated, as I am still at very early stages of this project. > >> > > >> > Thank you! > >> > Aras > >> > > >> > ps: I just joined this list, so I apologize in advance if this is not > >> > the > >> > right place for my question. > >> > > >> > _______________________________________________ > >> > Automotive mailing list > >> > Automotive at qt-project.org > >> > http://lists.qt-project.org/mailman/listinfo/automotive > >> > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Fri Aug 5 22:34:43 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Fri, 5 Aug 2016 13:34:43 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: Please ignore my last email, it was clearly permission issues. I tried again doing a "sudo qmake" "sudo make" followed by "sudo make install" and this time build and install finished without error. Now that I have appman installed, what is next? How can I get appman to run Neptune? I could not find any documentation on how to use appman. Thanks again! On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam wrote: > I am developing on Ubuntu. I got through a number of build dependency > errors by following your suggestion and installing qt dev related packages. > I have not tried building the whole qt yet, but one of these days I am sure > I will. > > Should I follow [these instructions] > for building > the application mmanager? Currently I am getting this error when I run the > build command (*sudo* qmake && make && make install): > > make[2]: Entering directory > '/home/aras/Projects/qtapplicationmanager/src/manager' > install -m 755 -p ../../bin/appman /usr/local/bin/appman > install: cannot remove '/usr/local/bin/appman': Permission denied > Makefile:619: recipe for target 'install_target' failed > make[2]: [install_target] Error 1 (ignored) > strip /usr/local/bin/appman > strip: '/usr/local/bin/appman': No such file > Makefile:619: recipe for target 'install_target' failed > make[2]: [install_target] Error 1 (ignored) > mkdir: cannot create directory ?/usr/local/share/dbus-1?: Permission denied > Makefile:629: recipe for target 'install_dbusif' failed > make[2]: *** [install_dbusif] Error 1 > make[2]: Leaving directory > '/home/aras/Projects/qtapplicationmanager/src/manager' > Makefile:216: recipe for target 'sub-manager-install_subtargets' failed > make[1]: *** [sub-manager-install_subtargets] Error 2 > make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' > Makefile:66: recipe for target 'sub-src-install_subtargets-ordered' failed > make: *** [sub-src-install_subtargets-ordered] Error 2 > > Any ideas what I am missing now? > > Thanks! > Aras > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > wrote: > >> You need the qml or qtquick development package installed. What >> platform are you developing from? If you're on Linux, you should look >> for the qt5*-dev or -devel packages. >> >> One (more advanced) way around this is to build your own version of >> Qt, and then build Application Manager with the qmake-binary from your >> custom Qt build. Qt depends on QML, but also QtWayland. >> >> /J >> >> On 5 August 2016 at 14:23, Aras Balali Moghaddam >> wrote: >> > Thanks Johan, >> > Yes that was my first problem. I am trying to build the application >> manager >> > now and I get this error: >> > >> > Project ERROR: Unknown module(s) in QT: qml >> > Makefile:126: recipe for target 'sub-notification-lib-make_first' failed >> > make[1]: *** [sub-notification-lib-make_first] Error 3 >> > make[1]: Leaving directory >> '/home/aras/Projects/qtapplicationmanager/src' >> > Makefile:42: recipe for target 'sub-src-make_first-ordered' failed >> > make: *** [sub-src-make_first-ordered] Error 2 >> > >> > When I run "qmake --version" I get the following: >> > >> > QMake version 3.0 >> > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu >> > >> > I am new to Qt and so far have only built a few of the sample apps and >> they >> > seem to be working. Any ideas why I am getting this build error? >> > >> > Thank you! >> > Aras >> > >> > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin < >> johan.thelin at pelagicore.com> >> > wrote: >> >> >> >> Hi Aras, >> >> >> >> What executable are you missing? Neptune is meant to be run using the >> >> Application Manager found here: >> >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . Could that be >> >> what is missing? >> >> >> >> Best regards, >> >> >> >> Johan Thelin ??? ??? >> >> M.Sc.E.E. >> >> System Architect >> >> >> >> PELAGICORE | Experience Change >> >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden >> >> Mobile: +46 (0)700 900 250 >> >> Skype: jothpelagicore >> >> E-Mail: johan.thelin at pelagicore.com >> >> >> >> >> >> On 5 August 2016 at 12:37, Aras Balali Moghaddam >> wrote: >> >> > Hello! >> >> > I have started designing an interface for an industrial vehicle. I am >> >> > planning to develop the UI in Qt and it will run using a Linux touch >> >> > screen >> >> > computer inside the cab. I have a lot to do and a long ways to go, >> so I >> >> > am >> >> > hoping to find an open source project to collaborate with and build >> on >> >> > top. >> >> > >> >> > In my search I came across Neptune project which looks promising. I >> >> > cloned >> >> > this repo and tried building it, but I have not been able to run it >> >> > (missing >> >> > executable). Will that project run on a 64bit ubuntu linux computer? >> >> > >> >> > Do you think Neptune would be a good project to look at as a starting >> >> > point. >> >> > The things I am mostly looking for are a set of UI components that >> are >> >> > suitable for in vehicle use, integration with CAN, and I would like >> to >> >> > have >> >> > one view that is an interactive 3D model of the vehicle. >> >> > >> >> > Thank you for your great work with Qt and automotive. Please let me >> know >> >> > if >> >> > I am on the right track here or not. Any advice or pointers would be >> >> > appreciated, as I am still at very early stages of this project. >> >> > >> >> > Thank you! >> >> > Aras >> >> > >> >> > ps: I just joined this list, so I apologize in advance if this is not >> >> > the >> >> > right place for my question. >> >> > >> >> > _______________________________________________ >> >> > Automotive mailing list >> >> > Automotive at qt-project.org >> >> > http://lists.qt-project.org/mailman/listinfo/automotive >> >> > >> > >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Fri Aug 5 23:05:15 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Fri, 5 Aug 2016 14:05:15 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: It seems as soon as I make a bit of progress I get stuck with a new error. Now I am trying to run the neptune app using the following command: :seek: IODevice is not open [:0] [CRIT | am.system] ERROR: could not not seek to position 0 in the application database (/opt/am/apps.db): Permission denied Interesting thing is that the file /opt/am/apps.db does not exist. The folder "opt/am" does exist though. What should I try next? Thanks! Aras On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam wrote: > Please ignore my last email, it was clearly permission issues. I tried > again doing a "sudo qmake" "sudo make" followed by "sudo make install" and > this time build and install finished without error. > > Now that I have appman installed, what is next? How can I get appman to > run Neptune? I could not find any documentation on how to use appman. > > Thanks again! > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > wrote: > >> I am developing on Ubuntu. I got through a number of build dependency >> errors by following your suggestion and installing qt dev related packages. >> I have not tried building the whole qt yet, but one of these days I am sure >> I will. >> >> Should I follow [these instructions] >> for building >> the application mmanager? Currently I am getting this error when I run the >> build command (*sudo* qmake && make && make install): >> >> make[2]: Entering directory >> '/home/aras/Projects/qtapplicationmanager/src/manager' >> install -m 755 -p ../../bin/appman /usr/local/bin/appman >> install: cannot remove '/usr/local/bin/appman': Permission denied >> Makefile:619: recipe for target 'install_target' failed >> make[2]: [install_target] Error 1 (ignored) >> strip /usr/local/bin/appman >> strip: '/usr/local/bin/appman': No such file >> Makefile:619: recipe for target 'install_target' failed >> make[2]: [install_target] Error 1 (ignored) >> mkdir: cannot create directory ?/usr/local/share/dbus-1?: Permission >> denied >> Makefile:629: recipe for target 'install_dbusif' failed >> make[2]: *** [install_dbusif] Error 1 >> make[2]: Leaving directory >> '/home/aras/Projects/qtapplicationmanager/src/manager' >> Makefile:216: recipe for target 'sub-manager-install_subtargets' failed >> make[1]: *** [sub-manager-install_subtargets] Error 2 >> make[1]: Leaving directory '/home/aras/Projects/qtapplicationmanager/src' >> Makefile:66: recipe for target 'sub-src-install_subtargets-ordered' failed >> make: *** [sub-src-install_subtargets-ordered] Error 2 >> >> Any ideas what I am missing now? >> >> Thanks! >> Aras >> >> On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > wrote: >> >>> You need the qml or qtquick development package installed. What >>> platform are you developing from? If you're on Linux, you should look >>> for the qt5*-dev or -devel packages. >>> >>> One (more advanced) way around this is to build your own version of >>> Qt, and then build Application Manager with the qmake-binary from your >>> custom Qt build. Qt depends on QML, but also QtWayland. >>> >>> /J >>> >>> On 5 August 2016 at 14:23, Aras Balali Moghaddam >>> wrote: >>> > Thanks Johan, >>> > Yes that was my first problem. I am trying to build the application >>> manager >>> > now and I get this error: >>> > >>> > Project ERROR: Unknown module(s) in QT: qml >>> > Makefile:126: recipe for target 'sub-notification-lib-make_first' >>> failed >>> > make[1]: *** [sub-notification-lib-make_first] Error 3 >>> > make[1]: Leaving directory >>> '/home/aras/Projects/qtapplicationmanager/src' >>> > Makefile:42: recipe for target 'sub-src-make_first-ordered' failed >>> > make: *** [sub-src-make_first-ordered] Error 2 >>> > >>> > When I run "qmake --version" I get the following: >>> > >>> > QMake version 3.0 >>> > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu >>> > >>> > I am new to Qt and so far have only built a few of the sample apps and >>> they >>> > seem to be working. Any ideas why I am getting this build error? >>> > >>> > Thank you! >>> > Aras >>> > >>> > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin < >>> johan.thelin at pelagicore.com> >>> > wrote: >>> >> >>> >> Hi Aras, >>> >> >>> >> What executable are you missing? Neptune is meant to be run using the >>> >> Application Manager found here: >>> >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . Could that be >>> >> what is missing? >>> >> >>> >> Best regards, >>> >> >>> >> Johan Thelin ??? ??? >>> >> M.Sc.E.E. >>> >> System Architect >>> >> >>> >> PELAGICORE | Experience Change >>> >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden >>> >> Mobile: +46 (0)700 900 250 >>> >> Skype: jothpelagicore >>> >> E-Mail: johan.thelin at pelagicore.com >>> >> >>> >> >>> >> On 5 August 2016 at 12:37, Aras Balali Moghaddam >>> wrote: >>> >> > Hello! >>> >> > I have started designing an interface for an industrial vehicle. I >>> am >>> >> > planning to develop the UI in Qt and it will run using a Linux touch >>> >> > screen >>> >> > computer inside the cab. I have a lot to do and a long ways to go, >>> so I >>> >> > am >>> >> > hoping to find an open source project to collaborate with and build >>> on >>> >> > top. >>> >> > >>> >> > In my search I came across Neptune project which looks promising. I >>> >> > cloned >>> >> > this repo and tried building it, but I have not been able to run it >>> >> > (missing >>> >> > executable). Will that project run on a 64bit ubuntu linux computer? >>> >> > >>> >> > Do you think Neptune would be a good project to look at as a >>> starting >>> >> > point. >>> >> > The things I am mostly looking for are a set of UI components that >>> are >>> >> > suitable for in vehicle use, integration with CAN, and I would like >>> to >>> >> > have >>> >> > one view that is an interactive 3D model of the vehicle. >>> >> > >>> >> > Thank you for your great work with Qt and automotive. Please let me >>> know >>> >> > if >>> >> > I am on the right track here or not. Any advice or pointers would be >>> >> > appreciated, as I am still at very early stages of this project. >>> >> > >>> >> > Thank you! >>> >> > Aras >>> >> > >>> >> > ps: I just joined this list, so I apologize in advance if this is >>> not >>> >> > the >>> >> > right place for my question. >>> >> > >>> >> > _______________________________________________ >>> >> > Automotive mailing list >>> >> > Automotive at qt-project.org >>> >> > http://lists.qt-project.org/mailman/listinfo/automotive >>> >> > >>> > >>> > >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.holland at pelagicore.com Sat Aug 6 10:17:08 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Sat, 6 Aug 2016 10:17:08 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: Message-ID: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> Hi, the next thing is to execute the command line listed in the README.md ... or with the Application Manager $ appman --recreate-database -c $AM_CONFIG_FILE -c am-config.yaml where `AM_CONFIG_FILE` is the path to the Application Manager `config.yaml` file (inside the template-opt folder within the Application Manager delivery). The default `config.yaml` points to the `/opt/am` folder. If that folder does not exists, make sure to update the config.yaml settings to the corresponding paths. ... Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > It seems as soon as I make a bit of progress I get stuck with a new > error. Now I am trying to run the neptune app using the following command: > > :seek: IODevice is not > open [:0] > [CRIT | am.system] ERROR: could not not seek to position 0 in the > application database (/opt/am/apps.db): Permission denied I guess you copied the /termplate-opt folder to your /opt folder ? To make it readable from appman you need to add correct permissions to the folder. sudo chmod -R 774 /opt/am > > Interesting thing is that the file /opt/am/apps.db does not exist. The > folder "opt/am" does exist though. What should I try next? The apps.db is created by appman while scanning the application folders. Dominik > > Thanks! > Aras > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam > wrote: > > Please ignore my last email, it was clearly permission issues. I > tried again doing a "sudo qmake" "sudo make" followed by "sudo make > install" and this time build and install finished without error. > > Now that I have appman installed, what is next? How can I get appman > to run Neptune? I could not find any documentation on how to use appman. > > Thanks again! > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > > wrote: > > I am developing on Ubuntu. I got through a number of build > dependency errors by following your suggestion and installing qt > dev related packages. I have not tried building the whole qt > yet, but one of these days I am sure I will. > > Should I follow [these instructions] > for > building the application mmanager? Currently I am getting this > error when I run the build command (*sudo* qmake && make && make > install): > > make[2]: Entering directory > '/home/aras/Projects/qtapplicationmanager/src/manager' > install -m 755 -p ../../bin/appman /usr/local/bin/appman > install: cannot remove '/usr/local/bin/appman': Permission denied > Makefile:619: recipe for target 'install_target' failed > make[2]: [install_target] Error 1 (ignored) > strip /usr/local/bin/appman > strip: '/usr/local/bin/appman': No such file > Makefile:619: recipe for target 'install_target' failed > make[2]: [install_target] Error 1 (ignored) > mkdir: cannot create directory ?/usr/local/share/dbus-1?: > Permission denied > Makefile:629: recipe for target 'install_dbusif' failed > make[2]: *** [install_dbusif] Error 1 > make[2]: Leaving directory > '/home/aras/Projects/qtapplicationmanager/src/manager' > Makefile:216: recipe for target 'sub-manager-install_subtargets' > failed > make[1]: *** [sub-manager-install_subtargets] Error 2 > make[1]: Leaving directory > '/home/aras/Projects/qtapplicationmanager/src' > Makefile:66: recipe for target > 'sub-src-install_subtargets-ordered' failed > make: *** [sub-src-install_subtargets-ordered] Error 2 > > Any ideas what I am missing now? > > Thanks! > Aras > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > wrote: > > You need the qml or qtquick development package installed. What > platform are you developing from? If you're on Linux, you > should look > for the qt5*-dev or -devel packages. > > One (more advanced) way around this is to build your own > version of > Qt, and then build Application Manager with the qmake-binary > from your > custom Qt build. Qt depends on QML, but also QtWayland. > > /J > > On 5 August 2016 at 14:23, Aras Balali Moghaddam > > wrote: > > Thanks Johan, > > Yes that was my first problem. I am trying to build the > application manager > > now and I get this error: > > > > Project ERROR: Unknown module(s) in QT: qml > > Makefile:126: recipe for target > 'sub-notification-lib-make_first' failed > > make[1]: *** [sub-notification-lib-make_first] Error 3 > > make[1]: Leaving directory > '/home/aras/Projects/qtapplicationmanager/src' > > Makefile:42: recipe for target > 'sub-src-make_first-ordered' failed > > make: *** [sub-src-make_first-ordered] Error 2 > > > > When I run "qmake --version" I get the following: > > > > QMake version 3.0 > > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu > > > > I am new to Qt and so far have only built a few of the > sample apps and they > > seem to be working. Any ideas why I am getting this build > error? > > > > Thank you! > > Aras > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin > > > > wrote: > >> > >> Hi Aras, > >> > >> What executable are you missing? Neptune is meant to be > run using the > >> Application Manager found here: > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . > Could that be > >> what is missing? > >> > >> Best regards, > >> > >> Johan Thelin ??? ??? > >> M.Sc.E.E. > >> System Architect > >> > >> PELAGICORE | Experience Change > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > >> Mobile: +46 (0)700 900 250 > > >> Skype: jothpelagicore > >> E-Mail: johan.thelin at pelagicore.com > > >> > >> > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > > wrote: > >> > Hello! > >> > I have started designing an interface for an industrial > vehicle. I am > >> > planning to develop the UI in Qt and it will run using > a Linux touch > >> > screen > >> > computer inside the cab. I have a lot to do and a long > ways to go, so I > >> > am > >> > hoping to find an open source project to collaborate > with and build on > >> > top. > >> > > >> > In my search I came across Neptune project which looks > promising. I > >> > cloned > >> > this repo and tried building it, but I have not been > able to run it > >> > (missing > >> > executable). Will that project run on a 64bit ubuntu > linux computer? > >> > > >> > Do you think Neptune would be a good project to look at > as a starting > >> > point. > >> > The things I am mostly looking for are a set of UI > components that are > >> > suitable for in vehicle use, integration with CAN, and > I would like to > >> > have > >> > one view that is an interactive 3D model of the vehicle. > >> > > >> > Thank you for your great work with Qt and automotive. > Please let me know > >> > if > >> > I am on the right track here or not. Any advice or > pointers would be > >> > appreciated, as I am still at very early stages of this > project. > >> > > >> > Thank you! > >> > Aras > >> > > >> > ps: I just joined this list, so I apologize in advance > if this is not > >> > the > >> > right place for my question. > >> > > >> > _______________________________________________ > >> > Automotive mailing list > >> > Automotive at qt-project.org > > >> > http://lists.qt-project.org/mailman/listinfo/automotive > >> > > > > > > > > > > > > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > From arasbm at gmail.com Mon Aug 8 00:49:49 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Sun, 7 Aug 2016 15:49:49 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> Message-ID: I got further by changing the permissions for the /opt/am folder as you suggested. Now I am getting two new errors. Here is the command I am running and the output: $ sudo appman --recreate-database -c /opt/am/config.yaml -c am-config.yaml [DBG | am.system] Found Applications: [ [:0] [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" ) [:0] [DBG | am.system] * APP: "com.pelagicore.browser" ( "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" ) [:0] [DBG | am.system] * APP: "com.pelagicore.movies" ( "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" ) [:0] [DBG | am.system] * APP: "com.pelagicore.music" ( "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" ) [:0] [DBG | am.system] ] [:0] [CRIT | am.system] ERROR: could not connect to D-Bus (): Failed to connect to socket /tmp/dbus-M4yXecMpU8: Connection refused [:0] [WARN | default] QQmlApplicationEngine failed to load component [:0] [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 Type Display unavailable file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type ClimateBar unavailable file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 Type TemperatureLevel unavailable file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 Type ClimateService unavailable file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed [:0] [CRIT | am.system] ERROR: Qml scene does not have a root object Feels like I am so close to getting this thing running. Any idea what else I am missing? Thank you! Aras On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland < dominik.holland at pelagicore.com> wrote: > Hi, > > the next thing is to execute the command line listed in the README.md > > ... > or with the Application Manager > > $ appman --recreate-database -c $AM_CONFIG_FILE -c am-config.yaml > > where `AM_CONFIG_FILE` is the path to the Application Manager > `config.yaml` file (inside the template-opt folder within the > Application Manager delivery). The default `config.yaml` points to the > `/opt/am` folder. If that folder does not exists, make sure to update > the config.yaml settings to the corresponding paths. > ... > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > > It seems as soon as I make a bit of progress I get stuck with a new > > error. Now I am trying to run the neptune app using the following > command: > > > > :seek: IODevice is not > > open [:0] > > [CRIT | am.system] ERROR: could not not seek to position 0 in the > > application database (/opt/am/apps.db): Permission denied > > I guess you copied the /termplate-opt folder to your /opt folder ? > To make it readable from appman you need to add correct permissions to > the folder. > > sudo chmod -R 774 /opt/am > > > > > Interesting thing is that the file /opt/am/apps.db does not exist. The > > folder "opt/am" does exist though. What should I try next? > > The apps.db is created by appman while scanning the application folders. > > Dominik > > > > > Thanks! > > Aras > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam > > wrote: > > > > Please ignore my last email, it was clearly permission issues. I > > tried again doing a "sudo qmake" "sudo make" followed by "sudo make > > install" and this time build and install finished without error. > > > > Now that I have appman installed, what is next? How can I get appman > > to run Neptune? I could not find any documentation on how to use > appman. > > > > Thanks again! > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > > > wrote: > > > > I am developing on Ubuntu. I got through a number of build > > dependency errors by following your suggestion and installing qt > > dev related packages. I have not tried building the whole qt > > yet, but one of these days I am sure I will. > > > > Should I follow [these instructions] > > for > > building the application mmanager? Currently I am getting this > > error when I run the build command (*sudo* qmake && make && make > > install): > > > > make[2]: Entering directory > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > install -m 755 -p ../../bin/appman /usr/local/bin/appman > > install: cannot remove '/usr/local/bin/appman': Permission denied > > Makefile:619: recipe for target 'install_target' failed > > make[2]: [install_target] Error 1 (ignored) > > strip /usr/local/bin/appman > > strip: '/usr/local/bin/appman': No such file > > Makefile:619: recipe for target 'install_target' failed > > make[2]: [install_target] Error 1 (ignored) > > mkdir: cannot create directory ?/usr/local/share/dbus-1?: > > Permission denied > > Makefile:629: recipe for target 'install_dbusif' failed > > make[2]: *** [install_dbusif] Error 1 > > make[2]: Leaving directory > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > Makefile:216: recipe for target 'sub-manager-install_subtargets' > > failed > > make[1]: *** [sub-manager-install_subtargets] Error 2 > > make[1]: Leaving directory > > '/home/aras/Projects/qtapplicationmanager/src' > > Makefile:66: recipe for target > > 'sub-src-install_subtargets-ordered' failed > > make: *** [sub-src-install_subtargets-ordered] Error 2 > > > > Any ideas what I am missing now? > > > > Thanks! > > Aras > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > > > wrote: > > > > You need the qml or qtquick development package installed. > What > > platform are you developing from? If you're on Linux, you > > should look > > for the qt5*-dev or -devel packages. > > > > One (more advanced) way around this is to build your own > > version of > > Qt, and then build Application Manager with the qmake-binary > > from your > > custom Qt build. Qt depends on QML, but also QtWayland. > > > > /J > > > > On 5 August 2016 at 14:23, Aras Balali Moghaddam > > > wrote: > > > Thanks Johan, > > > Yes that was my first problem. I am trying to build the > > application manager > > > now and I get this error: > > > > > > Project ERROR: Unknown module(s) in QT: qml > > > Makefile:126: recipe for target > > 'sub-notification-lib-make_first' failed > > > make[1]: *** [sub-notification-lib-make_first] Error 3 > > > make[1]: Leaving directory > > '/home/aras/Projects/qtapplicationmanager/src' > > > Makefile:42: recipe for target > > 'sub-src-make_first-ordered' failed > > > make: *** [sub-src-make_first-ordered] Error 2 > > > > > > When I run "qmake --version" I get the following: > > > > > > QMake version 3.0 > > > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu > > > > > > I am new to Qt and so far have only built a few of the > > sample apps and they > > > seem to be working. Any ideas why I am getting this build > > error? > > > > > > Thank you! > > > Aras > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin > > > > > > > wrote: > > >> > > >> Hi Aras, > > >> > > >> What executable are you missing? Neptune is meant to be > > run using the > > >> Application Manager found here: > > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . > > Could that be > > >> what is missing? > > >> > > >> Best regards, > > >> > > >> Johan Thelin ??? ??? > > >> M.Sc.E.E. > > >> System Architect > > >> > > >> PELAGICORE | Experience Change > > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > > >> Mobile: +46 (0)700 900 250 > > > > >> Skype: jothpelagicore > > >> E-Mail: johan.thelin at pelagicore.com > > > > >> > > >> > > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > > > wrote: > > >> > Hello! > > >> > I have started designing an interface for an industrial > > vehicle. I am > > >> > planning to develop the UI in Qt and it will run using > > a Linux touch > > >> > screen > > >> > computer inside the cab. I have a lot to do and a long > > ways to go, so I > > >> > am > > >> > hoping to find an open source project to collaborate > > with and build on > > >> > top. > > >> > > > >> > In my search I came across Neptune project which looks > > promising. I > > >> > cloned > > >> > this repo and tried building it, but I have not been > > able to run it > > >> > (missing > > >> > executable). Will that project run on a 64bit ubuntu > > linux computer? > > >> > > > >> > Do you think Neptune would be a good project to look at > > as a starting > > >> > point. > > >> > The things I am mostly looking for are a set of UI > > components that are > > >> > suitable for in vehicle use, integration with CAN, and > > I would like to > > >> > have > > >> > one view that is an interactive 3D model of the vehicle. > > >> > > > >> > Thank you for your great work with Qt and automotive. > > Please let me know > > >> > if > > >> > I am on the right track here or not. Any advice or > > pointers would be > > >> > appreciated, as I am still at very early stages of this > > project. > > >> > > > >> > Thank you! > > >> > Aras > > >> > > > >> > ps: I just joined this list, so I apologize in advance > > if this is not > > >> > the > > >> > right place for my question. > > >> > > > >> > _______________________________________________ > > >> > Automotive mailing list > > >> > Automotive at qt-project.org > > > > >> > http://lists.qt-project.org/mailman/listinfo/automotive > > >> > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Automotive mailing list > > Automotive at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/automotive > > > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Mon Aug 8 01:56:42 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Sun, 7 Aug 2016 16:56:42 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> Message-ID: I suspect the root of my current problem is this error: ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed I did some googling but could not find anything helpful. How can I install the QtIvi module? thanks! On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam wrote: > I got further by changing the permissions for the /opt/am folder as you > suggested. Now I am getting two new errors. Here is the command I am > running and the output: > > $ sudo appman --recreate-database -c /opt/am/config.yaml -c am-config.yaml > [DBG | am.system] Found Applications: [ > [:0] > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.browser" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.movies" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.music" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > ) > [:0] > [DBG | am.system] ] > [:0] > [CRIT | am.system] ERROR: could not connect to D-Bus (): Failed to connect > to socket /tmp/dbus-M4yXecMpU8: Connection refused > [:0] > [WARN | default] QQmlApplicationEngine failed to load > component [:0] > [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 Type > Display unavailable > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > ClimateBar unavailable > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 > Type TemperatureLevel unavailable > file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 > Type ClimateService unavailable > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 > module "QtIvi.VehicleFunctions" is not installed > > [:0] > [CRIT | am.system] ERROR: Qml scene does not have a root object > > Feels like I am so close to getting this thing running. Any idea what else > I am missing? > > Thank you! > Aras > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland < > dominik.holland at pelagicore.com> wrote: > >> Hi, >> >> the next thing is to execute the command line listed in the README.md >> >> ... >> or with the Application Manager >> >> $ appman --recreate-database -c $AM_CONFIG_FILE -c am-config.yaml >> >> where `AM_CONFIG_FILE` is the path to the Application Manager >> `config.yaml` file (inside the template-opt folder within the >> Application Manager delivery). The default `config.yaml` points to the >> `/opt/am` folder. If that folder does not exists, make sure to update >> the config.yaml settings to the corresponding paths. >> ... >> >> Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: >> > It seems as soon as I make a bit of progress I get stuck with a new >> > error. Now I am trying to run the neptune app using the following >> command: >> > >> > :seek: IODevice is not >> > open [:0] >> > [CRIT | am.system] ERROR: could not not seek to position 0 in the >> > application database (/opt/am/apps.db): Permission denied >> >> I guess you copied the /termplate-opt folder to your /opt folder ? >> To make it readable from appman you need to add correct permissions to >> the folder. >> >> sudo chmod -R 774 /opt/am >> >> > >> > Interesting thing is that the file /opt/am/apps.db does not exist. The >> > folder "opt/am" does exist though. What should I try next? >> >> The apps.db is created by appman while scanning the application folders. >> >> Dominik >> >> > >> > Thanks! >> > Aras >> > >> > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam > > > wrote: >> > >> > Please ignore my last email, it was clearly permission issues. I >> > tried again doing a "sudo qmake" "sudo make" followed by "sudo make >> > install" and this time build and install finished without error. >> > >> > Now that I have appman installed, what is next? How can I get appman >> > to run Neptune? I could not find any documentation on how to use >> appman. >> > >> > Thanks again! >> > >> > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam >> > > wrote: >> > >> > I am developing on Ubuntu. I got through a number of build >> > dependency errors by following your suggestion and installing qt >> > dev related packages. I have not tried building the whole qt >> > yet, but one of these days I am sure I will. >> > >> > Should I follow [these instructions] >> > for >> > building the application mmanager? Currently I am getting this >> > error when I run the build command (*sudo* qmake && make && make >> > install): >> > >> > make[2]: Entering directory >> > '/home/aras/Projects/qtapplicationmanager/src/manager' >> > install -m 755 -p ../../bin/appman /usr/local/bin/appman >> > install: cannot remove '/usr/local/bin/appman': Permission >> denied >> > Makefile:619: recipe for target 'install_target' failed >> > make[2]: [install_target] Error 1 (ignored) >> > strip /usr/local/bin/appman >> > strip: '/usr/local/bin/appman': No such file >> > Makefile:619: recipe for target 'install_target' failed >> > make[2]: [install_target] Error 1 (ignored) >> > mkdir: cannot create directory ?/usr/local/share/dbus-1?: >> > Permission denied >> > Makefile:629: recipe for target 'install_dbusif' failed >> > make[2]: *** [install_dbusif] Error 1 >> > make[2]: Leaving directory >> > '/home/aras/Projects/qtapplicationmanager/src/manager' >> > Makefile:216: recipe for target 'sub-manager-install_subtarget >> s' >> > failed >> > make[1]: *** [sub-manager-install_subtargets] Error 2 >> > make[1]: Leaving directory >> > '/home/aras/Projects/qtapplicationmanager/src' >> > Makefile:66: recipe for target >> > 'sub-src-install_subtargets-ordered' failed >> > make: *** [sub-src-install_subtargets-ordered] Error 2 >> > >> > Any ideas what I am missing now? >> > >> > Thanks! >> > Aras >> > >> > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin >> > > > > wrote: >> > >> > You need the qml or qtquick development package installed. >> What >> > platform are you developing from? If you're on Linux, you >> > should look >> > for the qt5*-dev or -devel packages. >> > >> > One (more advanced) way around this is to build your own >> > version of >> > Qt, and then build Application Manager with the qmake-binary >> > from your >> > custom Qt build. Qt depends on QML, but also QtWayland. >> > >> > /J >> > >> > On 5 August 2016 at 14:23, Aras Balali Moghaddam >> > > wrote: >> > > Thanks Johan, >> > > Yes that was my first problem. I am trying to build the >> > application manager >> > > now and I get this error: >> > > >> > > Project ERROR: Unknown module(s) in QT: qml >> > > Makefile:126: recipe for target >> > 'sub-notification-lib-make_first' failed >> > > make[1]: *** [sub-notification-lib-make_first] Error 3 >> > > make[1]: Leaving directory >> > '/home/aras/Projects/qtapplicationmanager/src' >> > > Makefile:42: recipe for target >> > 'sub-src-make_first-ordered' failed >> > > make: *** [sub-src-make_first-ordered] Error 2 >> > > >> > > When I run "qmake --version" I get the following: >> > > >> > > QMake version 3.0 >> > > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu >> > > >> > > I am new to Qt and so far have only built a few of the >> > sample apps and they >> > > seem to be working. Any ideas why I am getting this build >> > error? >> > > >> > > Thank you! >> > > Aras >> > > >> > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin >> > > > > >> > > wrote: >> > >> >> > >> Hi Aras, >> > >> >> > >> What executable are you missing? Neptune is meant to be >> > run using the >> > >> Application Manager found here: >> > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ . >> > Could that be >> > >> what is missing? >> > >> >> > >> Best regards, >> > >> >> > >> Johan Thelin ??? ??? >> > >> M.Sc.E.E. >> > >> System Architect >> > >> >> > >> PELAGICORE | Experience Change >> > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden >> > >> Mobile: +46 (0)700 900 250 >> > >> > >> Skype: jothpelagicore >> > >> E-Mail: johan.thelin at pelagicore.com >> > >> > >> >> > >> >> > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam >> > > wrote: >> > >> > Hello! >> > >> > I have started designing an interface for an industrial >> > vehicle. I am >> > >> > planning to develop the UI in Qt and it will run using >> > a Linux touch >> > >> > screen >> > >> > computer inside the cab. I have a lot to do and a long >> > ways to go, so I >> > >> > am >> > >> > hoping to find an open source project to collaborate >> > with and build on >> > >> > top. >> > >> > >> > >> > In my search I came across Neptune project which looks >> > promising. I >> > >> > cloned >> > >> > this repo and tried building it, but I have not been >> > able to run it >> > >> > (missing >> > >> > executable). Will that project run on a 64bit ubuntu >> > linux computer? >> > >> > >> > >> > Do you think Neptune would be a good project to look at >> > as a starting >> > >> > point. >> > >> > The things I am mostly looking for are a set of UI >> > components that are >> > >> > suitable for in vehicle use, integration with CAN, and >> > I would like to >> > >> > have >> > >> > one view that is an interactive 3D model of the >> vehicle. >> > >> > >> > >> > Thank you for your great work with Qt and automotive. >> > Please let me know >> > >> > if >> > >> > I am on the right track here or not. Any advice or >> > pointers would be >> > >> > appreciated, as I am still at very early stages of this >> > project. >> > >> > >> > >> > Thank you! >> > >> > Aras >> > >> > >> > >> > ps: I just joined this list, so I apologize in advance >> > if this is not >> > >> > the >> > >> > right place for my question. >> > >> > >> > >> > _______________________________________________ >> > >> > Automotive mailing list >> > >> > Automotive at qt-project.org >> > >> > >> > http://lists.qt-project.org/ma >> ilman/listinfo/automotive >> > >> > >> > > >> > > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > Automotive mailing list >> > Automotive at qt-project.org >> > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> _______________________________________________ >> Automotive mailing list >> Automotive at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/automotive >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.kampas at jolla.com Mon Aug 8 08:14:25 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Mon, 8 Aug 2016 06:14:25 +0000 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> BUMP.. no idea? :) ________________________________ Sent: Friday, August 05, 2016 6:57 AM To: automotive at qt-project.org Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? Hi, What was the issue with just ReloadDocument that led you to introduce RecreateView? Destroying the root object can left the view in a messy state? BR, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.holland at pelagicore.com Mon Aug 8 09:34:48 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Mon, 8 Aug 2016 09:34:48 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> Message-ID: <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Clone http://code.qt.io/cgit/qt/qtivi.git/ and build/install it with qmake make make install Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > I suspect the root of my current problem is this error: > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed > > I did some googling but could not find anything helpful. How can I > install the QtIvi module? > > thanks! > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam > wrote: > > I got further by changing the permissions for the /opt/am folder as > you suggested. Now I am getting two new errors. Here is the command > I am running and the output: > > $ sudo appman --recreate-database -c /opt/am/config.yaml -c > am-config.yaml > [DBG | am.system] Found Applications: > [ [:0] > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.browser" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.movies" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.music" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > ) > [:0] > [DBG | am.system] > ] > [:0] > [CRIT | am.system] ERROR: could not connect to D-Bus (): Failed to > connect to socket /tmp/dbus-M4yXecMpU8: Connection > refused > [:0] > [WARN | default] QQmlApplicationEngine failed to load > component [:0] > [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 > Type Display unavailable > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > ClimateBar unavailable > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 Type > TemperatureLevel unavailable > file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 > Type ClimateService unavailable > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 > module "QtIvi.VehicleFunctions" is not installed > > [:0] > [CRIT | am.system] ERROR: Qml scene does not have a root object > > Feels like I am so close to getting this thing running. Any idea > what else I am missing? > > Thank you! > Aras > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > wrote: > > Hi, > > the next thing is to execute the command line listed in the > README.md > > ... > or with the Application Manager > > $ appman --recreate-database -c $AM_CONFIG_FILE -c > am-config.yaml > > where `AM_CONFIG_FILE` is the path to the Application Manager > `config.yaml` file (inside the template-opt folder within the > Application Manager delivery). The default `config.yaml` points > to the > `/opt/am` folder. If that folder does not exists, make sure to > update > the config.yaml settings to the corresponding paths. > ... > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > > It seems as soon as I make a bit of progress I get stuck with a new > > error. Now I am trying to run the neptune app using the following command: > > > > :seek: IODevice is not > > open [:0] > > [CRIT | am.system] ERROR: could not not seek to position 0 in the > > application database (/opt/am/apps.db): Permission denied > > I guess you copied the /termplate-opt folder to your /opt folder ? > To make it readable from appman you need to add correct > permissions to > the folder. > > sudo chmod -R 774 /opt/am > > > > > Interesting thing is that the file /opt/am/apps.db does not exist. The > > folder "opt/am" does exist though. What should I try next? > > The apps.db is created by appman while scanning the application > folders. > > Dominik > > > > > Thanks! > > Aras > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam > > >> wrote: > > > > Please ignore my last email, it was clearly permission issues. I > > tried again doing a "sudo qmake" "sudo make" followed by "sudo make > > install" and this time build and install finished without error. > > > > Now that I have appman installed, what is next? How can I get appman > > to run Neptune? I could not find any documentation on how to use appman. > > > > Thanks again! > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > > > >> wrote: > > > > I am developing on Ubuntu. I got through a number of build > > dependency errors by following your suggestion and installing qt > > dev related packages. I have not tried building the whole qt > > yet, but one of these days I am sure I will. > > > > Should I follow [these instructions] > > > >for > > building the application mmanager? Currently I am getting this > > error when I run the build command (*sudo* qmake && > make && make > > install): > > > > make[2]: Entering directory > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > install -m 755 -p ../../bin/appman /usr/local/bin/appman > > install: cannot remove '/usr/local/bin/appman': > Permission denied > > Makefile:619: recipe for target 'install_target' failed > > make[2]: [install_target] Error 1 (ignored) > > strip /usr/local/bin/appman > > strip: '/usr/local/bin/appman': No such file > > Makefile:619: recipe for target 'install_target' failed > > make[2]: [install_target] Error 1 (ignored) > > mkdir: cannot create directory ?/usr/local/share/dbus-1?: > > Permission denied > > Makefile:629: recipe for target 'install_dbusif' failed > > make[2]: *** [install_dbusif] Error 1 > > make[2]: Leaving directory > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > Makefile:216: recipe for target > 'sub-manager-install_subtargets' > > failed > > make[1]: *** [sub-manager-install_subtargets] Error 2 > > make[1]: Leaving directory > > '/home/aras/Projects/qtapplicationmanager/src' > > Makefile:66: recipe for target > > 'sub-src-install_subtargets-ordered' failed > > make: *** [sub-src-install_subtargets-ordered] Error 2 > > > > Any ideas what I am missing now? > > > > Thanks! > > Aras > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > > > >> wrote: > > > > You need the qml or qtquick development package installed. What > > platform are you developing from? If you're on Linux, you > > should look > > for the qt5*-dev or -devel packages. > > > > One (more advanced) way around this is to build your own > > version of > > Qt, and then build Application Manager with the qmake-binary > > from your > > custom Qt build. Qt depends on QML, but also QtWayland. > > > > /J > > > > On 5 August 2016 at 14:23, Aras Balali Moghaddam > > > >> wrote: > > > Thanks Johan, > > > Yes that was my first problem. I am trying to > build the > > application manager > > > now and I get this error: > > > > > > Project ERROR: Unknown module(s) in QT: qml > > > Makefile:126: recipe for target > > 'sub-notification-lib-make_first' failed > > > make[1]: *** [sub-notification-lib-make_first] > Error 3 > > > make[1]: Leaving directory > > '/home/aras/Projects/qtapplicationmanager/src' > > > Makefile:42: recipe for target > > 'sub-src-make_first-ordered' failed > > > make: *** [sub-src-make_first-ordered] Error 2 > > > > > > When I run "qmake --version" I get the following: > > > > > > QMake version 3.0 > > > Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu > > > > > > I am new to Qt and so far have only built a few > of the > > sample apps and they > > > seem to be working. Any ideas why I am getting > this build > > error? > > > > > > Thank you! > > > Aras > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin > > > > >> > > > wrote: > > >> > > >> Hi Aras, > > >> > > >> What executable are you missing? Neptune is meant to be > > run using the > > >> Application Manager found here: > > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ > . > > Could that be > > >> what is missing? > > >> > > >> Best regards, > > >> > > >> Johan Thelin ??? ??? > > >> M.Sc.E.E. > > >> System Architect > > >> > > >> PELAGICORE | Experience Change > > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > > >> Mobile: +46 (0)700 900 250 > > > > >> Skype: jothpelagicore > > >> E-Mail: johan.thelin at pelagicore.com > > > > > > >> > > >> > > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > > > >> wrote: > > >> > Hello! > > >> > I have started designing an interface for an > industrial > > vehicle. I am > > >> > planning to develop the UI in Qt and it will > run using > > a Linux touch > > >> > screen > > >> > computer inside the cab. I have a lot to do > and a long > > ways to go, so I > > >> > am > > >> > hoping to find an open source project to > collaborate > > with and build on > > >> > top. > > >> > > > >> > In my search I came across Neptune project > which looks > > promising. I > > >> > cloned > > >> > this repo and tried building it, but I have > not been > > able to run it > > >> > (missing > > >> > executable). Will that project run on a 64bit > ubuntu > > linux computer? > > >> > > > >> > Do you think Neptune would be a good project > to look at > > as a starting > > >> > point. > > >> > The things I am mostly looking for are a set > of UI > > components that are > > >> > suitable for in vehicle use, integration with > CAN, and > > I would like to > > >> > have > > >> > one view that is an interactive 3D model of > the vehicle. > > >> > > > >> > Thank you for your great work with Qt and > automotive. > > Please let me know > > >> > if > > >> > I am on the right track here or not. Any > advice or > > pointers would be > > >> > appreciated, as I am still at very early > stages of this > > project. > > >> > > > >> > Thank you! > > >> > Aras > > >> > > > >> > ps: I just joined this list, so I apologize > in advance > > if this is not > > >> > the > > >> > right place for my question. > > >> > > > >> > _______________________________________________ > > >> > Automotive mailing list > > >> > Automotive at qt-project.org > > > > > > >> > > http://lists.qt-project.org/mailman/listinfo/automotive > > > >> > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Automotive mailing list > > Automotive at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > > > > From dominik.holland at pelagicore.com Mon Aug 8 09:55:46 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Mon, 8 Aug 2016 09:55:46 +0200 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> Message-ID: Hi, Am 08.08.16 um 08:14 schrieb Martin Kampas: > BUMP.. no idea? :) > > ------------------------------------------------------------------------ > *Sent:* Friday, August 05, 2016 6:57 AM > *To:* automotive at qt-project.org > *Subject:* [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode > really needed? > > Hi, > > What was the issue with just ReloadDocument that led you to introduce > RecreateView? Destroying the root object can left the view in a messy state? i wouldn't call it a messy state. But if i remember correctly, there were some issues with just reloading the document. The components imported through qml modules are cached and by Recreating the view, the engine will be destroyed and you can make sure that really everything is recreated. I'm not sure whether this is still the case in 5.7, i think we introduced the option with 5.1 Dominik > > BR, > Martin > > > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > From martin.kampas at jolla.com Mon Aug 8 11:17:25 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Mon, 8 Aug 2016 09:17:25 +0000 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com>, Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F3719F@ORD2MBX01B.mex05.mlsrvr.com> Hi Dominik, Yes, due to the caching done by QQmlEngine, no change would be reflected in the view after just unsetting and setting the source again. For this purpose there is the QQmlEngine::clearComponentCache() API available and it is already used on two places in LiveNodeEngine::recreateView() [1] (It's use here is redundant though, since the view/engine is already recreated.) This API has been available already since Qt 4 [2] and since Qt 5.0 a potentially more usefull QQmlEngine::trimComponentCache() exists [3] which only clears unused entries. The effect of trimComponentCache() after clearing the source with view->setSource(QUrl()) is basically the same as of clearComponentCache() so it needs a bit more sophisticated approach to really profit from using it. When the QML component being depeloped needs a specialized environment (context properties etc.), recreating view this way cannot be used at all. Removing the RecreateView mode would allow for more strightforward code. Trying to eliminate memory leaks in LiveNodeEngine is not really easy currently. I propose to 1) remove the RecreateView mode and only rely on clear/trimComponentCache() (check its effect here [4]) 2) require to set QQmlEngine and make setting QQuickView optional (useless when the QML component instantiates QQuickWindow) 3) only after that fix memory leaks in LiveNodeEngine :) If you agree I will contribute patches for this. BR, Martin [1] https://codereview.qt-project.org/gitweb?p=qt-apps/qmllive.git;a=blob;f=src/livenodeengine.cpp;h=dbb5509;hb=HEAD#l246 [2] http://doc.qt.io/qt-4.8/qdeclarativeengine.html#clearComponentCache [3] https://bugreports.qt.io/browse/QTBUG-25653 [4] http://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/qml/qml/qqmltypeloader.cpp?h=dev#n1958 From juergen.bocklage-ryannel at pelagicore.com Mon Aug 8 12:40:24 2016 From: juergen.bocklage-ryannel at pelagicore.com (Juergen Ryannel) Date: Mon, 8 Aug 2016 12:40:24 +0200 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> Message-ID: Hi, We had some issues where content (e.g. QML, images, ?) where cached and survived a clearComponentCache call. So we introduced RecreateView where we completely destroy the view. This core was written during Qt 4.8 times and then updated for Qt5. Ideally we would not use a QQuickView at all and just depend on a QQmlEngine. Additionally we would like to create the out-of-process option, where we control a remote process. This makes it easier to survive crashes from C++ plugins. / jryannel > On 08.08.2016, at 08:14, Martin Kampas wrote: > > BUMP.. no idea? :) > > Sent: Friday, August 05, 2016 6:57 AM > To: automotive at qt-project.org > Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? > > Hi, > > What was the issue with just ReloadDocument that led you to introduce RecreateView? Destroying the root object can left the view in a messy state? > > BR, > Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Mon Aug 8 17:46:44 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Mon, 8 Aug 2016 08:46:44 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: I think I am hitting all the possible errors. I tried building qtivi as you suggested and I get this error after running "make" In file included from ../../../include/QtIviCore/qivipropertyattribute.h:1:0, from ../../../include/QtIviCore/QIviPropertyAttribute:1, from ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, from ../../../include/QtIviCore/qiviproperty.h:1, from ../../../include/QtIviCore/QIviProperty:1, from ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/qiviclimatecontrol.h:46, from ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, from ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, from mainwindow.h:57, from main.cpp:53: ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: In member function ?void QIviPropertyAttribute::registerConverter()?: ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:154:73: *error*: ?>>? should be ?> >? within a nested template argument list if (!QMetaType::hasRegisteredComparators>()) ^ ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:155:67: *error*: ?>>? should be ?> >? within a nested template argument list QMetaType::registerComparators>(); ^ Makefile:442: recipe for target '.obj/main.o' failed make[3]: *** [.obj/main.o] Error 1 make[3]: Leaving directory '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' Makefile:44: recipe for target 'sub-climate_widget-make_first' failed make[2]: *** [sub-climate_widget-make_first] Error 2 I cloned the repo using "git clone git://code.qt.io/qt/qtivi.git", did I somehow get the wrong code or am I missing something else? On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland < dominik.holland at pelagicore.com> wrote: > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > and build/install it with > > qmake > make > make install > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > I suspect the root of my current problem is this error: > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed > > > > I did some googling but could not find anything helpful. How can I > > install the QtIvi module? > > > > thanks! > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam > > wrote: > > > > I got further by changing the permissions for the /opt/am folder as > > you suggested. Now I am getting two new errors. Here is the command > > I am running and the output: > > > > $ sudo appman --recreate-database -c /opt/am/config.yaml -c > > am-config.yaml > > [DBG | am.system] Found Applications: > > [ > [:0] > > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > ) > > [:0] > > [DBG | am.system] * APP: "com.pelagicore.browser" ( > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > ) > > [:0] > > [DBG | am.system] * APP: "com.pelagicore.movies" ( > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > ) > > [:0] > > [DBG | am.system] * APP: "com.pelagicore.music" ( > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > ) > > [:0] > > [DBG | am.system] > > ] > > [:0] > > [CRIT | am.system] ERROR: could not connect to D-Bus (): Failed to > > connect to socket /tmp/dbus-M4yXecMpU8: Connection > > refused > > [:0] > > [WARN | default] QQmlApplicationEngine failed to load > > component [:0] > > [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 > > Type Display unavailable > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > > ClimateBar unavailable > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 > Type > > TemperatureLevel unavailable > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > TemperatureLevel.qml:-1 > > Type ClimateService unavailable > > file:///home/aras/Projects/neptune-ui/imports/shared/ > service/climate/ClimateService.qml:34 > > module "QtIvi.VehicleFunctions" is not installed > > > > [:0] > > [CRIT | am.system] ERROR: Qml scene does not have a root object > > > > Feels like I am so close to getting this thing running. Any idea > > what else I am missing? > > > > Thank you! > > Aras > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > wrote: > > > > Hi, > > > > the next thing is to execute the command line listed in the > > README.md > > > > ... > > or with the Application Manager > > > > $ appman --recreate-database -c $AM_CONFIG_FILE -c > > am-config.yaml > > > > where `AM_CONFIG_FILE` is the path to the Application Manager > > `config.yaml` file (inside the template-opt folder within the > > Application Manager delivery). The default `config.yaml` points > > to the > > `/opt/am` folder. If that folder does not exists, make sure to > > update > > the config.yaml settings to the corresponding paths. > > ... > > > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > > > It seems as soon as I make a bit of progress I get stuck with > a new > > > error. Now I am trying to run the neptune app using the > following command: > > > > > > :seek: IODevice is not > > > open [:0] > > > [CRIT | am.system] ERROR: could not not seek to position 0 in > the > > > application database (/opt/am/apps.db): Permission denied > > > > I guess you copied the /termplate-opt folder to your /opt folder > ? > > To make it readable from appman you need to add correct > > permissions to > > the folder. > > > > sudo chmod -R 774 /opt/am > > > > > > > > Interesting thing is that the file /opt/am/apps.db does not > exist. The > > > folder "opt/am" does exist though. What should I try next? > > > > The apps.db is created by appman while scanning the application > > folders. > > > > Dominik > > > > > > > > Thanks! > > > Aras > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam < > arasbm at gmail.com > > > >> wrote: > > > > > > Please ignore my last email, it was clearly permission > issues. I > > > tried again doing a "sudo qmake" "sudo make" followed by > "sudo make > > > install" and this time build and install finished without > error. > > > > > > Now that I have appman installed, what is next? How can I > get appman > > > to run Neptune? I could not find any documentation on how > to use appman. > > > > > > Thanks again! > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > > > > > >> wrote: > > > > > > I am developing on Ubuntu. I got through a number of > build > > > dependency errors by following your suggestion and > installing qt > > > dev related packages. I have not tried building the > whole qt > > > yet, but one of these days I am sure I will. > > > > > > Should I follow [these instructions] > > > > > > >for > > > building the application mmanager? Currently I am > getting this > > > error when I run the build command (*sudo* qmake && > > make && make > > > install): > > > > > > make[2]: Entering directory > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > install -m 755 -p ../../bin/appman > /usr/local/bin/appman > > > install: cannot remove '/usr/local/bin/appman': > > Permission denied > > > Makefile:619: recipe for target 'install_target' failed > > > make[2]: [install_target] Error 1 (ignored) > > > strip /usr/local/bin/appman > > > strip: '/usr/local/bin/appman': No such file > > > Makefile:619: recipe for target 'install_target' failed > > > make[2]: [install_target] Error 1 (ignored) > > > mkdir: cannot create directory > ?/usr/local/share/dbus-1?: > > > Permission denied > > > Makefile:629: recipe for target 'install_dbusif' failed > > > make[2]: *** [install_dbusif] Error 1 > > > make[2]: Leaving directory > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > Makefile:216: recipe for target > > 'sub-manager-install_subtargets' > > > failed > > > make[1]: *** [sub-manager-install_subtargets] Error 2 > > > make[1]: Leaving directory > > > '/home/aras/Projects/qtapplicationmanager/src' > > > Makefile:66: recipe for target > > > 'sub-src-install_subtargets-ordered' failed > > > make: *** [sub-src-install_subtargets-ordered] Error 2 > > > > > > Any ideas what I am missing now? > > > > > > Thanks! > > > Aras > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > > > > > > > >> wrote: > > > > > > You need the qml or qtquick development package > installed. What > > > platform are you developing from? If you're on > Linux, you > > > should look > > > for the qt5*-dev or -devel packages. > > > > > > One (more advanced) way around this is to build > your own > > > version of > > > Qt, and then build Application Manager with the > qmake-binary > > > from your > > > custom Qt build. Qt depends on QML, but also > QtWayland. > > > > > > /J > > > > > > On 5 August 2016 at 14:23, Aras Balali Moghaddam > > > > > >> wrote: > > > > Thanks Johan, > > > > Yes that was my first problem. I am trying to > > build the > > > application manager > > > > now and I get this error: > > > > > > > > Project ERROR: Unknown module(s) in QT: qml > > > > Makefile:126: recipe for target > > > 'sub-notification-lib-make_first' failed > > > > make[1]: *** [sub-notification-lib-make_first] > > Error 3 > > > > make[1]: Leaving directory > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > Makefile:42: recipe for target > > > 'sub-src-make_first-ordered' failed > > > > make: *** [sub-src-make_first-ordered] Error 2 > > > > > > > > When I run "qmake --version" I get the following: > > > > > > > > QMake version 3.0 > > > > Using Qt version 5.5.1 in > /usr/lib/x86_64-linux-gnu > > > > > > > > I am new to Qt and so far have only built a few > > of the > > > sample apps and they > > > > seem to be working. Any ideas why I am getting > > this build > > > error? > > > > > > > > Thank you! > > > > Aras > > > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin > > > > > > > > >> > > > > wrote: > > > >> > > > >> Hi Aras, > > > >> > > > >> What executable are you missing? Neptune is > meant to be > > > run using the > > > >> Application Manager found here: > > > >> http://code.qt.io/cgit/qt/ > qtapplicationmanager.git/ > > . > > > Could that be > > > >> what is missing? > > > >> > > > >> Best regards, > > > >> > > > >> Johan Thelin ??? ??? > > > >> M.Sc.E.E. > > > >> System Architect > > > >> > > > >> PELAGICORE | Experience Change > > > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, > Sweden > > > >> Mobile: +46 (0)700 900 250 > > > > > > > >> Skype: jothpelagicore > > > >> E-Mail: johan.thelin at pelagicore.com > > > > > > > > > > >> > > > >> > > > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > > > > > >> wrote: > > > >> > Hello! > > > >> > I have started designing an interface for an > > industrial > > > vehicle. I am > > > >> > planning to develop the UI in Qt and it will > > run using > > > a Linux touch > > > >> > screen > > > >> > computer inside the cab. I have a lot to do > > and a long > > > ways to go, so I > > > >> > am > > > >> > hoping to find an open source project to > > collaborate > > > with and build on > > > >> > top. > > > >> > > > > >> > In my search I came across Neptune project > > which looks > > > promising. I > > > >> > cloned > > > >> > this repo and tried building it, but I have > > not been > > > able to run it > > > >> > (missing > > > >> > executable). Will that project run on a 64bit > > ubuntu > > > linux computer? > > > >> > > > > >> > Do you think Neptune would be a good project > > to look at > > > as a starting > > > >> > point. > > > >> > The things I am mostly looking for are a set > > of UI > > > components that are > > > >> > suitable for in vehicle use, integration with > > CAN, and > > > I would like to > > > >> > have > > > >> > one view that is an interactive 3D model of > > the vehicle. > > > >> > > > > >> > Thank you for your great work with Qt and > > automotive. > > > Please let me know > > > >> > if > > > >> > I am on the right track here or not. Any > > advice or > > > pointers would be > > > >> > appreciated, as I am still at very early > > stages of this > > > project. > > > >> > > > > >> > Thank you! > > > >> > Aras > > > >> > > > > >> > ps: I just joined this list, so I apologize > > in advance > > > if this is not > > > >> > the > > > >> > right place for my question. > > > >> > > > > >> > ______________________________ > _________________ > > > >> > Automotive mailing list > > > >> > Automotive at qt-project.org > > > > > > > > > > >> > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Automotive mailing list > > > Automotive at qt-project.org > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > _______________________________________________ > > Automotive mailing list > > Automotive at qt-project.org > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.holland at pelagicore.com Mon Aug 8 19:43:28 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Mon, 8 Aug 2016 19:43:28 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: Hi, this looks like you are compiling without having c++11. It seems the c++11 is missing in the pro file. Could you create a bug-report and give more information about your enivornment there ? OS compiler-version Qt version ... Dominik Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > I think I am hitting all the possible errors. I tried building qtivi as > you suggested and I get this error after running "make" > > In file included from > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > from ../../../include/QtIviCore/QIviPropertyAttribute:1, > from > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, > from ../../../include/QtIviCore/qiviproperty.h:1, > from ../../../include/QtIviCore/QIviProperty:1, > from > ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/qiviclimatecontrol.h:46, > from > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > from > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, > from mainwindow.h:57, > from main.cpp:53: > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: In > member function ?void QIviPropertyAttribute::registerConverter()?: > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:154:73: > *error*: ?>>? should be ?> >? within a nested template argument list > if > (!QMetaType::hasRegisteredComparators>()) > ^ > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:155:67: > *error*: ?>>? should be ?> >? within a nested template argument list > QMetaType::registerComparators>(); > ^ > Makefile:442: recipe for target '.obj/main.o' failed > make[3]: *** [.obj/main.o] Error 1 > make[3]: Leaving directory > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' > Makefile:44: recipe for target 'sub-climate_widget-make_first' failed > make[2]: *** [sub-climate_widget-make_first] Error 2 > > > I cloned the repo using "git clone git://code.qt.io/qt/qtivi.git > ", did I somehow get the wrong code or > am I missing something else? > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > wrote: > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > and build/install it with > > qmake > make > make install > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > I suspect the root of my current problem is this error: > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed > > > > I did some googling but could not find anything helpful. How can I > > install the QtIvi module? > > > > thanks! > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam > > >> wrote: > > > > I got further by changing the permissions for the /opt/am > folder as > > you suggested. Now I am getting two new errors. Here is the > command > > I am running and the output: > > > > $ sudo appman --recreate-database -c /opt/am/config.yaml -c > > am-config.yaml > > [DBG | am.system] Found Applications: > > [ > [:0] > > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > ) > > [:0] > > [DBG | am.system] * APP: "com.pelagicore.browser" ( > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > ) > > [:0] > > [DBG | am.system] * APP: "com.pelagicore.movies" ( > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > ) > > [:0] > > [DBG | am.system] * APP: "com.pelagicore.music" ( > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > ) > > [:0] > > [DBG | am.system] > > ] > > [:0] > > [CRIT | am.system] ERROR: could not connect to D-Bus (): Failed to > > connect to socket /tmp/dbus-M4yXecMpU8: Connection > > refused > > [:0] > > [WARN | default] QQmlApplicationEngine failed to load > > component [:0] > > [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 > > Type Display unavailable > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > > ClimateBar unavailable > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 > Type > > TemperatureLevel unavailable > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 > > Type ClimateService unavailable > > > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 > > module "QtIvi.VehicleFunctions" is not installed > > > > [:0] > > [CRIT | am.system] ERROR: Qml scene does not have a root object > > > > Feels like I am so close to getting this thing running. Any idea > > what else I am missing? > > > > Thank you! > > Aras > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > >> wrote: > > > > Hi, > > > > the next thing is to execute the command line listed in the > > README.md > > > > ... > > or with the Application Manager > > > > $ appman --recreate-database -c $AM_CONFIG_FILE -c > > am-config.yaml > > > > where `AM_CONFIG_FILE` is the path to the Application Manager > > `config.yaml` file (inside the template-opt folder within the > > Application Manager delivery). The default `config.yaml` > points > > to the > > `/opt/am` folder. If that folder does not exists, make sure to > > update > > the config.yaml settings to the corresponding paths. > > ... > > > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > > > It seems as soon as I make a bit of progress I get stuck > with a new > > > error. Now I am trying to run the neptune app using the > following command: > > > > > > :seek: IODevice is not > > > open [:0] > > > [CRIT | am.system] ERROR: could not not seek to position > 0 in the > > > application database (/opt/am/apps.db): Permission denied > > > > I guess you copied the /termplate-opt folder to your /opt > folder ? > > To make it readable from appman you need to add correct > > permissions to > > the folder. > > > > sudo chmod -R 774 /opt/am > > > > > > > > Interesting thing is that the file /opt/am/apps.db does > not exist. The > > > folder "opt/am" does exist though. What should I try next? > > > > The apps.db is created by appman while scanning the > application > > folders. > > > > Dominik > > > > > > > > Thanks! > > > Aras > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam > > > > > >>> wrote: > > > > > > Please ignore my last email, it was clearly permission issues. I > > > tried again doing a "sudo qmake" "sudo make" followed by "sudo make > > > install" and this time build and install finished without error. > > > > > > Now that I have appman installed, what is next? How can I get appman > > > to run Neptune? I could not find any documentation on how to use appman. > > > > > > Thanks again! > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > > > > > > > >>> wrote: > > > > > > I am developing on Ubuntu. I got through a > number of build > > > dependency errors by following your suggestion > and installing qt > > > dev related packages. I have not tried building > the whole qt > > > yet, but one of these days I am sure I will. > > > > > > Should I follow [these instructions] > > > > > > > >>for > > > building the application mmanager? Currently I > am getting this > > > error when I run the build command (*sudo* qmake && > > make && make > > > install): > > > > > > make[2]: Entering directory > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > install -m 755 -p ../../bin/appman > /usr/local/bin/appman > > > install: cannot remove '/usr/local/bin/appman': > > Permission denied > > > Makefile:619: recipe for target 'install_target' > failed > > > make[2]: [install_target] Error 1 (ignored) > > > strip /usr/local/bin/appman > > > strip: '/usr/local/bin/appman': No such file > > > Makefile:619: recipe for target 'install_target' > failed > > > make[2]: [install_target] Error 1 (ignored) > > > mkdir: cannot create directory > ?/usr/local/share/dbus-1?: > > > Permission denied > > > Makefile:629: recipe for target 'install_dbusif' > failed > > > make[2]: *** [install_dbusif] Error 1 > > > make[2]: Leaving directory > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > Makefile:216: recipe for target > > 'sub-manager-install_subtargets' > > > failed > > > make[1]: *** [sub-manager-install_subtargets] > Error 2 > > > make[1]: Leaving directory > > > '/home/aras/Projects/qtapplicationmanager/src' > > > Makefile:66: recipe for target > > > 'sub-src-install_subtargets-ordered' failed > > > make: *** [sub-src-install_subtargets-ordered] > Error 2 > > > > > > Any ideas what I am missing now? > > > > > > Thanks! > > > Aras > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > > > > > > > > > > >>> > wrote: > > > > > > You need the qml or qtquick development package installed. What > > > platform are you developing from? If you're on Linux, you > > > should look > > > for the qt5*-dev or -devel packages. > > > > > > One (more advanced) way around this is to build your own > > > version of > > > Qt, and then build Application Manager with the qmake-binary > > > from your > > > custom Qt build. Qt depends on QML, but also QtWayland. > > > > > > /J > > > > > > On 5 August 2016 at 14:23, Aras Balali Moghaddam > > > > > > > >>> wrote: > > > > Thanks Johan, > > > > Yes that was my first problem. I am trying to > > build the > > > application manager > > > > now and I get this error: > > > > > > > > Project ERROR: Unknown module(s) in QT: qml > > > > Makefile:126: recipe for target > > > 'sub-notification-lib-make_first' failed > > > > make[1]: *** [sub-notification-lib-make_first] > > Error 3 > > > > make[1]: Leaving directory > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > Makefile:42: recipe for target > > > 'sub-src-make_first-ordered' failed > > > > make: *** [sub-src-make_first-ordered] Error 2 > > > > > > > > When I run "qmake --version" I get the > following: > > > > > > > > QMake version 3.0 > > > > Using Qt version 5.5.1 in > /usr/lib/x86_64-linux-gnu > > > > > > > > I am new to Qt and so far have only built > a few > > of the > > > sample apps and they > > > > seem to be working. Any ideas why I am getting > > this build > > > error? > > > > > > > > Thank you! > > > > Aras > > > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan Thelin > > > > > > > > > > > >>> > > > > wrote: > > > >> > > > >> Hi Aras, > > > >> > > > >> What executable are you missing? Neptune is meant to be > > > run using the > > > >> Application Manager found here: > > > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ > > > > . > > > Could that be > > > >> what is missing? > > > >> > > > >> Best regards, > > > >> > > > >> Johan Thelin ??? ??? > > > >> M.Sc.E.E. > > > >> System Architect > > > >> > > > >> PELAGICORE | Experience Change > > > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > > > >> Mobile: +46 (0)700 900 250 > > > > > > > >> Skype: jothpelagicore > > > >> E-Mail: johan.thelin at pelagicore.com > > > > > > > > >> > > > >> > > > >> > > > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > > > > > > > >>> wrote: > > > >> > Hello! > > > >> > I have started designing an interface > for an > > industrial > > > vehicle. I am > > > >> > planning to develop the UI in Qt and it > will > > run using > > > a Linux touch > > > >> > screen > > > >> > computer inside the cab. I have a lot to do > > and a long > > > ways to go, so I > > > >> > am > > > >> > hoping to find an open source project to > > collaborate > > > with and build on > > > >> > top. > > > >> > > > > >> > In my search I came across Neptune project > > which looks > > > promising. I > > > >> > cloned > > > >> > this repo and tried building it, but I have > > not been > > > able to run it > > > >> > (missing > > > >> > executable). Will that project run on a > 64bit > > ubuntu > > > linux computer? > > > >> > > > > >> > Do you think Neptune would be a good > project > > to look at > > > as a starting > > > >> > point. > > > >> > The things I am mostly looking for are > a set > > of UI > > > components that are > > > >> > suitable for in vehicle use, > integration with > > CAN, and > > > I would like to > > > >> > have > > > >> > one view that is an interactive 3D model of > > the vehicle. > > > >> > > > > >> > Thank you for your great work with Qt and > > automotive. > > > Please let me know > > > >> > if > > > >> > I am on the right track here or not. Any > > advice or > > > pointers would be > > > >> > appreciated, as I am still at very early > > stages of this > > > project. > > > >> > > > > >> > Thank you! > > > >> > Aras > > > >> > > > > >> > ps: I just joined this list, so I apologize > > in advance > > > if this is not > > > >> > the > > > >> > right place for my question. > > > >> > > > > >> > > _______________________________________________ > > > >> > Automotive mailing list > > > >> > Automotive at qt-project.org > > > > > > > > > >> > > > >> > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Automotive mailing list > > > Automotive at qt-project.org > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > _______________________________________________ > > Automotive mailing list > > Automotive at qt-project.org > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > > From arasbm at gmail.com Mon Aug 8 20:12:42 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Mon, 8 Aug 2016 11:12:42 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: Could you tell me where to report the bug? Searching for QT bug report took me here , but I could not find qtivi project there and the qtivi project README file also does not mention where to report bugs. Thanks! On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland < dominik.holland at pelagicore.com> wrote: > Hi, > > this looks like you are compiling without having c++11. > It seems the c++11 is missing in the pro file. > > Could you create a bug-report and give more information about your > enivornment there ? > > OS > compiler-version > Qt version > ... > > Dominik > > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > > I think I am hitting all the possible errors. I tried building qtivi as > > you suggested and I get this error after running "make" > > > > In file included from > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > > from ../../../include/QtIviCore/ > QIviPropertyAttribute:1, > > from > > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, > > from ../../../include/QtIviCore/qiviproperty.h:1, > > from ../../../include/QtIviCore/QIviProperty:1, > > from > > ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/ > qiviclimatecontrol.h:46, > > from > > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > > from > > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, > > from mainwindow.h:57, > > from main.cpp:53: > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: In > > member function ?void QIviPropertyAttribute::registerConverter()?: > > ../../../include/QtIviCore/../../src/ivicore/ > qivipropertyattribute.h:154:73: > > *error*: ?>>? should be ?> >? within a nested template argument list > > if > > (!QMetaType::hasRegisteredComparators>()) > > > ^ > > ../../../include/QtIviCore/../../src/ivicore/ > qivipropertyattribute.h:155:67: > > *error*: ?>>? should be ?> >? within a nested template argument list > > QMetaType::registerComparators>(); > > ^ > > Makefile:442: recipe for target '.obj/main.o' failed > > make[3]: *** [.obj/main.o] Error 1 > > make[3]: Leaving directory > > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' > > Makefile:44: recipe for target 'sub-climate_widget-make_first' failed > > make[2]: *** [sub-climate_widget-make_first] Error 2 > > > > > > I cloned the repo using "git clone git://code.qt.io/qt/qtivi.git > > ", did I somehow get the wrong code or > > am I missing something else? > > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > > > wrote: > > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > > > > and build/install it with > > > > qmake > > make > > make install > > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > > I suspect the root of my current problem is this error: > > > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not > installed > > > > > > I did some googling but could not find anything helpful. How can I > > > install the QtIvi module? > > > > > > thanks! > > > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam < > arasbm at gmail.com > > > >> wrote: > > > > > > I got further by changing the permissions for the /opt/am > > folder as > > > you suggested. Now I am getting two new errors. Here is the > > command > > > I am running and the output: > > > > > > $ sudo appman --recreate-database -c /opt/am/config.yaml -c > > > am-config.yaml > > > [DBG | am.system] Found Applications: > > > [ > > [:0] > > > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > > ) > > > [:0] > > > [DBG | am.system] * APP: "com.pelagicore.browser" ( > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > > ) > > > [:0] > > > [DBG | am.system] * APP: "com.pelagicore.movies" ( > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > > ) > > > [:0] > > > [DBG | am.system] * APP: "com.pelagicore.music" ( > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > > ) > > > [:0] > > > [DBG | am.system] > > > ] > > > [:0] > > > [CRIT | am.system] ERROR: could not connect to D-Bus (): > Failed to > > > connect to socket /tmp/dbus-M4yXecMpU8: Connection > > > refused > > > [:0] > > > [WARN | default] QQmlApplicationEngine failed to load > > > component [:0] > > > [WARN | default] file:///home/aras/Projects/ > neptune-ui/Main.qml:65 > > > Type Display unavailable > > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 > Type > > > ClimateBar unavailable > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > ClimateBar.qml:79 > > Type > > > TemperatureLevel unavailable > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > TemperatureLevel.qml:-1 > > > Type ClimateService unavailable > > > > > file:///home/aras/Projects/neptune-ui/imports/shared/ > service/climate/ClimateService.qml:34 > > > module "QtIvi.VehicleFunctions" is not installed > > > > > > [:0] > > > [CRIT | am.system] ERROR: Qml scene does not have a root object > > > > > > Feels like I am so close to getting this thing running. Any > idea > > > what else I am missing? > > > > > > Thank you! > > > Aras > > > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > > > > > >> wrote: > > > > > > Hi, > > > > > > the next thing is to execute the command line listed in the > > > README.md > > > > > > ... > > > or with the Application Manager > > > > > > $ appman --recreate-database -c $AM_CONFIG_FILE -c > > > am-config.yaml > > > > > > where `AM_CONFIG_FILE` is the path to the Application > Manager > > > `config.yaml` file (inside the template-opt folder within > the > > > Application Manager delivery). The default `config.yaml` > > points > > > to the > > > `/opt/am` folder. If that folder does not exists, make > sure to > > > update > > > the config.yaml settings to the corresponding paths. > > > ... > > > > > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > > > > It seems as soon as I make a bit of progress I get stuck > > with a new > > > > error. Now I am trying to run the neptune app using the > > following command: > > > > > > > > :seek: IODevice is not > > > > open [:0] > > > > [CRIT | am.system] ERROR: could not not seek to position > > 0 in the > > > > application database (/opt/am/apps.db): Permission denied > > > > > > I guess you copied the /termplate-opt folder to your /opt > > folder ? > > > To make it readable from appman you need to add correct > > > permissions to > > > the folder. > > > > > > sudo chmod -R 774 /opt/am > > > > > > > > > > > Interesting thing is that the file /opt/am/apps.db does > > not exist. The > > > > folder "opt/am" does exist though. What should I try > next? > > > > > > The apps.db is created by appman while scanning the > > application > > > folders. > > > > > > Dominik > > > > > > > > > > > Thanks! > > > > Aras > > > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam > > > > > > > > > > >>> wrote: > > > > > > > > Please ignore my last email, it was clearly > permission issues. I > > > > tried again doing a "sudo qmake" "sudo make" > followed by "sudo make > > > > install" and this time build and install finished > without error. > > > > > > > > Now that I have appman installed, what is next? How > can I get appman > > > > to run Neptune? I could not find any documentation > on how to use appman. > > > > > > > > Thanks again! > > > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali Moghaddam > > > > arasbm at gmail.com > > > > > > > > >>> wrote: > > > > > > > > I am developing on Ubuntu. I got through a > > number of build > > > > dependency errors by following your suggestion > > and installing qt > > > > dev related packages. I have not tried building > > the whole qt > > > > yet, but one of these days I am sure I will. > > > > > > > > Should I follow [these instructions] > > > > > > > > > > > > >>for > > > > building the application mmanager? Currently I > > am getting this > > > > error when I run the build command (*sudo* qmake > && > > > make && make > > > > install): > > > > > > > > make[2]: Entering directory > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > install -m 755 -p ../../bin/appman > > /usr/local/bin/appman > > > > install: cannot remove '/usr/local/bin/appman': > > > Permission denied > > > > Makefile:619: recipe for target 'install_target' > > failed > > > > make[2]: [install_target] Error 1 (ignored) > > > > strip /usr/local/bin/appman > > > > strip: '/usr/local/bin/appman': No such file > > > > Makefile:619: recipe for target 'install_target' > > failed > > > > make[2]: [install_target] Error 1 (ignored) > > > > mkdir: cannot create directory > > ?/usr/local/share/dbus-1?: > > > > Permission denied > > > > Makefile:629: recipe for target 'install_dbusif' > > failed > > > > make[2]: *** [install_dbusif] Error 1 > > > > make[2]: Leaving directory > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > Makefile:216: recipe for target > > > 'sub-manager-install_subtargets' > > > > failed > > > > make[1]: *** [sub-manager-install_subtargets] > > Error 2 > > > > make[1]: Leaving directory > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > Makefile:66: recipe for target > > > > 'sub-src-install_subtargets-ordered' failed > > > > make: *** [sub-src-install_subtargets-ordered] > > Error 2 > > > > > > > > Any ideas what I am missing now? > > > > > > > > Thanks! > > > > Aras > > > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin > > > > > > > > > > > > > > > > > > pelagicore.com>>>> > > wrote: > > > > > > > > You need the qml or qtquick development > package installed. What > > > > platform are you developing from? If you're > on Linux, you > > > > should look > > > > for the qt5*-dev or -devel packages. > > > > > > > > One (more advanced) way around this is to > build your own > > > > version of > > > > Qt, and then build Application Manager with > the qmake-binary > > > > from your > > > > custom Qt build. Qt depends on QML, but also > QtWayland. > > > > > > > > /J > > > > > > > > On 5 August 2016 at 14:23, Aras Balali > Moghaddam > > > > > > > > > > > > >>> wrote: > > > > > Thanks Johan, > > > > > Yes that was my first problem. I am trying > to > > > build the > > > > application manager > > > > > now and I get this error: > > > > > > > > > > Project ERROR: Unknown module(s) in QT: qml > > > > > Makefile:126: recipe for target > > > > 'sub-notification-lib-make_first' failed > > > > > make[1]: *** [sub-notification-lib-make_ > first] > > > Error 3 > > > > > make[1]: Leaving directory > > > > '/home/aras/Projects/ > qtapplicationmanager/src' > > > > > Makefile:42: recipe for target > > > > 'sub-src-make_first-ordered' failed > > > > > make: *** [sub-src-make_first-ordered] > Error 2 > > > > > > > > > > When I run "qmake --version" I get the > > following: > > > > > > > > > > QMake version 3.0 > > > > > Using Qt version 5.5.1 in > > /usr/lib/x86_64-linux-gnu > > > > > > > > > > I am new to Qt and so far have only built > > a few > > > of the > > > > sample apps and they > > > > > seem to be working. Any ideas why I am > getting > > > this build > > > > error? > > > > > > > > > > Thank you! > > > > > Aras > > > > > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan > Thelin > > > > > > > > > > > > > > > > > > pelagicore.com>>>> > > > > > wrote: > > > > >> > > > > >> Hi Aras, > > > > >> > > > > >> What executable are you missing? Neptune > is meant to be > > > > run using the > > > > >> Application Manager found here: > > > > >> http://code.qt.io/cgit/qt/ > qtapplicationmanager.git/ > > > > > > > . > > > > Could that be > > > > >> what is missing? > > > > >> > > > > >> Best regards, > > > > >> > > > > >> Johan Thelin ??? ??? > > > > >> M.Sc.E.E. > > > > >> System Architect > > > > >> > > > > >> PELAGICORE | Experience Change > > > > >> Ekelundsgatan 4, 6tr, SE-411 18 > Gothenburg, Sweden > > > > >> Mobile: +46 (0)700 900 250 > > > > > > > > > > > >> Skype: jothpelagicore > > > > >> E-Mail: johan.thelin at pelagicore.com > > > > pelagicore.com>> > > > > > > > > pelagicore.com>>> > > > > >> > > > > >> > > > > >> On 5 August 2016 at 12:37, Aras Balali > Moghaddam > > > > > > > > > > > > >>> wrote: > > > > >> > Hello! > > > > >> > I have started designing an interface > > for an > > > industrial > > > > vehicle. I am > > > > >> > planning to develop the UI in Qt and it > > will > > > run using > > > > a Linux touch > > > > >> > screen > > > > >> > computer inside the cab. I have a lot > to do > > > and a long > > > > ways to go, so I > > > > >> > am > > > > >> > hoping to find an open source project to > > > collaborate > > > > with and build on > > > > >> > top. > > > > >> > > > > > >> > In my search I came across Neptune > project > > > which looks > > > > promising. I > > > > >> > cloned > > > > >> > this repo and tried building it, but I > have > > > not been > > > > able to run it > > > > >> > (missing > > > > >> > executable). Will that project run on a > > 64bit > > > ubuntu > > > > linux computer? > > > > >> > > > > > >> > Do you think Neptune would be a good > > project > > > to look at > > > > as a starting > > > > >> > point. > > > > >> > The things I am mostly looking for are > > a set > > > of UI > > > > components that are > > > > >> > suitable for in vehicle use, > > integration with > > > CAN, and > > > > I would like to > > > > >> > have > > > > >> > one view that is an interactive 3D > model of > > > the vehicle. > > > > >> > > > > > >> > Thank you for your great work with Qt > and > > > automotive. > > > > Please let me know > > > > >> > if > > > > >> > I am on the right track here or not. Any > > > advice or > > > > pointers would be > > > > >> > appreciated, as I am still at very early > > > stages of this > > > > project. > > > > >> > > > > > >> > Thank you! > > > > >> > Aras > > > > >> > > > > > >> > ps: I just joined this list, so I > apologize > > > in advance > > > > if this is not > > > > >> > the > > > > >> > right place for my question. > > > > >> > > > > > >> > > > _______________________________________________ > > > > >> > Automotive mailing list > > > > >> > Automotive at qt-project.org > > > > > > > > > > > > > > > Automotive at qt-project.org>>> > > > > >> > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Automotive mailing list > > > > Automotive at qt-project.org > > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > > > > _______________________________________________ > > > Automotive mailing list > > > Automotive at qt-project.org > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Tue Aug 9 00:00:41 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Mon, 8 Aug 2016 15:00:41 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: If anyone can help me fix this problem, it would be much appreciated. I am willing to try, if you can point me to the right direction. Do I need to install C++11 on my development machine? Do I need to modify some configuration files in qtivi? I am using 64bit ubuntu 16.04. qmake --version gives: $ qmake --version QMake version 3.0 Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib please let me know what else I could try to get this demo working. Also, once I go through this I would like to write or update a getting started documentation so that other developers like myself do not have to kill so much time just to get started. Let me know also where a good place for that would be. Thank you! Aras On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam wrote: > Could you tell me where to report the bug? Searching for QT bug report took > me here , but I could not > find qtivi project there and the qtivi project README file also does not > mention where to report bugs. Thanks! > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland < > dominik.holland at pelagicore.com> wrote: > >> Hi, >> >> this looks like you are compiling without having c++11. >> It seems the c++11 is missing in the pro file. >> >> Could you create a bug-report and give more information about your >> enivornment there ? >> >> OS >> compiler-version >> Qt version >> ... >> >> Dominik >> >> >> Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: >> > I think I am hitting all the possible errors. I tried building qtivi as >> > you suggested and I get this error after running "make" >> > >> > In file included from >> > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, >> > from ../../../include/QtIviCore/QIv >> iPropertyAttribute:1, >> > from >> > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, >> > from ../../../include/QtIviCore/qiviproperty.h:1, >> > from ../../../include/QtIviCore/QIviProperty:1, >> > from >> > ../../../include/QtIviVehicleFunctions/../../src/ >> ivivehiclefunctions/qiviclimatecontrol.h:46, >> > from >> > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, >> > from >> > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, >> > from mainwindow.h:57, >> > from main.cpp:53: >> > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: >> In >> > member function ?void QIviPropertyAttribute::registerConverter()?: >> > ../../../include/QtIviCore/../../src/ivicore/qivipropertyatt >> ribute.h:154:73: >> > *error*: ?>>? should be ?> >? within a nested template argument list >> > if >> > (!QMetaType::hasRegisteredComparators>()) >> > >> ^ >> > ../../../include/QtIviCore/../../src/ivicore/qivipropertyatt >> ribute.h:155:67: >> > *error*: ?>>? should be ?> >? within a nested template argument list >> > QMetaType::registerComparators >> >(); >> > ^ >> > Makefile:442: recipe for target '.obj/main.o' failed >> > make[3]: *** [.obj/main.o] Error 1 >> > make[3]: Leaving directory >> > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' >> > Makefile:44: recipe for target 'sub-climate_widget-make_first' failed >> > make[2]: *** [sub-climate_widget-make_first] Error 2 >> > >> > >> > I cloned the repo using "git clone git://code.qt.io/qt/qtivi.git >> > ", did I somehow get the wrong code or >> > am I missing something else? >> > >> > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland >> > > >> >> > wrote: >> > >> > Clone http://code.qt.io/cgit/qt/qtivi.git/ >> > >> > >> > and build/install it with >> > >> > qmake >> > make >> > make install >> > >> > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: >> > > I suspect the root of my current problem is this error: >> > > >> > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not >> installed >> > > >> > > I did some googling but could not find anything helpful. How can I >> > > install the QtIvi module? >> > > >> > > thanks! >> > > >> > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam < >> arasbm at gmail.com >> > > >> wrote: >> > > >> > > I got further by changing the permissions for the /opt/am >> > folder as >> > > you suggested. Now I am getting two new errors. Here is the >> > command >> > > I am running and the output: >> > > >> > > $ sudo appman --recreate-database -c /opt/am/config.yaml -c >> > > am-config.yaml >> > > [DBG | am.system] Found Applications: >> > > [ >> > [:0] >> > > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( >> > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" >> > > ) >> > > [:0] >> > > [DBG | am.system] * APP: "com.pelagicore.browser" ( >> > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" >> > > ) >> > > [:0] >> > > [DBG | am.system] * APP: "com.pelagicore.movies" ( >> > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" >> > > ) >> > > [:0] >> > > [DBG | am.system] * APP: "com.pelagicore.music" ( >> > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" >> > > ) >> > > [:0] >> > > [DBG | am.system] >> > > ] >> > > [:0] >> > > [CRIT | am.system] ERROR: could not connect to D-Bus (): >> Failed to >> > > connect to socket /tmp/dbus-M4yXecMpU8: Connection >> > > refused >> > > [:0] >> > > [WARN | default] QQmlApplicationEngine failed to load >> > > component [:0] >> > > [WARN | default] file:///home/aras/Projects/nep >> tune-ui/Main.qml:65 >> > > Type Display unavailable >> > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 >> Type >> > > ClimateBar unavailable >> > > >> > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateB >> ar.qml:79 >> > Type >> > > TemperatureLevel unavailable >> > > >> > file:///home/aras/Projects/neptune-ui/sysui/Climate/Temperat >> ureLevel.qml:-1 >> > > Type ClimateService unavailable >> > > >> > file:///home/aras/Projects/neptune-ui/imports/shared/service >> /climate/ClimateService.qml:34 >> > > module "QtIvi.VehicleFunctions" is not installed >> > > >> > > [:0] >> > > [CRIT | am.system] ERROR: Qml scene does not have a root >> object >> > > >> > > Feels like I am so close to getting this thing running. Any >> idea >> > > what else I am missing? >> > > >> > > Thank you! >> > > Aras >> > > >> > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland >> > > > > >> > > > > >> wrote: >> > > >> > > Hi, >> > > >> > > the next thing is to execute the command line listed in >> the >> > > README.md >> > > >> > > ... >> > > or with the Application Manager >> > > >> > > $ appman --recreate-database -c $AM_CONFIG_FILE -c >> > > am-config.yaml >> > > >> > > where `AM_CONFIG_FILE` is the path to the Application >> Manager >> > > `config.yaml` file (inside the template-opt folder within >> the >> > > Application Manager delivery). The default `config.yaml` >> > points >> > > to the >> > > `/opt/am` folder. If that folder does not exists, make >> sure to >> > > update >> > > the config.yaml settings to the corresponding paths. >> > > ... >> > > >> > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: >> > > > It seems as soon as I make a bit of progress I get stuck >> > with a new >> > > > error. Now I am trying to run the neptune app using the >> > following command: >> > > > >> > > > :seek: IODevice is not >> > > > open >> [:0] >> > > > [CRIT | am.system] ERROR: could not not seek to position >> > 0 in the >> > > > application database (/opt/am/apps.db): Permission >> denied >> > > >> > > I guess you copied the /termplate-opt folder to your /opt >> > folder ? >> > > To make it readable from appman you need to add correct >> > > permissions to >> > > the folder. >> > > >> > > sudo chmod -R 774 /opt/am >> > > >> > > > >> > > > Interesting thing is that the file /opt/am/apps.db does >> > not exist. The >> > > > folder "opt/am" does exist though. What should I try >> next? >> > > >> > > The apps.db is created by appman while scanning the >> > application >> > > folders. >> > > >> > > Dominik >> > > >> > > > >> > > > Thanks! >> > > > Aras >> > > > >> > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali Moghaddam >> > > arasbm at gmail.com >> > > >> > > > >> > > >>> wrote: >> > > > >> > > > Please ignore my last email, it was clearly >> permission issues. I >> > > > tried again doing a "sudo qmake" "sudo make" >> followed by "sudo make >> > > > install" and this time build and install finished >> without error. >> > > > >> > > > Now that I have appman installed, what is next? How >> can I get appman >> > > > to run Neptune? I could not find any documentation >> on how to use appman. >> > > > >> > > > Thanks again! >> > > > >> > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras Balali >> Moghaddam >> > > > >> > > > >> > > >> > >>> wrote: >> > > > >> > > > I am developing on Ubuntu. I got through a >> > number of build >> > > > dependency errors by following your suggestion >> > and installing qt >> > > > dev related packages. I have not tried building >> > the whole qt >> > > > yet, but one of these days I am sure I will. >> > > > >> > > > Should I follow [these instructions] >> > > > >> > > > onManager/installation.html >> > >> > > > > >>for >> > > > building the application mmanager? Currently I >> > am getting this >> > > > error when I run the build command (*sudo* >> qmake && >> > > make && make >> > > > install): >> > > > >> > > > make[2]: Entering directory >> > > > >> > '/home/aras/Projects/qtapplicationmanager/src/manager' >> > > > install -m 755 -p ../../bin/appman >> > /usr/local/bin/appman >> > > > install: cannot remove '/usr/local/bin/appman': >> > > Permission denied >> > > > Makefile:619: recipe for target 'install_target' >> > failed >> > > > make[2]: [install_target] Error 1 (ignored) >> > > > strip /usr/local/bin/appman >> > > > strip: '/usr/local/bin/appman': No such file >> > > > Makefile:619: recipe for target 'install_target' >> > failed >> > > > make[2]: [install_target] Error 1 (ignored) >> > > > mkdir: cannot create directory >> > ?/usr/local/share/dbus-1?: >> > > > Permission denied >> > > > Makefile:629: recipe for target 'install_dbusif' >> > failed >> > > > make[2]: *** [install_dbusif] Error 1 >> > > > make[2]: Leaving directory >> > > > >> > '/home/aras/Projects/qtapplicationmanager/src/manager' >> > > > Makefile:216: recipe for target >> > > 'sub-manager-install_subtargets' >> > > > failed >> > > > make[1]: *** [sub-manager-install_subtargets] >> > Error 2 >> > > > make[1]: Leaving directory >> > > > '/home/aras/Projects/qtapplicationmanager/src' >> > > > Makefile:66: recipe for target >> > > > 'sub-src-install_subtargets-ordered' failed >> > > > make: *** [sub-src-install_subtargets-ordered] >> > Error 2 >> > > > >> > > > Any ideas what I am missing now? >> > > > >> > > > Thanks! >> > > > Aras >> > > > >> > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan Thelin >> > > > > > >> > > > > > >> > > > > > >> > > > johan.thelin at pelagicore.com>>>> >> > wrote: >> > > > >> > > > You need the qml or qtquick development >> package installed. What >> > > > platform are you developing from? If you're >> on Linux, you >> > > > should look >> > > > for the qt5*-dev or -devel packages. >> > > > >> > > > One (more advanced) way around this is to >> build your own >> > > > version of >> > > > Qt, and then build Application Manager with >> the qmake-binary >> > > > from your >> > > > custom Qt build. Qt depends on QML, but >> also QtWayland. >> > > > >> > > > /J >> > > > >> > > > On 5 August 2016 at 14:23, Aras Balali >> Moghaddam >> > > > >> > > > >> > > >> > >>> wrote: >> > > > > Thanks Johan, >> > > > > Yes that was my first problem. I am >> trying to >> > > build the >> > > > application manager >> > > > > now and I get this error: >> > > > > >> > > > > Project ERROR: Unknown module(s) in QT: >> qml >> > > > > Makefile:126: recipe for target >> > > > 'sub-notification-lib-make_first' failed >> > > > > make[1]: *** >> [sub-notification-lib-make_first] >> > > Error 3 >> > > > > make[1]: Leaving directory >> > > > '/home/aras/Projects/qtapplic >> ationmanager/src' >> > > > > Makefile:42: recipe for target >> > > > 'sub-src-make_first-ordered' failed >> > > > > make: *** [sub-src-make_first-ordered] >> Error 2 >> > > > > >> > > > > When I run "qmake --version" I get the >> > following: >> > > > > >> > > > > QMake version 3.0 >> > > > > Using Qt version 5.5.1 in >> > /usr/lib/x86_64-linux-gnu >> > > > > >> > > > > I am new to Qt and so far have only built >> > a few >> > > of the >> > > > sample apps and they >> > > > > seem to be working. Any ideas why I am >> getting >> > > this build >> > > > error? >> > > > > >> > > > > Thank you! >> > > > > Aras >> > > > > >> > > > > On Fri, Aug 5, 2016 at 4:31 AM, Johan >> Thelin >> > > > > > >> > > > > > >> > > > > > >> > > > johan.thelin at pelagicore.com>>>> >> > > > > wrote: >> > > > >> >> > > > >> Hi Aras, >> > > > >> >> > > > >> What executable are you missing? Neptune >> is meant to be >> > > > run using the >> > > > >> Application Manager found here: >> > > > >> http://code.qt.io/cgit/qt/qtap >> plicationmanager.git/ >> > >> > > > > > . >> > > > Could that be >> > > > >> what is missing? >> > > > >> >> > > > >> Best regards, >> > > > >> >> > > > >> Johan Thelin ??? ??? >> > > > >> M.Sc.E.E. >> > > > >> System Architect >> > > > >> >> > > > >> PELAGICORE | Experience Change >> > > > >> Ekelundsgatan 4, 6tr, SE-411 18 >> Gothenburg, Sweden >> > > > >> Mobile: +46 (0)700 900 250 >> >> > >> > > > >> > > > >> Skype: jothpelagicore >> > > > >> E-Mail: johan.thelin at pelagicore.com >> >> > > > johan.thelin at pelagicore.com>> >> > > > > > >> > > > johan.thelin at pelagicore.com>>> >> > > > >> >> > > > >> >> > > > >> On 5 August 2016 at 12:37, Aras Balali >> Moghaddam >> > > > >> > > > >> > > >> > >>> wrote: >> > > > >> > Hello! >> > > > >> > I have started designing an interface >> > for an >> > > industrial >> > > > vehicle. I am >> > > > >> > planning to develop the UI in Qt and it >> > will >> > > run using >> > > > a Linux touch >> > > > >> > screen >> > > > >> > computer inside the cab. I have a lot >> to do >> > > and a long >> > > > ways to go, so I >> > > > >> > am >> > > > >> > hoping to find an open source project >> to >> > > collaborate >> > > > with and build on >> > > > >> > top. >> > > > >> > >> > > > >> > In my search I came across Neptune >> project >> > > which looks >> > > > promising. I >> > > > >> > cloned >> > > > >> > this repo and tried building it, but I >> have >> > > not been >> > > > able to run it >> > > > >> > (missing >> > > > >> > executable). Will that project run on a >> > 64bit >> > > ubuntu >> > > > linux computer? >> > > > >> > >> > > > >> > Do you think Neptune would be a good >> > project >> > > to look at >> > > > as a starting >> > > > >> > point. >> > > > >> > The things I am mostly looking for are >> > a set >> > > of UI >> > > > components that are >> > > > >> > suitable for in vehicle use, >> > integration with >> > > CAN, and >> > > > I would like to >> > > > >> > have >> > > > >> > one view that is an interactive 3D >> model of >> > > the vehicle. >> > > > >> > >> > > > >> > Thank you for your great work with Qt >> and >> > > automotive. >> > > > Please let me know >> > > > >> > if >> > > > >> > I am on the right track here or not. >> Any >> > > advice or >> > > > pointers would be >> > > > >> > appreciated, as I am still at very >> early >> > > stages of this >> > > > project. >> > > > >> > >> > > > >> > Thank you! >> > > > >> > Aras >> > > > >> > >> > > > >> > ps: I just joined this list, so I >> apologize >> > > in advance >> > > > if this is not >> > > > >> > the >> > > > >> > right place for my question. >> > > > >> > >> > > > >> > >> > _______________________________________________ >> > > > >> > Automotive mailing list >> > > > >> > Automotive at qt-project.org >> > >> > > > > > >> > > > > > >> > > > Automotive at qt-project.org>>> >> > > > >> > >> > > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> > > > > > >> > > > >> > >> > > > > >> > > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > _______________________________________________ >> > > > Automotive mailing list >> > > > Automotive at qt-project.org >> > > org >> > > >> > > > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> > > > > > >> > > > >> > > _______________________________________________ >> > > Automotive mailing list >> > > Automotive at qt-project.org >> > > org >> > > >> > > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> > > > > > >> > > >> > > >> > > >> > >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.holland at pelagicore.com Tue Aug 9 09:29:52 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Tue, 9 Aug 2016 09:29:52 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: Hi, you can add a bugreport here: https://bugreports.qt.io Project: Qt Automotive Component: QtIvi Could you download a Qt installer for your platform here and try it with that Qt version ? https://www.qt.io/download/ It's strange that it doesn't work, as the 5.7 branch of qtivi is tested together with qt 5.7 in the CI. Dominik Am 08/09/2016 um 12:00 AM schrieb Aras Balali Moghaddam: > If anyone can help me fix this problem, it would be much appreciated. I > am willing to try, if you can point me to the right direction. Do I need > to install C++11 on my development machine? Do I need to modify some > configuration files in qtivi? > > I am using 64bit ubuntu 16.04. qmake --version gives: > > $ qmake --version > QMake version 3.0 > Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib > > please let me know what else I could try to get this demo working. Also, > once I go through this I would like to write or update a getting started > documentation so that other developers like myself do not have to kill > so much time just to get started. Let me know also where a good place > for that would be. > > Thank you! > Aras > > On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam > wrote: > > Could you tell me where to report the bug? Searching for QT bug > report took me here > , but I could not > find qtivi project there and the qtivi project README file also does > not mention where to report bugs. Thanks! > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland > > wrote: > > Hi, > > this looks like you are compiling without having c++11. > It seems the c++11 is missing in the pro file. > > Could you create a bug-report and give more information about your > enivornment there ? > > OS > compiler-version > Qt version > ... > > Dominik > > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > > I think I am hitting all the possible errors. I tried building qtivi as > > you suggested and I get this error after running "make" > > > > In file included from > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > > from ../../../include/QtIviCore/QIviPropertyAttribute:1, > > from > > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, > > from ../../../include/QtIviCore/qiviproperty.h:1, > > from ../../../include/QtIviCore/QIviProperty:1, > > from > > ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/qiviclimatecontrol.h:46, > > from > > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > > from > > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, > > from mainwindow.h:57, > > from main.cpp:53: > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: In > > member function ?void QIviPropertyAttribute::registerConverter()?: > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:154:73: > > *error*: ?>>? should be ?> >? within a nested template > argument list > > if > > (!QMetaType::hasRegisteredComparators>()) > > ^ > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:155:67: > > *error*: ?>>? should be ?> >? within a nested template > argument list > > QMetaType::registerComparators>(); > > ^ > > Makefile:442: recipe for target '.obj/main.o' failed > > make[3]: *** [.obj/main.o] Error 1 > > make[3]: Leaving directory > > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' > > Makefile:44: recipe for target 'sub-climate_widget-make_first' failed > > make[2]: *** [sub-climate_widget-make_first] Error 2 > > > > > > I cloned the repo using "git clone git://code.qt.io/qt/qtivi.git > > >", did I somehow get the wrong > code or > > am I missing something else? > > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > >> > > wrote: > > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > > > > > > and build/install it with > > > > qmake > > make > > make install > > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > > I suspect the root of my current problem is this error: > > > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed > > > > > > I did some googling but could not find anything helpful. How can I > > > install the QtIvi module? > > > > > > thanks! > > > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam > > > > > > >>> wrote: > > > > > > I got further by changing the permissions for the > /opt/am > > folder as > > > you suggested. Now I am getting two new errors. Here > is the > > command > > > I am running and the output: > > > > > > $ sudo appman --recreate-database -c > /opt/am/config.yaml -c > > > am-config.yaml > > > [DBG | am.system] Found Applications: > > > [ > > [:0] > > > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > > > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > > ) > > > [:0] > > > [DBG | am.system] * APP: "com.pelagicore.browser" ( > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > > ) > > > [:0] > > > [DBG | am.system] * APP: "com.pelagicore.movies" ( > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > > ) > > > [:0] > > > [DBG | am.system] * APP: "com.pelagicore.music" ( > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > > ) > > > [:0] > > > [DBG | am.system] > > > ] > > > [:0] > > > [CRIT | am.system] ERROR: could not connect to D-Bus > (): Failed to > > > connect to socket /tmp/dbus-M4yXecMpU8: Connection > > > refused > > > [:0] > > > [WARN | default] QQmlApplicationEngine failed to load > > > component [:0] > > > [WARN | default] > file:///home/aras/Projects/neptune-ui/Main.qml:65 > > > Type Display unavailable > > > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > > > ClimateBar unavailable > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 > > Type > > > TemperatureLevel unavailable > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 > > > Type ClimateService unavailable > > > > > > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 > > > module "QtIvi.VehicleFunctions" is not installed > > > > > > [:0] > > > [CRIT | am.system] ERROR: Qml scene does not have a > root object > > > > > > Feels like I am so close to getting this thing > running. Any idea > > > what else I am missing? > > > > > > Thank you! > > > Aras > > > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > > > > > > > > >>> wrote: > > > > > > Hi, > > > > > > the next thing is to execute the command line > listed in the > > > README.md > > > > > > ... > > > or with the Application Manager > > > > > > $ appman --recreate-database -c > $AM_CONFIG_FILE -c > > > am-config.yaml > > > > > > where `AM_CONFIG_FILE` is the path to the > Application Manager > > > `config.yaml` file (inside the template-opt > folder within the > > > Application Manager delivery). The default > `config.yaml` > > points > > > to the > > > `/opt/am` folder. If that folder does not > exists, make sure to > > > update > > > the config.yaml settings to the corresponding paths. > > > ... > > > > > > Am 05.08.16 um 23:05 schrieb Aras Balali Moghaddam: > > > > It seems as soon as I make a bit of progress I > get stuck > > with a new > > > > error. Now I am trying to run the neptune app > using the > > following command: > > > > > > > > :seek: IODevice is not > > > > open > [:0] > > > > [CRIT | am.system] ERROR: could not not seek > to position > > 0 in the > > > > application database (/opt/am/apps.db): > Permission denied > > > > > > I guess you copied the /termplate-opt folder to > your /opt > > folder ? > > > To make it readable from appman you need to add > correct > > > permissions to > > > the folder. > > > > > > sudo chmod -R 774 /opt/am > > > > > > > > > > > Interesting thing is that the file > /opt/am/apps.db does > > not exist. The > > > > folder "opt/am" does exist though. What should > I try next? > > > > > > The apps.db is created by appman while scanning the > > application > > > folders. > > > > > > Dominik > > > > > > > > > > > Thanks! > > > > Aras > > > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali > Moghaddam > > > > > > > >> > > > > > > > >>>> wrote: > > > > > > > > Please ignore my last email, it was > clearly permission issues. I > > > > tried again doing a "sudo qmake" "sudo > make" followed by "sudo make > > > > install" and this time build and install > finished without error. > > > > > > > > Now that I have appman installed, what is > next? How can I get appman > > > > to run Neptune? I could not find any > documentation on how to use appman. > > > > > > > > Thanks again! > > > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras > Balali Moghaddam > > > > > > > >> > > > > > > > >>>> wrote: > > > > > > > > I am developing on Ubuntu. I got through a > > number of build > > > > dependency errors by following your > suggestion > > and installing qt > > > > dev related packages. I have not tried > building > > the whole qt > > > > yet, but one of these days I am sure I > will. > > > > > > > > Should I follow [these instructions] > > > > > > > > > > > > > > > > > >>>for > > > > building the application mmanager? > Currently I > > am getting this > > > > error when I run the build command > (*sudo* qmake && > > > make && make > > > > install): > > > > > > > > make[2]: Entering directory > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > install -m 755 -p ../../bin/appman > > /usr/local/bin/appman > > > > install: cannot remove > '/usr/local/bin/appman': > > > Permission denied > > > > Makefile:619: recipe for target > 'install_target' > > failed > > > > make[2]: [install_target] Error 1 > (ignored) > > > > strip /usr/local/bin/appman > > > > strip: '/usr/local/bin/appman': No > such file > > > > Makefile:619: recipe for target > 'install_target' > > failed > > > > make[2]: [install_target] Error 1 > (ignored) > > > > mkdir: cannot create directory > > ?/usr/local/share/dbus-1?: > > > > Permission denied > > > > Makefile:629: recipe for target > 'install_dbusif' > > failed > > > > make[2]: *** [install_dbusif] Error 1 > > > > make[2]: Leaving directory > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > Makefile:216: recipe for target > > > 'sub-manager-install_subtargets' > > > > failed > > > > make[1]: *** > [sub-manager-install_subtargets] > > Error 2 > > > > make[1]: Leaving directory > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > Makefile:66: recipe for target > > > > 'sub-src-install_subtargets-ordered' > failed > > > > make: *** > [sub-src-install_subtargets-ordered] > > Error 2 > > > > > > > > Any ideas what I am missing now? > > > > > > > > Thanks! > > > > Aras > > > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan > Thelin > > > > > > > > > > > > >> > > > > > > > > > > > >>>> > > wrote: > > > > > > > > You need the qml or qtquick development package installed. What > > > > platform are you developing from? If you're on Linux, you > > > > should look > > > > for the qt5*-dev or -devel packages. > > > > > > > > One (more advanced) way around this is to build your own > > > > version of > > > > Qt, and then build Application Manager with the qmake-binary > > > > from your > > > > custom Qt build. Qt depends on QML, but also QtWayland. > > > > > > > > /J > > > > > > > > On 5 August 2016 at 14:23, Aras Balali Moghaddam > > > > > > > > > >> > > > > > > > >>>> wrote: > > > > > Thanks Johan, > > > > > Yes that was my first problem. I > am trying to > > > build the > > > > application manager > > > > > now and I get this error: > > > > > > > > > > Project ERROR: Unknown module(s) > in QT: qml > > > > > Makefile:126: recipe for target > > > > 'sub-notification-lib-make_first' > failed > > > > > make[1]: *** > [sub-notification-lib-make_first] > > > Error 3 > > > > > make[1]: Leaving directory > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > Makefile:42: recipe for target > > > > 'sub-src-make_first-ordered' failed > > > > > make: *** > [sub-src-make_first-ordered] Error 2 > > > > > > > > > > When I run "qmake --version" I > get the > > following: > > > > > > > > > > QMake version 3.0 > > > > > Using Qt version 5.5.1 in > > /usr/lib/x86_64-linux-gnu > > > > > > > > > > I am new to Qt and so far have > only built > > a few > > > of the > > > > sample apps and they > > > > > seem to be working. Any ideas > why I am getting > > > this build > > > > error? > > > > > > > > > > Thank you! > > > > > Aras > > > > > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, > Johan Thelin > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > > > > > wrote: > > > > >> > > > > >> Hi Aras, > > > > >> > > > > >> What executable are you missing? Neptune is meant to be > > > > run using the > > > > >> Application Manager found here: > > > > >> http://code.qt.io/cgit/qt/qtapplicationmanager.git/ > > > > > > > > > >> . > > > > Could that be > > > > >> what is missing? > > > > >> > > > > >> Best regards, > > > > >> > > > > >> Johan Thelin ??? ??? > > > > >> M.Sc.E.E. > > > > >> System Architect > > > > >> > > > > >> PELAGICORE | Experience Change > > > > >> Ekelundsgatan 4, 6tr, SE-411 18 Gothenburg, Sweden > > > > >> Mobile: +46 (0)700 900 250 > > > > > > > > > > > >> Skype: jothpelagicore > > > > >> E-Mail: johan.thelin at pelagicore.com > > > > > > >> > > > > > > > > > > > > >>> > > > > >> > > > > >> > > > > >> On 5 August 2016 at 12:37, Aras Balali Moghaddam > > > > > > > > > >> > > > > > > > >>>> wrote: > > > > >> > Hello! > > > > >> > I have started designing an > interface > > for an > > > industrial > > > > vehicle. I am > > > > >> > planning to develop the UI in > Qt and it > > will > > > run using > > > > a Linux touch > > > > >> > screen > > > > >> > computer inside the cab. I > have a lot to do > > > and a long > > > > ways to go, so I > > > > >> > am > > > > >> > hoping to find an open source > project to > > > collaborate > > > > with and build on > > > > >> > top. > > > > >> > > > > > >> > In my search I came across > Neptune project > > > which looks > > > > promising. I > > > > >> > cloned > > > > >> > this repo and tried building > it, but I have > > > not been > > > > able to run it > > > > >> > (missing > > > > >> > executable). Will that > project run on a > > 64bit > > > ubuntu > > > > linux computer? > > > > >> > > > > > >> > Do you think Neptune would be > a good > > project > > > to look at > > > > as a starting > > > > >> > point. > > > > >> > The things I am mostly > looking for are > > a set > > > of UI > > > > components that are > > > > >> > suitable for in vehicle use, > > integration with > > > CAN, and > > > > I would like to > > > > >> > have > > > > >> > one view that is an > interactive 3D model of > > > the vehicle. > > > > >> > > > > > >> > Thank you for your great work > with Qt and > > > automotive. > > > > Please let me know > > > > >> > if > > > > >> > I am on the right track here > or not. Any > > > advice or > > > > pointers would be > > > > >> > appreciated, as I am still at > very early > > > stages of this > > > > project. > > > > >> > > > > > >> > Thank you! > > > > >> > Aras > > > > >> > > > > > >> > ps: I just joined this list, > so I apologize > > > in advance > > > > if this is not > > > > >> > the > > > > >> > right place for my question. > > > > >> > > > > > >> > > > _______________________________________________ > > > > >> > Automotive mailing list > > > > >> > Automotive at qt-project.org > > > > > > > > > >> > > > > > > > > > > > >>> > > > > >> > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > >> > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Automotive mailing list > > > > Automotive at qt-project.org > > > > > > >> > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > >> > > > > > > > _______________________________________________ > > > Automotive mailing list > > > Automotive at qt-project.org > > > > > > >> > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > > > -- Dominik Holland SENIOR SOFTWARE ENGINEER Pelagicore AG Balanstr. 55, 81541 Munich, Germany +49 (0)171 760 25 96 dominik.holland at pelagicore.com www.pelagicore.com From martin.kampas at jolla.com Tue Aug 9 17:29:07 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Tue, 9 Aug 2016 15:29:07 +0000 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com>, Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F39439@ORD2MBX01B.mex05.mlsrvr.com> Hi J?rgen, > We had some issues where content (e.g. QML, images, ?) where cached and survived a clearComponentCache call. [...] You are right, images need additional handling in addition to clearComponentCache - there is QQuickWindow::releaseResources() which fixes it. Verified with a QML Image element https://codereview.qt-project.org/#/c/167483/ > Ideally we would not use a QQuickView at all and just depend on a QQmlEngine. Also my opinion - proposed in my reply to Dominik Holland. > Additionally we would like to create the out-of-process option, where we control a remote process. This makes it easier to survive crashes from C++ plugins. I understand this feature to be rather orthogonal to the mechanism of reloading. Maybe as a last sort mechanism when things go bad. I would see it better to be implemented somewhere above LiveNodeEngine. Here is my proposal I wrote in my reply to Dominik Holland extended w.r.t your comments: I propose to 1) remove the RecreateView mode and only rely on QQmlEngine::clear/trimComponentCache() and QQuickWindow::releaseResources() 2) require to set QQmlEngine and make setting QQuickView optional (useless when the QML component instantiates QQuickWindow) 3) only after that fix memory leaks in LiveNodeEngine :) 4) remove the UpdateMode enum as no mode selection is needed anymore. Single implementation works in all cases; out-of-process control would be implemented as a feature orthogonal to the mechanism of reloading, not as another mutualy exclusive option. If you agree I will contribute patches for this. BR, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Tue Aug 9 18:32:48 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Tue, 9 Aug 2016 09:32:48 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: Here is the issue I created: https://bugreports.qt.io/browse/AUTOSUITE-2 I mentioned in my bug report that I originally installed qt from 64bit binary and got later built and installed qt from source. In both cases I am getting that error. Anyway, I am really keen to try this project out. Please let me know if there is anything else I could try. Thanks! Aras On Tue, Aug 9, 2016 at 12:29 AM, Dominik Holland < dominik.holland at pelagicore.com> wrote: > Hi, > > you can add a bugreport here: > > https://bugreports.qt.io > Project: Qt Automotive > Component: QtIvi > > > Could you download a Qt installer for your platform here and try it with > that Qt version ? https://www.qt.io/download/ > > It's strange that it doesn't work, as the 5.7 branch of qtivi is tested > together with qt 5.7 in the CI. > > Dominik > > Am 08/09/2016 um 12:00 AM schrieb Aras Balali Moghaddam: > > If anyone can help me fix this problem, it would be much appreciated. I > > am willing to try, if you can point me to the right direction. Do I need > > to install C++11 on my development machine? Do I need to modify some > > configuration files in qtivi? > > > > I am using 64bit ubuntu 16.04. qmake --version gives: > > > > $ qmake --version > > QMake version 3.0 > > Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib > > > > please let me know what else I could try to get this demo working. Also, > > once I go through this I would like to write or update a getting started > > documentation so that other developers like myself do not have to kill > > so much time just to get started. Let me know also where a good place > > for that would be. > > > > Thank you! > > Aras > > > > On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam > > wrote: > > > > Could you tell me where to report the bug? Searching for QT bug > > report took me here > > , but I could not > > find qtivi project there and the qtivi project README file also does > > not mention where to report bugs. Thanks! > > > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland > > > > wrote: > > > > Hi, > > > > this looks like you are compiling without having c++11. > > It seems the c++11 is missing in the pro file. > > > > Could you create a bug-report and give more information about > your > > enivornment there ? > > > > OS > > compiler-version > > Qt version > > ... > > > > Dominik > > > > > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > > > I think I am hitting all the possible errors. I tried building > qtivi as > > > you suggested and I get this error after running "make" > > > > > > In file included from > > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > > > from ../../../include/QtIviCore/ > QIviPropertyAttribute:1, > > > from > > > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h: > 48, > > > from ../../../include/QtIviCore/ > qiviproperty.h:1, > > > from ../../../include/QtIviCore/ > QIviProperty:1, > > > from > > > ../../../include/QtIviVehicleFunctions/../../ > src/ivivehiclefunctions/qiviclimatecontrol.h:46, > > > from > > > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > > > from > > > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, > > > from mainwindow.h:57, > > > from main.cpp:53: > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: > In > > > member function ?void QIviPropertyAttribute:: > registerConverter()?: > > > ../../../include/QtIviCore/../../src/ivicore/ > qivipropertyattribute.h:154:73: > > > *error*: ?>>? should be ?> >? within a nested template > > argument list > > > if > > > (!QMetaType::hasRegisteredComparators< > QIviPropertyAttribute>()) > > > > ^ > > > ../../../include/QtIviCore/../../src/ivicore/ > qivipropertyattribute.h:155:67: > > > *error*: ?>>? should be ?> >? within a nested template > > argument list > > > QMetaType::registerComparators< > QIviPropertyAttribute>(); > > > > ^ > > > Makefile:442: recipe for target '.obj/main.o' failed > > > make[3]: *** [.obj/main.o] Error 1 > > > make[3]: Leaving directory > > > '/home/aras/Projects/qtivi/examples/vehiclefunctions/ > climate_widget' > > > Makefile:44: recipe for target 'sub-climate_widget-make_first' > failed > > > make[2]: *** [sub-climate_widget-make_first] Error 2 > > > > > > > > > I cloned the repo using "git clone git:// > code.qt.io/qt/qtivi.git > > > > >", did I somehow get the wrong > > code or > > > am I missing something else? > > > > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > > > > > >> > > > wrote: > > > > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > > > > > > > > > > > and build/install it with > > > > > > qmake > > > make > > > make install > > > > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > > > I suspect the root of my current problem is this error: > > > > > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is > not installed > > > > > > > > I did some googling but could not find anything helpful. > How can I > > > > install the QtIvi module? > > > > > > > > thanks! > > > > > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam < > arasbm at gmail.com > > > > > > > > > >>> wrote: > > > > > > > > I got further by changing the permissions for the > > /opt/am > > > folder as > > > > you suggested. Now I am getting two new errors. Here > > is the > > > command > > > > I am running and the output: > > > > > > > > $ sudo appman --recreate-database -c > > /opt/am/config.yaml -c > > > > am-config.yaml > > > > [DBG | am.system] Found Applications: > > > > [ > > > [:0] > > > > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > > > ) > > > > [:0] > > > > [DBG | am.system] * APP: "com.pelagicore.browser" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > > > ) > > > > [:0] > > > > [DBG | am.system] * APP: "com.pelagicore.movies" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > > > ) > > > > [:0] > > > > [DBG | am.system] * APP: "com.pelagicore.music" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > > > ) > > > > [:0] > > > > [DBG | am.system] > > > > ] > > > > [:0] > > > > [CRIT | am.system] ERROR: could not connect to D-Bus > > (): Failed to > > > > connect to socket /tmp/dbus-M4yXecMpU8: Connection > > > > refused > > > > [:0] > > > > [WARN | default] QQmlApplicationEngine failed to load > > > > component > [:0] > > > > [WARN | default] > > file:///home/aras/Projects/neptune-ui/Main.qml:65 > > > > Type Display unavailable > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 > Type > > > > ClimateBar unavailable > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > ClimateBar.qml:79 > > > Type > > > > TemperatureLevel unavailable > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > TemperatureLevel.qml:-1 > > > > Type ClimateService unavailable > > > > > > > > > file:///home/aras/Projects/neptune-ui/imports/shared/ > service/climate/ClimateService.qml:34 > > > > module "QtIvi.VehicleFunctions" is not installed > > > > > > > > [:0] > > > > [CRIT | am.system] ERROR: Qml scene does not have a > > root object > > > > > > > > Feels like I am so close to getting this thing > > running. Any idea > > > > what else I am missing? > > > > > > > > Thank you! > > > > Aras > > > > > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > > > > > > > > > > > > > > > > >>> wrote: > > > > > > > > Hi, > > > > > > > > the next thing is to execute the command line > > listed in the > > > > README.md > > > > > > > > ... > > > > or with the Application Manager > > > > > > > > $ appman --recreate-database -c > > $AM_CONFIG_FILE -c > > > > am-config.yaml > > > > > > > > where `AM_CONFIG_FILE` is the path to the > > Application Manager > > > > `config.yaml` file (inside the template-opt > > folder within the > > > > Application Manager delivery). The default > > `config.yaml` > > > points > > > > to the > > > > `/opt/am` folder. If that folder does not > > exists, make sure to > > > > update > > > > the config.yaml settings to the corresponding > paths. > > > > ... > > > > > > > > Am 05.08.16 um 23:05 schrieb Aras Balali > Moghaddam: > > > > > It seems as soon as I make a bit of progress I > > get stuck > > > with a new > > > > > error. Now I am trying to run the neptune app > > using the > > > following command: > > > > > > > > > > :seek: IODevice is not > > > > > open > > [:0] > > > > > [CRIT | am.system] ERROR: could not not seek > > to position > > > 0 in the > > > > > application database (/opt/am/apps.db): > > Permission denied > > > > > > > > I guess you copied the /termplate-opt folder to > > your /opt > > > folder ? > > > > To make it readable from appman you need to add > > correct > > > > permissions to > > > > the folder. > > > > > > > > sudo chmod -R 774 /opt/am > > > > > > > > > > > > > > Interesting thing is that the file > > /opt/am/apps.db does > > > not exist. The > > > > > folder "opt/am" does exist though. What should > > I try next? > > > > > > > > The apps.db is created by appman while scanning > the > > > application > > > > folders. > > > > > > > > Dominik > > > > > > > > > > > > > > Thanks! > > > > > Aras > > > > > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali > > Moghaddam > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > wrote: > > > > > > > > > > Please ignore my last email, it was > > clearly permission issues. I > > > > > tried again doing a "sudo qmake" "sudo > > make" followed by "sudo make > > > > > install" and this time build and install > > finished without error. > > > > > > > > > > Now that I have appman installed, what is > > next? How can I get appman > > > > > to run Neptune? I could not find any > > documentation on how to use appman. > > > > > > > > > > Thanks again! > > > > > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras > > Balali Moghaddam > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > I am developing on Ubuntu. I got > through a > > > number of build > > > > > dependency errors by following your > > suggestion > > > and installing qt > > > > > dev related packages. I have not tried > > building > > > the whole qt > > > > > yet, but one of these days I am sure I > > will. > > > > > > > > > > Should I follow [these instructions] > > > > > > > > > > > > > > > > > > > > > > > > > > > > >>>for > > > > > building the application mmanager? > > Currently I > > > am getting this > > > > > error when I run the build command > > (*sudo* qmake && > > > > make && make > > > > > install): > > > > > > > > > > make[2]: Entering directory > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > > install -m 755 -p ../../bin/appman > > > /usr/local/bin/appman > > > > > install: cannot remove > > '/usr/local/bin/appman': > > > > Permission denied > > > > > Makefile:619: recipe for target > > 'install_target' > > > failed > > > > > make[2]: [install_target] Error 1 > > (ignored) > > > > > strip /usr/local/bin/appman > > > > > strip: '/usr/local/bin/appman': No > > such file > > > > > Makefile:619: recipe for target > > 'install_target' > > > failed > > > > > make[2]: [install_target] Error 1 > > (ignored) > > > > > mkdir: cannot create directory > > > ?/usr/local/share/dbus-1?: > > > > > Permission denied > > > > > Makefile:629: recipe for target > > 'install_dbusif' > > > failed > > > > > make[2]: *** [install_dbusif] Error 1 > > > > > make[2]: Leaving directory > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > > Makefile:216: recipe for target > > > > 'sub-manager-install_subtargets' > > > > > failed > > > > > make[1]: *** > > [sub-manager-install_subtargets] > > > Error 2 > > > > > make[1]: Leaving directory > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > Makefile:66: recipe for target > > > > > 'sub-src-install_subtargets-ordered' > > failed > > > > > make: *** > > [sub-src-install_subtargets-ordered] > > > Error 2 > > > > > > > > > > Any ideas what I am missing now? > > > > > > > > > > Thanks! > > > > > Aras > > > > > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, Johan > > Thelin > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>>> > > > wrote: > > > > > > > > > > You need the qml or qtquick > development package installed. What > > > > > platform are you developing from? > If you're on Linux, you > > > > > should look > > > > > for the qt5*-dev or -devel > packages. > > > > > > > > > > One (more advanced) way around > this is to build your own > > > > > version of > > > > > Qt, and then build Application > Manager with the qmake-binary > > > > > from your > > > > > custom Qt build. Qt depends on > QML, but also QtWayland. > > > > > > > > > > /J > > > > > > > > > > On 5 August 2016 at 14:23, Aras > Balali Moghaddam > > > > > arasbm at gmail.com> > > > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > Thanks Johan, > > > > > > Yes that was my first problem. I > > am trying to > > > > build the > > > > > application manager > > > > > > now and I get this error: > > > > > > > > > > > > Project ERROR: Unknown module(s) > > in QT: qml > > > > > > Makefile:126: recipe for target > > > > > 'sub-notification-lib-make_first' > > failed > > > > > > make[1]: *** > > [sub-notification-lib-make_first] > > > > Error 3 > > > > > > make[1]: Leaving directory > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > > Makefile:42: recipe for target > > > > > 'sub-src-make_first-ordered' failed > > > > > > make: *** > > [sub-src-make_first-ordered] Error 2 > > > > > > > > > > > > When I run "qmake --version" I > > get the > > > following: > > > > > > > > > > > > QMake version 3.0 > > > > > > Using Qt version 5.5.1 in > > > /usr/lib/x86_64-linux-gnu > > > > > > > > > > > > I am new to Qt and so far have > > only built > > > a few > > > > of the > > > > > sample apps and they > > > > > > seem to be working. Any ideas > > why I am getting > > > > this build > > > > > error? > > > > > > > > > > > > Thank you! > > > > > > Aras > > > > > > > > > > > > On Fri, Aug 5, 2016 at 4:31 AM, > > Johan Thelin > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > >>>> > > > > > > wrote: > > > > > >> > > > > > >> Hi Aras, > > > > > >> > > > > > >> What executable are you > missing? Neptune is meant to be > > > > > run using the > > > > > >> Application Manager found here: > > > > > >> http://code.qt.io/cgit/qt/ > qtapplicationmanager.git/ > > > > > > > > > > > qtapplicationmanager.git/ > > > > > > >> . > > > > > Could that be > > > > > >> what is missing? > > > > > >> > > > > > >> Best regards, > > > > > >> > > > > > >> Johan Thelin ??? ??? > > > > > >> M.Sc.E.E. > > > > > >> System Architect > > > > > >> > > > > > >> PELAGICORE | Experience Change > > > > > >> Ekelundsgatan 4, 6tr, SE-411 18 > Gothenburg, Sweden > > > > > >> Mobile: +46 (0)700 900 250 > > > > > > > > > > > 20250> > > > > > >> Skype: jothpelagicore > > > > > >> E-Mail: > johan.thelin at pelagicore.com > > > > > > > > johan.thelin at pelagicore.com> > > > >> > > > > > > > > > > > > > > > > > > > > > >>> > > > > > >> > > > > > >> > > > > > >> On 5 August 2016 at 12:37, Aras > Balali Moghaddam > > > > > arasbm at gmail.com> > > > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > >> > Hello! > > > > > >> > I have started designing an > > interface > > > for an > > > > industrial > > > > > vehicle. I am > > > > > >> > planning to develop the UI in > > Qt and it > > > will > > > > run using > > > > > a Linux touch > > > > > >> > screen > > > > > >> > computer inside the cab. I > > have a lot to do > > > > and a long > > > > > ways to go, so I > > > > > >> > am > > > > > >> > hoping to find an open source > > project to > > > > collaborate > > > > > with and build on > > > > > >> > top. > > > > > >> > > > > > > >> > In my search I came across > > Neptune project > > > > which looks > > > > > promising. I > > > > > >> > cloned > > > > > >> > this repo and tried building > > it, but I have > > > > not been > > > > > able to run it > > > > > >> > (missing > > > > > >> > executable). Will that > > project run on a > > > 64bit > > > > ubuntu > > > > > linux computer? > > > > > >> > > > > > > >> > Do you think Neptune would be > > a good > > > project > > > > to look at > > > > > as a starting > > > > > >> > point. > > > > > >> > The things I am mostly > > looking for are > > > a set > > > > of UI > > > > > components that are > > > > > >> > suitable for in vehicle use, > > > integration with > > > > CAN, and > > > > > I would like to > > > > > >> > have > > > > > >> > one view that is an > > interactive 3D model of > > > > the vehicle. > > > > > >> > > > > > > >> > Thank you for your great work > > with Qt and > > > > automotive. > > > > > Please let me know > > > > > >> > if > > > > > >> > I am on the right track here > > or not. Any > > > > advice or > > > > > pointers would be > > > > > >> > appreciated, as I am still at > > very early > > > > stages of this > > > > > project. > > > > > >> > > > > > > >> > Thank you! > > > > > >> > Aras > > > > > >> > > > > > > >> > ps: I just joined this list, > > so I apologize > > > > in advance > > > > > if this is not > > > > > >> > the > > > > > >> > right place for my question. > > > > > >> > > > > > > >> > > > > _______________________________________________ > > > > > >> > Automotive mailing list > > > > > >> > Automotive at qt-project.org > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>> > > > > > >> > > > > > http://lists.qt-project.org/ > mailman/listinfo/automotive > > > > > > > > > > > mailman/listinfo/automotive > > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________ > _________________ > > > > > Automotive mailing list > > > > > Automotive at qt-project.org Automotive at qt-project.org> > > > Automotive at qt-project.org>> > > org> > > > Automotive at qt-project.org>>> > > > > > http://lists.qt-project.org/ > mailman/listinfo/automotive > > > > > > > > > > > mailman/listinfo/automotive > > > > > > >> > > > > > > > > > _______________________________________________ > > > > Automotive mailing list > > > > Automotive at qt-project.org Automotive at qt-project.org> > > > Automotive at qt-project.org>> > > org> > > > Automotive at qt-project.org>>> > > > > http://lists.qt-project.org/ > mailman/listinfo/automotive > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > Dominik Holland > SENIOR SOFTWARE ENGINEER > > Pelagicore AG > Balanstr. 55, 81541 Munich, Germany > +49 (0)171 760 25 96 > dominik.holland at pelagicore.com > www.pelagicore.com > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.holland at pelagicore.com Tue Aug 9 20:03:34 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Tue, 9 Aug 2016 20:03:34 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> Message-ID: <48bae6f2-016f-0548-e818-29c7bfaeadd9@pelagicore.com> Hi, thanks for reporting the issue. In the meantime i updated the README of neptune with the dependency and also how one can start without qtivi installed. You could give that a try. Dominik Am 09.08.16 um 18:32 schrieb Aras Balali Moghaddam: > Here is the issue I created: https://bugreports.qt.io/browse/AUTOSUITE-2 > > I mentioned in my bug report that I originally installed qt from 64bit > binary and got later built and installed qt from source. In both cases I > am getting that error. > > Anyway, I am really keen to try this project out. Please let me know if > there is anything else I could try. > > Thanks! > Aras > > > On Tue, Aug 9, 2016 at 12:29 AM, Dominik Holland > > > wrote: > > Hi, > > you can add a bugreport here: > > https://bugreports.qt.io > Project: Qt Automotive > Component: QtIvi > > > Could you download a Qt installer for your platform here and try it with > that Qt version ? https://www.qt.io/download/ > > It's strange that it doesn't work, as the 5.7 branch of qtivi is tested > together with qt 5.7 in the CI. > > Dominik > > Am 08/09/2016 um 12:00 AM schrieb Aras Balali Moghaddam: > > If anyone can help me fix this problem, it would be much appreciated. I > > am willing to try, if you can point me to the right direction. Do I need > > to install C++11 on my development machine? Do I need to modify some > > configuration files in qtivi? > > > > I am using 64bit ubuntu 16.04. qmake --version gives: > > > > $ qmake --version > > QMake version 3.0 > > Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib > > > > please let me know what else I could try to get this demo working. Also, > > once I go through this I would like to write or update a getting started > > documentation so that other developers like myself do not have to kill > > so much time just to get started. Let me know also where a good place > > for that would be. > > > > Thank you! > > Aras > > > > On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam > > >> wrote: > > > > Could you tell me where to report the bug? Searching for QT bug > > report took me here > > >, but I could not > > find qtivi project there and the qtivi project README file also does > > not mention where to report bugs. Thanks! > > > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland > > > > >> wrote: > > > > Hi, > > > > this looks like you are compiling without having c++11. > > It seems the c++11 is missing in the pro file. > > > > Could you create a bug-report and give more information > about your > > enivornment there ? > > > > OS > > compiler-version > > Qt version > > ... > > > > Dominik > > > > > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > > > I think I am hitting all the possible errors. I tried > building qtivi as > > > you suggested and I get this error after running "make" > > > > > > In file included from > > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > > > from > ../../../include/QtIviCore/QIviPropertyAttribute:1, > > > from > > > > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, > > > from > ../../../include/QtIviCore/qiviproperty.h:1, > > > from > ../../../include/QtIviCore/QIviProperty:1, > > > from > > > > ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/qiviclimatecontrol.h:46, > > > from > > > > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > > > from > > > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, > > > from mainwindow.h:57, > > > from main.cpp:53: > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: In > > > member function ?void > QIviPropertyAttribute::registerConverter()?: > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:154:73: > > > *error*: ?>>? should be ?> >? within a nested template > > argument list > > > if > > > > (!QMetaType::hasRegisteredComparators>()) > > > > ^ > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:155:67: > > > *error*: ?>>? should be ?> >? within a nested template > > argument list > > > > QMetaType::registerComparators>(); > > > > ^ > > > Makefile:442: recipe for target '.obj/main.o' failed > > > make[3]: *** [.obj/main.o] Error 1 > > > make[3]: Leaving directory > > > > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' > > > Makefile:44: recipe for target > 'sub-climate_widget-make_first' failed > > > make[2]: *** [sub-climate_widget-make_first] Error 2 > > > > > > > > > I cloned the repo using "git clone > git://code.qt.io/qt/qtivi.git > > > > > > > >>", > did I somehow get the wrong > > code or > > > am I missing something else? > > > > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > > > > > > > > >>> > > > wrote: > > > > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > > > > > > > >> > > > > > > and build/install it with > > > > > > qmake > > > make > > > make install > > > > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > > > I suspect the root of my current problem is this error: > > > > > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed > > > > > > > > I did some googling but could not find anything helpful. How can I > > > > install the QtIvi module? > > > > > > > > thanks! > > > > > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam > > > >> > > > > > > > >>>> wrote: > > > > > > > > I got further by changing the permissions for the > > /opt/am > > > folder as > > > > you suggested. Now I am getting two new > errors. Here > > is the > > > command > > > > I am running and the output: > > > > > > > > $ sudo appman --recreate-database -c > > /opt/am/config.yaml -c > > > > am-config.yaml > > > > [DBG | am.system] Found Applications: > > > > [ > > > [:0] > > > > [DBG | am.system] * APP: > "com.kdab.keyboarddemo" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > > > ) > > > > [:0] > > > > [DBG | am.system] * APP: > "com.pelagicore.browser" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > > > ) > > > > [:0] > > > > [DBG | am.system] * APP: > "com.pelagicore.movies" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > > > ) > > > > [:0] > > > > [DBG | am.system] * APP: > "com.pelagicore.music" ( > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > > > ) > > > > [:0] > > > > [DBG | am.system] > > > > ] > > > > [:0] > > > > [CRIT | am.system] ERROR: could not connect to > D-Bus > > (): Failed to > > > > connect to socket /tmp/dbus-M4yXecMpU8: Connection > > > > refused > > > > [:0] > > > > [WARN | default] QQmlApplicationEngine failed > to load > > > > component > [:0] > > > > [WARN | default] > > file:///home/aras/Projects/neptune-ui/Main.qml:65 > > > > Type Display unavailable > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > > > > ClimateBar unavailable > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 > > > Type > > > > TemperatureLevel unavailable > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 > > > > Type ClimateService unavailable > > > > > > > > > > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 > > > > module "QtIvi.VehicleFunctions" is not installed > > > > > > > > [:0] > > > > [CRIT | am.system] ERROR: Qml scene does not > have a > > root object > > > > > > > > Feels like I am so close to getting this thing > > running. Any idea > > > > what else I am missing? > > > > > > > > Thank you! > > > > Aras > > > > > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> wrote: > > > > > > > > Hi, > > > > > > > > the next thing is to execute the command line > > listed in the > > > > README.md > > > > > > > > ... > > > > or with the Application Manager > > > > > > > > $ appman --recreate-database -c > > $AM_CONFIG_FILE -c > > > > am-config.yaml > > > > > > > > where `AM_CONFIG_FILE` is the path to the > > Application Manager > > > > `config.yaml` file (inside the template-opt > > folder within the > > > > Application Manager delivery). The default > > `config.yaml` > > > points > > > > to the > > > > `/opt/am` folder. If that folder does not > > exists, make sure to > > > > update > > > > the config.yaml settings to the > corresponding paths. > > > > ... > > > > > > > > Am 05.08.16 um 23:05 schrieb Aras Balali > Moghaddam: > > > > > It seems as soon as I make a bit of > progress I > > get stuck > > > with a new > > > > > error. Now I am trying to run the > neptune app > > using the > > > following command: > > > > > > > > > > :seek: IODevice is not > > > > > open > > [:0] > > > > > [CRIT | am.system] ERROR: could not not seek > > to position > > > 0 in the > > > > > application database (/opt/am/apps.db): > > Permission denied > > > > > > > > I guess you copied the /termplate-opt > folder to > > your /opt > > > folder ? > > > > To make it readable from appman you need > to add > > correct > > > > permissions to > > > > the folder. > > > > > > > > sudo chmod -R 774 /opt/am > > > > > > > > > > > > > > Interesting thing is that the file > > /opt/am/apps.db does > > > not exist. The > > > > > folder "opt/am" does exist though. What > should > > I try next? > > > > > > > > The apps.db is created by appman while > scanning the > > > application > > > > folders. > > > > > > > > Dominik > > > > > > > > > > > > > > Thanks! > > > > > Aras > > > > > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras Balali > > Moghaddam > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > > >> > > > > > > > > >>>>> wrote: > > > > > > > > > > Please ignore my last email, it was > > clearly permission issues. I > > > > > tried again doing a "sudo qmake" "sudo > > make" followed by "sudo make > > > > > install" and this time build and install > > finished without error. > > > > > > > > > > Now that I have appman installed, > what is > > next? How can I get appman > > > > > to run Neptune? I could not find any > > documentation on how to use appman. > > > > > > > > > > Thanks again! > > > > > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras > > Balali Moghaddam > > > > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > >> > > > > > > > > >>>>> wrote: > > > > > > > > > > I am developing on Ubuntu. I got > through a > > > number of build > > > > > dependency errors by following your > > suggestion > > > and installing qt > > > > > dev related packages. I have not > tried > > building > > > the whole qt > > > > > yet, but one of these days I am > sure I > > will. > > > > > > > > > > Should I follow [these instructions] > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>>for > > > > > building the application mmanager? > > Currently I > > > am getting this > > > > > error when I run the build command > > (*sudo* qmake && > > > > make && make > > > > > install): > > > > > > > > > > make[2]: Entering directory > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > > install -m 755 -p ../../bin/appman > > > /usr/local/bin/appman > > > > > install: cannot remove > > '/usr/local/bin/appman': > > > > Permission denied > > > > > Makefile:619: recipe for target > > 'install_target' > > > failed > > > > > make[2]: [install_target] Error 1 > > (ignored) > > > > > strip /usr/local/bin/appman > > > > > strip: '/usr/local/bin/appman': No > > such file > > > > > Makefile:619: recipe for target > > 'install_target' > > > failed > > > > > make[2]: [install_target] Error 1 > > (ignored) > > > > > mkdir: cannot create directory > > > ?/usr/local/share/dbus-1?: > > > > > Permission denied > > > > > Makefile:629: recipe for target > > 'install_dbusif' > > > failed > > > > > make[2]: *** [install_dbusif] > Error 1 > > > > > make[2]: Leaving directory > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > > Makefile:216: recipe for target > > > > 'sub-manager-install_subtargets' > > > > > failed > > > > > make[1]: *** > > [sub-manager-install_subtargets] > > > Error 2 > > > > > make[1]: Leaving directory > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > Makefile:66: recipe for target > > > > > 'sub-src-install_subtargets-ordered' > > failed > > > > > make: *** > > [sub-src-install_subtargets-ordered] > > > Error 2 > > > > > > > > > > Any ideas what I am missing now? > > > > > > > > > > Thanks! > > > > > Aras > > > > > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, > Johan > > Thelin > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>>> > > > wrote: > > > > > > > > > > You need the qml or qtquick > development package installed. What > > > > > platform are you developing > from? If you're on Linux, you > > > > > should look > > > > > for the qt5*-dev or -devel > packages. > > > > > > > > > > One (more advanced) way > around this is to build your own > > > > > version of > > > > > Qt, and then build > Application Manager with the qmake-binary > > > > > from your > > > > > custom Qt build. Qt depends > on QML, but also QtWayland. > > > > > > > > > > /J > > > > > > > > > > On 5 August 2016 at 14:23, > Aras Balali Moghaddam > > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > >> > > > > > > > > >>>>> wrote: > > > > > > Thanks Johan, > > > > > > Yes that was my first > problem. I > > am trying to > > > > build the > > > > > application manager > > > > > > now and I get this error: > > > > > > > > > > > > Project ERROR: Unknown > module(s) > > in QT: qml > > > > > > Makefile:126: recipe for > target > > > > > > 'sub-notification-lib-make_first' > > failed > > > > > > make[1]: *** > > [sub-notification-lib-make_first] > > > > Error 3 > > > > > > make[1]: Leaving directory > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > > Makefile:42: recipe for target > > > > > 'sub-src-make_first-ordered' > failed > > > > > > make: *** > > [sub-src-make_first-ordered] Error 2 > > > > > > > > > > > > When I run "qmake --version" I > > get the > > > following: > > > > > > > > > > > > QMake version 3.0 > > > > > > Using Qt version 5.5.1 in > > > /usr/lib/x86_64-linux-gnu > > > > > > > > > > > > I am new to Qt and so far have > > only built > > > a few > > > > of the > > > > > sample apps and they > > > > > > seem to be working. Any ideas > > why I am getting > > > > this build > > > > > error? > > > > > > > > > > > > Thank you! > > > > > > Aras > > > > > > > > > > > > On Fri, Aug 5, 2016 at > 4:31 AM, > > Johan Thelin > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>>> > > > > > > wrote: > > > > > >> > > > > > >> Hi Aras, > > > > > >> > > > > > >> What executable are you > missing? Neptune is meant to be > > > > > run using the > > > > > >> Application Manager found > here: > > > > > >> > http://code.qt.io/cgit/qt/qtapplicationmanager.git/ > > > > > > > > > >> > > > > > > > > > > > > > >>> . > > > > > Could that be > > > > > >> what is missing? > > > > > >> > > > > > >> Best regards, > > > > > >> > > > > > >> Johan Thelin ??? ??? > > > > > >> M.Sc.E.E. > > > > > >> System Architect > > > > > >> > > > > > >> PELAGICORE | Experience > Change > > > > > >> Ekelundsgatan 4, 6tr, > SE-411 18 Gothenburg, Sweden > > > > > >> Mobile: +46 (0)700 900 > 250 > > > > > > > > > > > > > > > > > >> Skype: jothpelagicore > > > > > >> E-Mail: > johan.thelin at pelagicore.com > > > > > > >> > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>> > > > > > >> > > > > > >> > > > > > >> On 5 August 2016 at > 12:37, Aras Balali Moghaddam > > > > > > > > > >> > > > > > > > > >>> > > > > > > > > > > >> > > > > > > > > >>>>> wrote: > > > > > >> > Hello! > > > > > >> > I have started designing an > > interface > > > for an > > > > industrial > > > > > vehicle. I am > > > > > >> > planning to develop the > UI in > > Qt and it > > > will > > > > run using > > > > > a Linux touch > > > > > >> > screen > > > > > >> > computer inside the cab. I > > have a lot to do > > > > and a long > > > > > ways to go, so I > > > > > >> > am > > > > > >> > hoping to find an open > source > > project to > > > > collaborate > > > > > with and build on > > > > > >> > top. > > > > > >> > > > > > > >> > In my search I came across > > Neptune project > > > > which looks > > > > > promising. I > > > > > >> > cloned > > > > > >> > this repo and tried > building > > it, but I have > > > > not been > > > > > able to run it > > > > > >> > (missing > > > > > >> > executable). Will that > > project run on a > > > 64bit > > > > ubuntu > > > > > linux computer? > > > > > >> > > > > > > >> > Do you think Neptune > would be > > a good > > > project > > > > to look at > > > > > as a starting > > > > > >> > point. > > > > > >> > The things I am mostly > > looking for are > > > a set > > > > of UI > > > > > components that are > > > > > >> > suitable for in vehicle > use, > > > integration with > > > > CAN, and > > > > > I would like to > > > > > >> > have > > > > > >> > one view that is an > > interactive 3D model of > > > > the vehicle. > > > > > >> > > > > > > >> > Thank you for your > great work > > with Qt and > > > > automotive. > > > > > Please let me know > > > > > >> > if > > > > > >> > I am on the right track > here > > or not. Any > > > > advice or > > > > > pointers would be > > > > > >> > appreciated, as I am > still at > > very early > > > > stages of this > > > > > project. > > > > > >> > > > > > > >> > Thank you! > > > > > >> > Aras > > > > > >> > > > > > > >> > ps: I just joined this > list, > > so I apologize > > > > in advance > > > > > if this is not > > > > > >> > the > > > > > >> > right place for my > question. > > > > > >> > > > > > > >> > > > > _______________________________________________ > > > > > >> > Automotive mailing list > > > > > >> > > Automotive at qt-project.org > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>> > > > > > >> > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Automotive mailing list > > > > > Automotive at qt-project.org > > > > > >> > > > > > > >>> > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > >>> > > > > > > > > > > _______________________________________________ > > > > Automotive mailing list > > > > Automotive at qt-project.org > > > > > >> > > > > > > >>> > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > Dominik Holland > SENIOR SOFTWARE ENGINEER > > Pelagicore AG > Balanstr. 55, 81541 Munich, Germany > +49 (0)171 760 25 96 > dominik.holland at pelagicore.com > www.pelagicore.com > > From arasbm at gmail.com Tue Aug 9 20:35:02 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Tue, 9 Aug 2016 11:35:02 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: <48bae6f2-016f-0548-e818-29c7bfaeadd9@pelagicore.com> References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> <48bae6f2-016f-0548-e818-29c7bfaeadd9@pelagicore.com> Message-ID: Thank you Dominik for telling me about the "-I dummyimports" option so I can bypass qtivi while I figure out how to build it. Now I get a new error: ------ ~/Projects/neptune-ui$ sudo appman --recreate-database -c /opt/am/config.yaml -c am-config.yaml -I dummyimports [DBG | am.system] Found Applications: [ [:0] [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" ) [:0] [DBG | am.system] * APP: "com.pelagicore.browser" ( "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" ) [:0] [DBG | am.system] * APP: "com.pelagicore.movies" ( "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" ) [:0] [DBG | am.system] * APP: "com.pelagicore.music" ( "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" ) [:0] [DBG | am.system] ] [:0] [WARN | default] QQmlApplicationEngine failed to load component [:0] [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 Type Display unavailable file:///home/aras/Projects/neptune-ui/sysui/Display.qml:60 Type StatusBar unavailable file:///home/aras/Projects/neptune-ui/sysui/StatusBar/StatusBar.qml:80 Type Weather unavailable file:///home/aras/Projects/neptune-ui/sysui/StatusBar/Weather.qml:-1 Type ClimateService unavailable file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:122 Type ClimateStateMachine unavailable file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateStateMachine.qml:33 module "QtQml.StateMachine" is not installed [:0] [CRIT | am.system] ERROR: Qml scene does not have a root object ------ What am I missing now? On Tue, Aug 9, 2016 at 11:03 AM, Dominik Holland < dominik.holland at pelagicore.com> wrote: > Hi, > > thanks for reporting the issue. > > In the meantime i updated the README of neptune with the dependency and > also how one can start without qtivi installed. > > You could give that a try. > > Dominik > > Am 09.08.16 um 18:32 schrieb Aras Balali Moghaddam: > > Here is the issue I created: https://bugreports.qt.io/browse/AUTOSUITE-2 > > > > I mentioned in my bug report that I originally installed qt from 64bit > > binary and got later built and installed qt from source. In both cases I > > am getting that error. > > > > Anyway, I am really keen to try this project out. Please let me know if > > there is anything else I could try. > > > > Thanks! > > Aras > > > > > > On Tue, Aug 9, 2016 at 12:29 AM, Dominik Holland > > > > > wrote: > > > > Hi, > > > > you can add a bugreport here: > > > > https://bugreports.qt.io > > Project: Qt Automotive > > Component: QtIvi > > > > > > Could you download a Qt installer for your platform here and try it > with > > that Qt version ? https://www.qt.io/download/ > > > > It's strange that it doesn't work, as the 5.7 branch of qtivi is > tested > > together with qt 5.7 in the CI. > > > > Dominik > > > > Am 08/09/2016 um 12:00 AM schrieb Aras Balali Moghaddam: > > > If anyone can help me fix this problem, it would be much > appreciated. I > > > am willing to try, if you can point me to the right direction. Do > I need > > > to install C++11 on my development machine? Do I need to modify > some > > > configuration files in qtivi? > > > > > > I am using 64bit ubuntu 16.04. qmake --version gives: > > > > > > $ qmake --version > > > QMake version 3.0 > > > Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib > > > > > > please let me know what else I could try to get this demo working. > Also, > > > once I go through this I would like to write or update a getting > started > > > documentation so that other developers like myself do not have to > kill > > > so much time just to get started. Let me know also where a good > place > > > for that would be. > > > > > > Thank you! > > > Aras > > > > > > On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam < > arasbm at gmail.com > > > >> wrote: > > > > > > Could you tell me where to report the bug? Searching for QT bug > > > report took me here > > > > >, but I could not > > > find qtivi project there and the qtivi project README file > also does > > > not mention where to report bugs. Thanks! > > > > > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland > > > pelagicore.com> > > > > >> wrote: > > > > > > Hi, > > > > > > this looks like you are compiling without having c++11. > > > It seems the c++11 is missing in the pro file. > > > > > > Could you create a bug-report and give more information > > about your > > > enivornment there ? > > > > > > OS > > > compiler-version > > > Qt version > > > ... > > > > > > Dominik > > > > > > > > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > > > > I think I am hitting all the possible errors. I tried > > building qtivi as > > > > you suggested and I get this error after running "make" > > > > > > > > In file included from > > > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > > > > from > > ../../../include/QtIviCore/QIviPropertyAttribute:1, > > > > from > > > > > > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, > > > > from > > ../../../include/QtIviCore/qiviproperty.h:1, > > > > from > > ../../../include/QtIviCore/QIviProperty:1, > > > > from > > > > > > ../../../include/QtIviVehicleFunctions/../../ > src/ivivehiclefunctions/qiviclimatecontrol.h:46, > > > > from > > > > > > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > > > > from > > > > ../../../include/QtIviVehicleFunctions/ > QIviClimateControl:1, > > > > from mainwindow.h:57, > > > > from main.cpp:53: > > > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: > In > > > > member function ?void > > QIviPropertyAttribute::registerConverter()?: > > > > > > ../../../include/QtIviCore/../../src/ivicore/ > qivipropertyattribute.h:154:73: > > > > *error*: ?>>? should be ?> >? within a nested template > > > argument list > > > > if > > > > > > (!QMetaType::hasRegisteredComparators>()) > > > > > > ^ > > > > > > ../../../include/QtIviCore/../../src/ivicore/ > qivipropertyattribute.h:155:67: > > > > *error*: ?>>? should be ?> >? within a nested template > > > argument list > > > > > > QMetaType::registerComparators>(); > > > > > > ^ > > > > Makefile:442: recipe for target '.obj/main.o' failed > > > > make[3]: *** [.obj/main.o] Error 1 > > > > make[3]: Leaving directory > > > > > > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' > > > > Makefile:44: recipe for target > > 'sub-climate_widget-make_first' failed > > > > make[2]: *** [sub-climate_widget-make_first] Error 2 > > > > > > > > > > > > I cloned the repo using "git clone > > git://code.qt.io/qt/qtivi.git > > > > > > > > > > > http://code.qt.io/qt/qtivi.git>>>", > > did I somehow get the wrong > > > code or > > > > am I missing something else? > > > > > > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > > pelagicore.com> > > > dominik.holland at pelagicore.com>> > > > dominik.holland at pelagicore.com> > > > > >>> > > > > wrote: > > > > > > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > > > > > > > > > > > > > > >> > > > > > > > > and build/install it with > > > > > > > > qmake > > > > make > > > > make install > > > > > > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > > > > I suspect the root of my current problem is this > error: > > > > > > > > > > ClimateService.qml:34 module > "QtIvi.VehicleFunctions" is not installed > > > > > > > > > > I did some googling but could not find anything > helpful. How can I > > > > > install the QtIvi module? > > > > > > > > > > thanks! > > > > > > > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali > Moghaddam arasbm at gmail.com > > > > > > > > >> > > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > I got further by changing the permissions for > the > > > /opt/am > > > > folder as > > > > > you suggested. Now I am getting two new > > errors. Here > > > is the > > > > command > > > > > I am running and the output: > > > > > > > > > > $ sudo appman --recreate-database -c > > > /opt/am/config.yaml -c > > > > > am-config.yaml > > > > > [DBG | am.system] Found Applications: > > > > > [ > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.kdab.keyboarddemo" ( > > > > > > > > "/home/aras/Projects/neptune- > ui/apps/com.kdab.keyboarddemo" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.pelagicore.browser" ( > > > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore. > browser" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.pelagicore.movies" ( > > > > > > > > "/home/aras/Projects/neptune- > ui/apps/com.pelagicore.movies" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.pelagicore.music" ( > > > > > > > > "/home/aras/Projects/neptune- > ui/apps/com.pelagicore.music" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] > > > > > ] > > > > > [:0] > > > > > [CRIT | am.system] ERROR: could not connect to > > D-Bus > > > (): Failed to > > > > > connect to socket /tmp/dbus-M4yXecMpU8: > Connection > > > > > refused > > > > > [:0] > > > > > [WARN | default] QQmlApplicationEngine failed > > to load > > > > > component > > [:0] > > > > > [WARN | default] > > > file:///home/aras/Projects/neptune-ui/Main.qml:65 > > > > > Type Display unavailable > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > > > > > ClimateBar unavailable > > > > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > ClimateBar.qml:79 > > > > Type > > > > > TemperatureLevel unavailable > > > > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ > TemperatureLevel.qml:-1 > > > > > Type ClimateService unavailable > > > > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/imports/shared/ > service/climate/ClimateService.qml:34 > > > > > module "QtIvi.VehicleFunctions" is not > installed > > > > > > > > > > [:0] > > > > > [CRIT | am.system] ERROR: Qml scene does not > > have a > > > root object > > > > > > > > > > Feels like I am so close to getting this thing > > > running. Any idea > > > > > what else I am missing? > > > > > > > > > > Thank you! > > > > > Aras > > > > > > > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik Holland > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>>> wrote: > > > > > > > > > > Hi, > > > > > > > > > > the next thing is to execute the command > line > > > listed in the > > > > > README.md > > > > > > > > > > ... > > > > > or with the Application Manager > > > > > > > > > > $ appman --recreate-database -c > > > $AM_CONFIG_FILE -c > > > > > am-config.yaml > > > > > > > > > > where `AM_CONFIG_FILE` is the path to the > > > Application Manager > > > > > `config.yaml` file (inside the template-opt > > > folder within the > > > > > Application Manager delivery). The default > > > `config.yaml` > > > > points > > > > > to the > > > > > `/opt/am` folder. If that folder does not > > > exists, make sure to > > > > > update > > > > > the config.yaml settings to the > > corresponding paths. > > > > > ... > > > > > > > > > > Am 05.08.16 um 23:05 schrieb Aras Balali > > Moghaddam: > > > > > > It seems as soon as I make a bit of > > progress I > > > get stuck > > > > with a new > > > > > > error. Now I am trying to run the > > neptune app > > > using the > > > > following command: > > > > > > > > > > > > :seek: IODevice is not > > > > > > open > > > [:0] > > > > > > [CRIT | am.system] ERROR: could not not > seek > > > to position > > > > 0 in the > > > > > > application database (/opt/am/apps.db): > > > Permission denied > > > > > > > > > > I guess you copied the /termplate-opt > > folder to > > > your /opt > > > > folder ? > > > > > To make it readable from appman you need > > to add > > > correct > > > > > permissions to > > > > > the folder. > > > > > > > > > > sudo chmod -R 774 /opt/am > > > > > > > > > > > > > > > > > Interesting thing is that the file > > > /opt/am/apps.db does > > > > not exist. The > > > > > > folder "opt/am" does exist though. What > > should > > > I try next? > > > > > > > > > > The apps.db is created by appman while > > scanning the > > > > application > > > > > folders. > > > > > > > > > > Dominik > > > > > > > > > > > > > > > > > Thanks! > > > > > > Aras > > > > > > > > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras > Balali > > > Moghaddam > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > > > Please ignore my last email, it was > > > clearly permission issues. I > > > > > > tried again doing a "sudo qmake" > "sudo > > > make" followed by "sudo make > > > > > > install" and this time build and > install > > > finished without error. > > > > > > > > > > > > Now that I have appman installed, > > what is > > > next? How can I get appman > > > > > > to run Neptune? I could not find any > > > documentation on how to use appman. > > > > > > > > > > > > Thanks again! > > > > > > > > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras > > > Balali Moghaddam > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > > > I am developing on Ubuntu. I got > > through a > > > > number of build > > > > > > dependency errors by following > your > > > suggestion > > > > and installing qt > > > > > > dev related packages. I have not > > tried > > > building > > > > the whole qt > > > > > > yet, but one of these days I am > > sure I > > > will. > > > > > > > > > > > > Should I follow [these > instructions] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>>>for > > > > > > building the application > mmanager? > > > Currently I > > > > am getting this > > > > > > error when I run the build > command > > > (*sudo* qmake && > > > > > make && make > > > > > > install): > > > > > > > > > > > > make[2]: Entering directory > > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/ > manager' > > > > > > install -m 755 -p > ../../bin/appman > > > > /usr/local/bin/appman > > > > > > install: cannot remove > > > '/usr/local/bin/appman': > > > > > Permission denied > > > > > > Makefile:619: recipe for target > > > 'install_target' > > > > failed > > > > > > make[2]: [install_target] Error 1 > > > (ignored) > > > > > > strip /usr/local/bin/appman > > > > > > strip: '/usr/local/bin/appman': > No > > > such file > > > > > > Makefile:619: recipe for target > > > 'install_target' > > > > failed > > > > > > make[2]: [install_target] Error 1 > > > (ignored) > > > > > > mkdir: cannot create directory > > > > ?/usr/local/share/dbus-1?: > > > > > > Permission denied > > > > > > Makefile:629: recipe for target > > > 'install_dbusif' > > > > failed > > > > > > make[2]: *** [install_dbusif] > > Error 1 > > > > > > make[2]: Leaving directory > > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/ > manager' > > > > > > Makefile:216: recipe for target > > > > > 'sub-manager-install_subtargets' > > > > > > failed > > > > > > make[1]: *** > > > [sub-manager-install_subtargets] > > > > Error 2 > > > > > > make[1]: Leaving directory > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > > Makefile:66: recipe for target > > > > > > 'sub-src-install_subtargets- > ordered' > > > failed > > > > > > make: *** > > > [sub-src-install_subtargets-ordered] > > > > Error 2 > > > > > > > > > > > > Any ideas what I am missing now? > > > > > > > > > > > > Thanks! > > > > > > Aras > > > > > > > > > > > > On Fri, Aug 5, 2016 at 9:57 AM, > > Johan > > > Thelin > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>>>> > > > > wrote: > > > > > > > > > > > > You need the qml or qtquick > > development package installed. What > > > > > > platform are you developing > > from? If you're on Linux, you > > > > > > should look > > > > > > for the qt5*-dev or -devel > > packages. > > > > > > > > > > > > One (more advanced) way > > around this is to build your own > > > > > > version of > > > > > > Qt, and then build > > Application Manager with the qmake-binary > > > > > > from your > > > > > > custom Qt build. Qt depends > > on QML, but also QtWayland. > > > > > > > > > > > > /J > > > > > > > > > > > > On 5 August 2016 at 14:23, > > Aras Balali Moghaddam > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > > Thanks Johan, > > > > > > > Yes that was my first > > problem. I > > > am trying to > > > > > build the > > > > > > application manager > > > > > > > now and I get this error: > > > > > > > > > > > > > > Project ERROR: Unknown > > module(s) > > > in QT: qml > > > > > > > Makefile:126: recipe for > > target > > > > > > > > 'sub-notification-lib-make_first' > > > failed > > > > > > > make[1]: *** > > > [sub-notification-lib-make_first] > > > > > Error 3 > > > > > > > make[1]: Leaving directory > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > > > Makefile:42: recipe for > target > > > > > > 'sub-src-make_first-ordered' > > failed > > > > > > > make: *** > > > [sub-src-make_first-ordered] Error 2 > > > > > > > > > > > > > > When I run "qmake > --version" I > > > get the > > > > following: > > > > > > > > > > > > > > QMake version 3.0 > > > > > > > Using Qt version 5.5.1 in > > > > /usr/lib/x86_64-linux-gnu > > > > > > > > > > > > > > I am new to Qt and so far > have > > > only built > > > > a few > > > > > of the > > > > > > sample apps and they > > > > > > > seem to be working. Any > ideas > > > why I am getting > > > > > this build > > > > > > error? > > > > > > > > > > > > > > Thank you! > > > > > > > Aras > > > > > > > > > > > > > > On Fri, Aug 5, 2016 at > > 4:31 AM, > > > Johan Thelin > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>>>> > > > > > > > wrote: > > > > > > >> > > > > > > >> Hi Aras, > > > > > > >> > > > > > > >> What executable are you > > missing? Neptune is meant to be > > > > > > run using the > > > > > > >> Application Manager found > > here: > > > > > > >> > > http://code.qt.io/cgit/qt/qtapplicationmanager.git/ > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > >>> . > > > > > > Could that be > > > > > > >> what is missing? > > > > > > >> > > > > > > >> Best regards, > > > > > > >> > > > > > > >> Johan Thelin ??? ??? > > > > > > >> M.Sc.E.E. > > > > > > >> System Architect > > > > > > >> > > > > > > >> PELAGICORE | Experience > > Change > > > > > > >> Ekelundsgatan 4, 6tr, > > SE-411 18 Gothenburg, Sweden > > > > > > >> Mobile: +46 (0)700 900 > > 250 > > > > > > > > > > > > > > > > > > > > > > > >> Skype: jothpelagicore > > > > > > >> E-Mail: > > johan.thelin at pelagicore.com > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>>> > > > > > > >> > > > > > > >> > > > > > > >> On 5 August 2016 at > > 12:37, Aras Balali Moghaddam > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > >> > Hello! > > > > > > >> > I have started > designing an > > > interface > > > > for an > > > > > industrial > > > > > > vehicle. I am > > > > > > >> > planning to develop the > > UI in > > > Qt and it > > > > will > > > > > run using > > > > > > a Linux touch > > > > > > >> > screen > > > > > > >> > computer inside the > cab. I > > > have a lot to do > > > > > and a long > > > > > > ways to go, so I > > > > > > >> > am > > > > > > >> > hoping to find an open > > source > > > project to > > > > > collaborate > > > > > > with and build on > > > > > > >> > top. > > > > > > >> > > > > > > > >> > In my search I came > across > > > Neptune project > > > > > which looks > > > > > > promising. I > > > > > > >> > cloned > > > > > > >> > this repo and tried > > building > > > it, but I have > > > > > not been > > > > > > able to run it > > > > > > >> > (missing > > > > > > >> > executable). Will that > > > project run on a > > > > 64bit > > > > > ubuntu > > > > > > linux computer? > > > > > > >> > > > > > > > >> > Do you think Neptune > > would be > > > a good > > > > project > > > > > to look at > > > > > > as a starting > > > > > > >> > point. > > > > > > >> > The things I am mostly > > > looking for are > > > > a set > > > > > of UI > > > > > > components that are > > > > > > >> > suitable for in vehicle > > use, > > > > integration with > > > > > CAN, and > > > > > > I would like to > > > > > > >> > have > > > > > > >> > one view that is an > > > interactive 3D model of > > > > > the vehicle. > > > > > > >> > > > > > > > >> > Thank you for your > > great work > > > with Qt and > > > > > automotive. > > > > > > Please let me know > > > > > > >> > if > > > > > > >> > I am on the right track > > here > > > or not. Any > > > > > advice or > > > > > > pointers would be > > > > > > >> > appreciated, as I am > > still at > > > very early > > > > > stages of this > > > > > > project. > > > > > > >> > > > > > > > >> > Thank you! > > > > > > >> > Aras > > > > > > >> > > > > > > > >> > ps: I just joined this > > list, > > > so I apologize > > > > > in advance > > > > > > if this is not > > > > > > >> > the > > > > > > >> > right place for my > > question. > > > > > > >> > > > > > > > >> > > > > > _______________________________________________ > > > > > > >> > Automotive mailing list > > > > > > >> > > > Automotive at qt-project.org > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > >>>> > > > > > > >> > > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Automotive mailing list > > > > > > Automotive at qt-project.org > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > _______________________________________________ > > > > > Automotive mailing list > > > > > Automotive at qt-project.org > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Dominik Holland > > SENIOR SOFTWARE ENGINEER > > > > Pelagicore AG > > Balanstr. 55, 81541 Munich, Germany > > +49 (0)171 760 25 96 > > dominik.holland at pelagicore.com pelagicore.com> > > www.pelagicore.com > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Tue Aug 9 21:53:33 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Tue, 9 Aug 2016 12:53:33 -0700 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> <48bae6f2-016f-0548-e818-29c7bfaeadd9@pelagicore.com> Message-ID: Oh my god it is finally running! Only took 4 days since I decided to try out the neptune ui and finally I could build it. The last couple of dependency errors I got where resolved after running: $ sudo apt install qml-module-qtqml-statemachine qtdeclarative5-models-plugin I am a bit confused why I still needed to install those, I thought they would be included in Qt installation. Is there a document somewhere that I should update with those dependencies? Thank you again Johan and Dominic for you help! Aras On Tue, Aug 9, 2016 at 11:35 AM, Aras Balali Moghaddam wrote: > Thank you Dominik for telling me about the "-I dummyimports" option so I > can bypass qtivi while I figure out how to build it. Now I get a new error: > > ------ > ~/Projects/neptune-ui$ sudo appman --recreate-database -c > /opt/am/config.yaml -c am-config.yaml -I dummyimports > [DBG | am.system] Found Applications: [ > [:0] > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > ) [:0] > [DBG | am.system] * APP: "com.pelagicore.browser" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" ) > [:0] > [DBG | am.system] * APP: "com.pelagicore.movies" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > ) [:0] > [DBG | am.system] * APP: "com.pelagicore.music" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > ) [:0] > [DBG | am.system] ] > > [:0] > [WARN | default] QQmlApplicationEngine failed to load > component > [:0] > [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 Type > Display unavailable > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:60 Type StatusBar > unavailable > file:///home/aras/Projects/neptune-ui/sysui/StatusBar/StatusBar.qml:80 > Type Weather unavailable > file:///home/aras/Projects/neptune-ui/sysui/StatusBar/Weather.qml:-1 Type > ClimateService unavailable > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:122 > Type ClimateStateMachine unavailable > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateStateMachine.qml:33 > module "QtQml.StateMachine" is not installed > > [:0] > [CRIT | am.system] ERROR: Qml scene does not have a root object > ------ > > What am I missing now? > > On Tue, Aug 9, 2016 at 11:03 AM, Dominik Holland < > dominik.holland at pelagicore.com> wrote: > >> Hi, >> >> thanks for reporting the issue. >> >> In the meantime i updated the README of neptune with the dependency and >> also how one can start without qtivi installed. >> >> You could give that a try. >> >> Dominik >> >> Am 09.08.16 um 18:32 schrieb Aras Balali Moghaddam: >> > Here is the issue I created: https://bugreports.qt.io/brows >> e/AUTOSUITE-2 >> > >> > I mentioned in my bug report that I originally installed qt from 64bit >> > binary and got later built and installed qt from source. In both cases I >> > am getting that error. >> > >> > Anyway, I am really keen to try this project out. Please let me know if >> > there is anything else I could try. >> > >> > Thanks! >> > Aras >> > >> > >> > On Tue, Aug 9, 2016 at 12:29 AM, Dominik Holland >> > > >> >> > wrote: >> > >> > Hi, >> > >> > you can add a bugreport here: >> > >> > https://bugreports.qt.io >> > Project: Qt Automotive >> > Component: QtIvi >> > >> > >> > Could you download a Qt installer for your platform here and try it >> with >> > that Qt version ? https://www.qt.io/download/ >> > >> > It's strange that it doesn't work, as the 5.7 branch of qtivi is >> tested >> > together with qt 5.7 in the CI. >> > >> > Dominik >> > >> > Am 08/09/2016 um 12:00 AM schrieb Aras Balali Moghaddam: >> > > If anyone can help me fix this problem, it would be much >> appreciated. I >> > > am willing to try, if you can point me to the right direction. Do >> I need >> > > to install C++11 on my development machine? Do I need to modify >> some >> > > configuration files in qtivi? >> > > >> > > I am using 64bit ubuntu 16.04. qmake --version gives: >> > > >> > > $ qmake --version >> > > QMake version 3.0 >> > > Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib >> > > >> > > please let me know what else I could try to get this demo >> working. Also, >> > > once I go through this I would like to write or update a getting >> started >> > > documentation so that other developers like myself do not have to >> kill >> > > so much time just to get started. Let me know also where a good >> place >> > > for that would be. >> > > >> > > Thank you! >> > > Aras >> > > >> > > On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam < >> arasbm at gmail.com >> > > >> wrote: >> > > >> > > Could you tell me where to report the bug? Searching for QT >> bug >> > > report took me here >> > > > > >, but I could not >> > > find qtivi project there and the qtivi project README file >> also does >> > > not mention where to report bugs. Thanks! >> > > >> > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland >> > > > dominik.holland at pelagicore.com> >> > > > > >> wrote: >> > > >> > > Hi, >> > > >> > > this looks like you are compiling without having c++11. >> > > It seems the c++11 is missing in the pro file. >> > > >> > > Could you create a bug-report and give more information >> > about your >> > > enivornment there ? >> > > >> > > OS >> > > compiler-version >> > > Qt version >> > > ... >> > > >> > > Dominik >> > > >> > > >> > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: >> > > > I think I am hitting all the possible errors. I tried >> > building qtivi as >> > > > you suggested and I get this error after running "make" >> > > > >> > > > In file included from >> > > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, >> > > > from >> > ../../../include/QtIviCore/QIviPropertyAttribute:1, >> > > > from >> > > > >> > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, >> > > > from >> > ../../../include/QtIviCore/qiviproperty.h:1, >> > > > from >> > ../../../include/QtIviCore/QIviProperty:1, >> > > > from >> > > > >> > ../../../include/QtIviVehicleFunctions/../../src/ >> ivivehiclefunctions/qiviclimatecontrol.h:46, >> > > > from >> > > > >> > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, >> > > > from >> > > > ../../../include/QtIviVehicleF >> unctions/QIviClimateControl:1, >> > > > from mainwindow.h:57, >> > > > from main.cpp:53: >> > > > >> > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: >> In >> > > > member function ?void >> > QIviPropertyAttribute::registerConverter()?: >> > > > >> > ../../../include/QtIviCore/../../src/ivicore/qivipropertyat >> tribute.h:154:73: >> > > > *error*: ?>>? should be ?> >? within a nested template >> > > argument list >> > > > if >> > > > >> > (!QMetaType::hasRegisteredComparators>()) >> > > > >> > ^ >> > > > >> > ../../../include/QtIviCore/../../src/ivicore/qivipropertyat >> tribute.h:155:67: >> > > > *error*: ?>>? should be ?> >? within a nested template >> > > argument list >> > > > >> > QMetaType::registerComparators>(); >> > > > >> > ^ >> > > > Makefile:442: recipe for target '.obj/main.o' failed >> > > > make[3]: *** [.obj/main.o] Error 1 >> > > > make[3]: Leaving directory >> > > > >> > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climat >> e_widget' >> > > > Makefile:44: recipe for target >> > 'sub-climate_widget-make_first' failed >> > > > make[2]: *** [sub-climate_widget-make_first] Error 2 >> > > > >> > > > >> > > > I cloned the repo using "git clone >> > git://code.qt.io/qt/qtivi.git >> > > >> > > > > > >> > > > http://code.qt.io/qt/qtivi.git>>>", >> > did I somehow get the wrong >> > > code or >> > > > am I missing something else? >> > > > >> > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland >> > > > > dominik.holland at pelagicore.com> >> > > > dominik.holland at pelagicore.com>> >> > > > dominik.holland at pelagicore.com> >> > > > > >>> >> > > > wrote: >> > > > >> > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ >> > >> > > > > > >> > > > > > >> > > > > >> >> > > > >> > > > and build/install it with >> > > > >> > > > qmake >> > > > make >> > > > make install >> > > > >> > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: >> > > > > I suspect the root of my current problem is this >> error: >> > > > > >> > > > > ClimateService.qml:34 module >> "QtIvi.VehicleFunctions" is not installed >> > > > > >> > > > > I did some googling but could not find anything >> helpful. How can I >> > > > > install the QtIvi module? >> > > > > >> > > > > thanks! >> > > > > >> > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali >> Moghaddam > arasbm at gmail.com >> > > >> > > >> > > >> >> > > > > >> > > > >> > > >> > > >>>> wrote: >> > > > > >> > > > > I got further by changing the permissions for >> the >> > > /opt/am >> > > > folder as >> > > > > you suggested. Now I am getting two new >> > errors. Here >> > > is the >> > > > command >> > > > > I am running and the output: >> > > > > >> > > > > $ sudo appman --recreate-database -c >> > > /opt/am/config.yaml -c >> > > > > am-config.yaml >> > > > > [DBG | am.system] Found Applications: >> > > > > [ >> > > > [:0] >> > > > > [DBG | am.system] * APP: >> > "com.kdab.keyboarddemo" ( >> > > > > >> > > "/home/aras/Projects/neptune-u >> i/apps/com.kdab.keyboarddemo" >> > > > > ) >> > > > > [:0] >> > > > > [DBG | am.system] * APP: >> > "com.pelagicore.browser" ( >> > > > > >> > > "/home/aras/Projects/neptune-u >> i/apps/com.pelagicore.browser" >> > > > > ) >> > > > > [:0] >> > > > > [DBG | am.system] * APP: >> > "com.pelagicore.movies" ( >> > > > > >> > > "/home/aras/Projects/neptune-u >> i/apps/com.pelagicore.movies" >> > > > > ) >> > > > > [:0] >> > > > > [DBG | am.system] * APP: >> > "com.pelagicore.music" ( >> > > > > >> > > "/home/aras/Projects/neptune-u >> i/apps/com.pelagicore.music" >> > > > > ) >> > > > > [:0] >> > > > > [DBG | am.system] >> > > > > ] >> > > > > [:0] >> > > > > [CRIT | am.system] ERROR: could not connect to >> > D-Bus >> > > (): Failed to >> > > > > connect to socket /tmp/dbus-M4yXecMpU8: >> Connection >> > > > > refused >> > > > > [:0] >> > > > > [WARN | default] QQmlApplicationEngine failed >> > to load >> > > > > component >> > [:0] >> > > > > [WARN | default] >> > > file:///home/aras/Projects/neptune-ui/Main.qml:65 >> > > > > Type Display unavailable >> > > > > >> > > >> > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type >> > > > > ClimateBar unavailable >> > > > > >> > > > >> > > >> > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateB >> ar.qml:79 >> > > > Type >> > > > > TemperatureLevel unavailable >> > > > > >> > > > >> > > >> > file:///home/aras/Projects/neptune-ui/sysui/Climate/Temperat >> ureLevel.qml:-1 >> > > > > Type ClimateService unavailable >> > > > > >> > > > >> > > >> > file:///home/aras/Projects/neptune-ui/imports/shared/service >> /climate/ClimateService.qml:34 >> > > > > module "QtIvi.VehicleFunctions" is not >> installed >> > > > > >> > > > > [:0] >> > > > > [CRIT | am.system] ERROR: Qml scene does not >> > have a >> > > root object >> > > > > >> > > > > Feels like I am so close to getting this thing >> > > running. Any idea >> > > > > what else I am missing? >> > > > > >> > > > > Thank you! >> > > > > Aras >> > > > > >> > > > > On Sat, Aug 6, 2016 at 1:17 AM, Dominik >> Holland >> > > > > > > >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > > >> > > > > >>>> wrote: >> > > > > >> > > > > Hi, >> > > > > >> > > > > the next thing is to execute the command >> line >> > > listed in the >> > > > > README.md >> > > > > >> > > > > ... >> > > > > or with the Application Manager >> > > > > >> > > > > $ appman --recreate-database -c >> > > $AM_CONFIG_FILE -c >> > > > > am-config.yaml >> > > > > >> > > > > where `AM_CONFIG_FILE` is the path to the >> > > Application Manager >> > > > > `config.yaml` file (inside the >> template-opt >> > > folder within the >> > > > > Application Manager delivery). The default >> > > `config.yaml` >> > > > points >> > > > > to the >> > > > > `/opt/am` folder. If that folder does not >> > > exists, make sure to >> > > > > update >> > > > > the config.yaml settings to the >> > corresponding paths. >> > > > > ... >> > > > > >> > > > > Am 05.08.16 um 23:05 schrieb Aras Balali >> > Moghaddam: >> > > > > > It seems as soon as I make a bit of >> > progress I >> > > get stuck >> > > > with a new >> > > > > > error. Now I am trying to run the >> > neptune app >> > > using the >> > > > following command: >> > > > > > >> > > > > > :seek: IODevice is not >> > > > > > open >> > > [:0] >> > > > > > [CRIT | am.system] ERROR: could not not >> seek >> > > to position >> > > > 0 in the >> > > > > > application database (/opt/am/apps.db): >> > > Permission denied >> > > > > >> > > > > I guess you copied the /termplate-opt >> > folder to >> > > your /opt >> > > > folder ? >> > > > > To make it readable from appman you need >> > to add >> > > correct >> > > > > permissions to >> > > > > the folder. >> > > > > >> > > > > sudo chmod -R 774 /opt/am >> > > > > >> > > > > > >> > > > > > Interesting thing is that the file >> > > /opt/am/apps.db does >> > > > not exist. The >> > > > > > folder "opt/am" does exist though. What >> > should >> > > I try next? >> > > > > >> > > > > The apps.db is created by appman while >> > scanning the >> > > > application >> > > > > folders. >> > > > > >> > > > > Dominik >> > > > > >> > > > > > >> > > > > > Thanks! >> > > > > > Aras >> > > > > > >> > > > > > On Fri, Aug 5, 2016 at 1:34 PM, Aras >> Balali >> > > Moghaddam >> > > > >> > > >> > > >> > >> >> > > >> > > >> > > > >> > >>> >> > > > > > > > >> > > > >> > >> > > >> >> > >> > > > >> > > > >> > >>>>> wrote: >> > > > > > >> > > > > > Please ignore my last email, it was >> > > clearly permission issues. I >> > > > > > tried again doing a "sudo qmake" >> "sudo >> > > make" followed by "sudo make >> > > > > > install" and this time build and >> install >> > > finished without error. >> > > > > > >> > > > > > Now that I have appman installed, >> > what is >> > > next? How can I get appman >> > > > > > to run Neptune? I could not find any >> > > documentation on how to use appman. >> > > > > > >> > > > > > Thanks again! >> > > > > > >> > > > > > On Fri, Aug 5, 2016 at 1:20 PM, Aras >> > > Balali Moghaddam >> > > > > > > > >> > > > >> > >> > > >> >> > >> > > > >> > > > >> > >>> >> > > > > > > >> > > > >> > >> > > >> >> > > > >> > > >> > > >> > >>>>> wrote: >> > > > > > >> > > > > > I am developing on Ubuntu. I got >> > through a >> > > > number of build >> > > > > > dependency errors by following >> your >> > > suggestion >> > > > and installing qt >> > > > > > dev related packages. I have not >> > tried >> > > building >> > > > the whole qt >> > > > > > yet, but one of these days I am >> > sure I >> > > will. >> > > > > > >> > > > > > Should I follow [these >> instructions] >> > > > > > >> > > > > >> > > > > >> > > > > > >> > > > >> > > > >> > > > > >> >> > > > > >> > > > onManager/installation.html >> > >> > > > > > >> > > > >> > > > >> > > > > >>>>for >> > > > > > building the application >> mmanager? >> > > Currently I >> > > > am getting this >> > > > > > error when I run the build >> command >> > > (*sudo* qmake && >> > > > > make && make >> > > > > > install): >> > > > > > >> > > > > > make[2]: Entering directory >> > > > > > >> > > > '/home/aras/Projects/qtapplica >> tionmanager/src/manager' >> > > > > > install -m 755 -p >> ../../bin/appman >> > > > /usr/local/bin/appman >> > > > > > install: cannot remove >> > > '/usr/local/bin/appman': >> > > > > Permission denied >> > > > > > Makefile:619: recipe for target >> > > 'install_target' >> > > > failed >> > > > > > make[2]: [install_target] Error >> 1 >> > > (ignored) >> > > > > > strip /usr/local/bin/appman >> > > > > > strip: '/usr/local/bin/appman': >> No >> > > such file >> > > > > > Makefile:619: recipe for target >> > > 'install_target' >> > > > failed >> > > > > > make[2]: [install_target] Error >> 1 >> > > (ignored) >> > > > > > mkdir: cannot create directory >> > > > ?/usr/local/share/dbus-1?: >> > > > > > Permission denied >> > > > > > Makefile:629: recipe for target >> > > 'install_dbusif' >> > > > failed >> > > > > > make[2]: *** [install_dbusif] >> > Error 1 >> > > > > > make[2]: Leaving directory >> > > > > > >> > > > '/home/aras/Projects/qtapplica >> tionmanager/src/manager' >> > > > > > Makefile:216: recipe for target >> > > > > 'sub-manager-install_subtargets' >> > > > > > failed >> > > > > > make[1]: *** >> > > [sub-manager-install_subtargets] >> > > > Error 2 >> > > > > > make[1]: Leaving directory >> > > > > > >> > > '/home/aras/Projects/qtapplicationmanager/src' >> > > > > > Makefile:66: recipe for target >> > > > > > 'sub-src-install_subtargets-o >> rdered' >> > > failed >> > > > > > make: *** >> > > [sub-src-install_subtargets-ordered] >> > > > Error 2 >> > > > > > >> > > > > > Any ideas what I am missing now? >> > > > > > >> > > > > > Thanks! >> > > > > > Aras >> > > > > > >> > > > > > On Fri, Aug 5, 2016 at 9:57 AM, >> > Johan >> > > Thelin >> > > > > > > > >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > > >> > > > > >>> >> > > > > > >> > > > >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > >> > > > > >>>>> >> > > > wrote: >> > > > > > >> > > > > > You need the qml or qtquick >> > development package installed. What >> > > > > > platform are you developing >> > from? If you're on Linux, you >> > > > > > should look >> > > > > > for the qt5*-dev or -devel >> > packages. >> > > > > > >> > > > > > One (more advanced) way >> > around this is to build your own >> > > > > > version of >> > > > > > Qt, and then build >> > Application Manager with the qmake-binary >> > > > > > from your >> > > > > > custom Qt build. Qt depends >> > on QML, but also QtWayland. >> > > > > > >> > > > > > /J >> > > > > > >> > > > > > On 5 August 2016 at 14:23, >> > Aras Balali Moghaddam >> > > > > > > > > > > >> > > >> > >> >> > > >> > > >> > > > >> > >>> >> > > > > > > >> > > > >> > >> > > >> >> > > > >> > > >> > > >> > >>>>> wrote: >> > > > > > > Thanks Johan, >> > > > > > > Yes that was my first >> > problem. I >> > > am trying to >> > > > > build the >> > > > > > application manager >> > > > > > > now and I get this error: >> > > > > > > >> > > > > > > Project ERROR: Unknown >> > module(s) >> > > in QT: qml >> > > > > > > Makefile:126: recipe for >> > target >> > > > > > >> > 'sub-notification-lib-make_first' >> > > failed >> > > > > > > make[1]: *** >> > > [sub-notification-lib-make_first] >> > > > > Error 3 >> > > > > > > make[1]: Leaving directory >> > > > > > >> > > '/home/aras/Projects/qtapplicationmanager/src' >> > > > > > > Makefile:42: recipe for >> target >> > > > > > 'sub-src-make_first-ordered' >> > failed >> > > > > > > make: *** >> > > [sub-src-make_first-ordered] Error 2 >> > > > > > > >> > > > > > > When I run "qmake >> --version" I >> > > get the >> > > > following: >> > > > > > > >> > > > > > > QMake version 3.0 >> > > > > > > Using Qt version 5.5.1 in >> > > > /usr/lib/x86_64-linux-gnu >> > > > > > > >> > > > > > > I am new to Qt and so far >> have >> > > only built >> > > > a few >> > > > > of the >> > > > > > sample apps and they >> > > > > > > seem to be working. Any >> ideas >> > > why I am getting >> > > > > this build >> > > > > > error? >> > > > > > > >> > > > > > > Thank you! >> > > > > > > Aras >> > > > > > > >> > > > > > > On Fri, Aug 5, 2016 at >> > 4:31 AM, >> > > Johan Thelin >> > > > > > < >> johan.thelin at pelagicore.com >> > >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > > >> > > > > >>> >> > > > > > >> > > > > >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > >> > > > > >>>>> >> > > > > > > wrote: >> > > > > > >> >> > > > > > >> Hi Aras, >> > > > > > >> >> > > > > > >> What executable are you >> > missing? Neptune is meant to be >> > > > > > run using the >> > > > > > >> Application Manager found >> > here: >> > > > > > >> >> > http://code.qt.io/cgit/qt/qtapplicationmanager.git/ >> > >> > > > > > >> > > > > applicationmanager.git/ >> > >> > > > > >> >> > > > > >> > > > >> > > > > > >> > > > > applicationmanager.git/ >> > >> > > > > >>> . >> > > > > > Could that be >> > > > > > >> what is missing? >> > > > > > >> >> > > > > > >> Best regards, >> > > > > > >> >> > > > > > >> Johan Thelin ??? ??? >> > > > > > >> M.Sc.E.E. >> > > > > > >> System Architect >> > > > > > >> >> > > > > > >> PELAGICORE | Experience >> > Change >> > > > > > >> Ekelundsgatan 4, 6tr, >> > SE-411 18 Gothenburg, Sweden >> > > > > > >> Mobile: +46 (0)700 900 >> > 250 >> > >> > > >> > > > >> > > > > > >> > >> > > > > > >> Skype: jothpelagicore >> > > > > > >> E-Mail: >> > johan.thelin at pelagicore.com >> > > > > >> > > > > >> > > > > >> >> > > > > > > >> > > > > >> > > > > >> > > > > >>> >> > > > > > >> > > > > >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > >> > > > > >>>> >> > > > > > >> >> > > > > > >> >> > > > > > >> On 5 August 2016 at >> > 12:37, Aras Balali Moghaddam >> > > > > > > > > > > >> > > >> > >> >> > > >> > > >> > > > >> > >>> >> > > > > > > >> > > > >> > >> > > >> >> > > > >> > > >> > > >> > >>>>> wrote: >> > > > > > >> > Hello! >> > > > > > >> > I have started >> designing an >> > > interface >> > > > for an >> > > > > industrial >> > > > > > vehicle. I am >> > > > > > >> > planning to develop the >> > UI in >> > > Qt and it >> > > > will >> > > > > run using >> > > > > > a Linux touch >> > > > > > >> > screen >> > > > > > >> > computer inside the >> cab. I >> > > have a lot to do >> > > > > and a long >> > > > > > ways to go, so I >> > > > > > >> > am >> > > > > > >> > hoping to find an open >> > source >> > > project to >> > > > > collaborate >> > > > > > with and build on >> > > > > > >> > top. >> > > > > > >> > >> > > > > > >> > In my search I came >> across >> > > Neptune project >> > > > > which looks >> > > > > > promising. I >> > > > > > >> > cloned >> > > > > > >> > this repo and tried >> > building >> > > it, but I have >> > > > > not been >> > > > > > able to run it >> > > > > > >> > (missing >> > > > > > >> > executable). Will that >> > > project run on a >> > > > 64bit >> > > > > ubuntu >> > > > > > linux computer? >> > > > > > >> > >> > > > > > >> > Do you think Neptune >> > would be >> > > a good >> > > > project >> > > > > to look at >> > > > > > as a starting >> > > > > > >> > point. >> > > > > > >> > The things I am mostly >> > > looking for are >> > > > a set >> > > > > of UI >> > > > > > components that are >> > > > > > >> > suitable for in vehicle >> > use, >> > > > integration with >> > > > > CAN, and >> > > > > > I would like to >> > > > > > >> > have >> > > > > > >> > one view that is an >> > > interactive 3D model of >> > > > > the vehicle. >> > > > > > >> > >> > > > > > >> > Thank you for your >> > great work >> > > with Qt and >> > > > > automotive. >> > > > > > Please let me know >> > > > > > >> > if >> > > > > > >> > I am on the right track >> > here >> > > or not. Any >> > > > > advice or >> > > > > > pointers would be >> > > > > > >> > appreciated, as I am >> > still at >> > > very early >> > > > > stages of this >> > > > > > project. >> > > > > > >> > >> > > > > > >> > Thank you! >> > > > > > >> > Aras >> > > > > > >> > >> > > > > > >> > ps: I just joined this >> > list, >> > > so I apologize >> > > > > in advance >> > > > > > if this is not >> > > > > > >> > the >> > > > > > >> > right place for my >> > question. >> > > > > > >> > >> > > > > > >> > >> > > > _______________________________________________ >> > > > > > >> > Automotive mailing list >> > > > > > >> > >> > Automotive at qt-project.org >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > > >> > > > > >>> >> > > > > > >> > > org> >> > > > > > >> > > > > > >> > > > > >> >> > > > > > > >> > > > > > >> > > > > >> > > > > >>>> >> > > > > > >> > >> > > > > >> > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> > > > > > >> > > > >> > > > >> > > > > >> >> > > > > >> > > > >> > > > > > >> > > > >> > > > >> > > > > >>> >> > > > > > >> > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > _______________________________________________ >> > > > > > Automotive mailing list >> > > > > > Automotive at qt-project.org >> > > org >> > > >> > > > > > > org >> > >> >> > > > > > org >> > > >> > > > > > > org >> > >>> >> > > > > > >> > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> > > > > > >> > > > >> > > > >> > > > > >> >> > > > > >> > > > >> > > > > > >> > > > >> > > > >> > > > > >>> >> > > > > > >> > > > > >> > _______________________________________________ >> > > > > Automotive mailing list >> > > > > Automotive at qt-project.org >> > > org >> > > >> > > > > > > org >> > >> >> > > > > > org >> > > >> > > > > > > org >> > >>> >> > > > > >> > http://lists.qt-project.org/mailman/listinfo/automotive >> > >> > > > > > >> > > > >> > > > >> > > > > >> >> > > > > >> > > > > >> > > > > > >> > > > >> > > > >> > > > > >>> >> > > > > >> > > > > >> > > > > >> > > > >> > > > >> > > >> > > >> > > >> > >> > -- >> > Dominik Holland >> > SENIOR SOFTWARE ENGINEER >> > >> > Pelagicore AG >> > Balanstr. 55, 81541 Munich, Germany >> > +49 (0)171 760 25 96 >> > dominik.holland at pelagicore.com > core.com> >> > www.pelagicore.com >> > >> > >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Tue Aug 9 22:32:01 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Tue, 9 Aug 2016 13:32:01 -0700 Subject: [Automotive] How can I contribute to neptune UI? Message-ID: Hi there, I just managed to build and run neptuneui today and I am really liking what I see. I like to help wherever I can even if it is only documentation. I am just getting back to developing in C++ and learning QML. I used to be a javascript developer but I also have a background in user interaction and visualization. I have two general questions right now: * *where do you document neptuneui project?* Are there mockups, feature requests, user study results, block diagrams showing components of the software and their relations, etc. * *Is there a developer guide? *How can I build applications for neptuneui? How can I use qt creator to develop for neptune ui and how would I run my apps? How can I modify neptuneui itself? I know that I do not have a good understanding of how all the pieces in this project go together, that is why I am reaching out to see what I need to learn next. Thank you! Aras -------------- next part -------------- An HTML attachment was scrubbed... URL: From juergen.bocklage-ryannel at pelagicore.com Tue Aug 9 21:43:21 2016 From: juergen.bocklage-ryannel at pelagicore.com (Juergen Ryannel) Date: Tue, 9 Aug 2016 21:43:21 +0200 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: <597ECB6BFD23CC488EED8B6CD7566AD232F39439@ORD2MBX01B.mex05.mlsrvr.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F39439@ORD2MBX01B.mex05.mlsrvr.com> Message-ID: <4F47DC79-F41A-4CE2-83E4-644236FB8C56@pelagicore.com> Hi Martin, Thanks for the proposal, sounds exactly like I would like to go forward with. I would even like to get ride of the QQuickView altogether (so on (3) not even optional. We currently never use a QQuickView and normally require the root item to be a Window or if not to create a Window and reparent the item. I?m currently on holiday, but I?m happy to review your patches. Thanks for looking into this. / jryannel > On 09.08.2016, at 17:29, Martin Kampas wrote: > > Hi J?rgen, > > > We had some issues where content (e.g. QML, images, ?) where cached and survived a clearComponentCache call. [...] > > You are right, images need additional handling in addition to clearComponentCache - there is QQuickWindow::releaseResources() which fixes it. Verified with a QML Image element https://codereview.qt-project.org/#/c/167483/ > > > Ideally we would not use a QQuickView at all and just depend on a QQmlEngine. > > Also my opinion - proposed in my reply to Dominik Holland. > > > Additionally we would like to create the out-of-process option, where we control a remote process. This makes it easier to survive crashes from C++ plugins. > > I understand this feature to be rather orthogonal to the mechanism of reloading. Maybe as a last sort mechanism when things go bad. I would see it better to be implemented somewhere above LiveNodeEngine. > > Here is my proposal I wrote in my reply to Dominik Holland extended w.r.t your comments: > > I propose to > > 1) remove the RecreateView mode and only rely on QQmlEngine::clear/trimComponentCache() and QQuickWindow::releaseResources() > 2) require to set QQmlEngine and make setting QQuickView optional (useless when the QML component instantiates QQuickWindow) > 3) only after that fix memory leaks in LiveNodeEngine :) > 4) remove the UpdateMode enum as no mode selection is needed anymore. Single implementation works in all cases; out-of-process control would be implemented as a feature orthogonal to the mechanism of reloading, not as another mutualy exclusive option. > > If you agree I will contribute patches for this. > > BR, > Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From dominik.holland at pelagicore.com Wed Aug 10 10:40:55 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Wed, 10 Aug 2016 10:40:55 +0200 Subject: [Automotive] Getting started with automotive and qt In-Reply-To: References: <590a9327-6f18-02b5-d905-1de0e24cd224@pelagicore.com> <05ab65f3-acff-f5fb-eb7e-9e29a582bbfd@pelagicore.com> <48bae6f2-016f-0548-e818-29c7bfaeadd9@pelagicore.com> Message-ID: <8c657077-a087-d0ad-3617-6df9aeb585e3@pelagicore.com> Hi, Am 08/09/2016 um 09:53 PM schrieb Aras Balali Moghaddam: > Oh my god it is finally running! Only took 4 days since I decided to try > out the neptune ui and finally I could build it. The last couple of > dependency errors I got where resolved after running: > > $ sudo apt install qml-module-qtqml-statemachine > qtdeclarative5-models-plugin > > I am a bit confused why I still needed to install those, I thought they > would be included in Qt installation. They are included in the Qt installation, but you need to differentiate between the system qt5, which is maintained by your distribution and a Qt version from the installer. The distribution packages are meant to be used by system applications which are also installed using apt-get and because of that only the really needed qt packages are installed, everything else needs to be installed manually. With the Qt installer you will get all the Qt5 (Essentials) installed and can install some addons or tech previews in addition. By launching the neptune-ui with appman you already selected which qt installation to use by compiling appman with one of the installed qt version. If you compile appman using Qt from the installer, you wouldn't need to install any additional qt5 packages using apt-get > > Is there a document somewhere that I should update with those dependencies? As the QML StateMachine is part of the qtdeclarative module and part of a standard Qt module, i don't think we need to document this dependency, otherwise we would need a lot more dependencies. Dominik > > Thank you again Johan and Dominic for you help! > Aras > > On Tue, Aug 9, 2016 at 11:35 AM, Aras Balali Moghaddam > wrote: > > Thank you Dominik for telling me about the "-I dummyimports" option > so I can bypass qtivi while I figure out how to build it. Now I get > a new error: > > ------ > ~/Projects/neptune-ui$ sudo appman --recreate-database -c > /opt/am/config.yaml -c am-config.yaml -I dummyimports > [DBG | am.system] Found Applications: > [ > [:0] > [DBG | am.system] * APP: "com.kdab.keyboarddemo" ( > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > ) [:0] > [DBG | am.system] * APP: "com.pelagicore.browser" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > ) [:0] > [DBG | am.system] * APP: "com.pelagicore.movies" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > ) [:0] > [DBG | am.system] * APP: "com.pelagicore.music" ( > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > ) [:0] > [DBG | am.system] > ] > [:0] > [WARN | default] QQmlApplicationEngine failed to load > component > [:0] > [WARN | default] file:///home/aras/Projects/neptune-ui/Main.qml:65 > Type Display unavailable > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:60 Type > StatusBar unavailable > file:///home/aras/Projects/neptune-ui/sysui/StatusBar/StatusBar.qml:80 > Type Weather unavailable > file:///home/aras/Projects/neptune-ui/sysui/StatusBar/Weather.qml:-1 > Type ClimateService unavailable > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:122 > Type ClimateStateMachine unavailable > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateStateMachine.qml:33 > module "QtQml.StateMachine" is not installed > > [:0] > [CRIT | am.system] ERROR: Qml scene does not have a root object > ------ > > What am I missing now? > > On Tue, Aug 9, 2016 at 11:03 AM, Dominik Holland > > wrote: > > Hi, > > thanks for reporting the issue. > > In the meantime i updated the README of neptune with the > dependency and > also how one can start without qtivi installed. > > You could give that a try. > > Dominik > > Am 09.08.16 um 18:32 schrieb Aras Balali Moghaddam: > > Here is the issue I created: https://bugreports.qt.io/browse/AUTOSUITE-2 > > > > > I mentioned in my bug report that I originally installed qt from 64bit > > binary and got later built and installed qt from source. In both cases I > > am getting that error. > > > > Anyway, I am really keen to try this project out. Please let me know if > > there is anything else I could try. > > > > Thanks! > > Aras > > > > > > On Tue, Aug 9, 2016 at 12:29 AM, Dominik Holland > > > >> > > wrote: > > > > Hi, > > > > you can add a bugreport here: > > > > https://bugreports.qt.io > > Project: Qt Automotive > > Component: QtIvi > > > > > > Could you download a Qt installer for your platform here > and try it with > > that Qt version ? https://www.qt.io/download/ > > > > It's strange that it doesn't work, as the 5.7 branch of > qtivi is tested > > together with qt 5.7 in the CI. > > > > Dominik > > > > Am 08/09/2016 um 12:00 AM schrieb Aras Balali Moghaddam: > > > If anyone can help me fix this problem, it would be much > appreciated. I > > > am willing to try, if you can point me to the right > direction. Do I need > > > to install C++11 on my development machine? Do I need to > modify some > > > configuration files in qtivi? > > > > > > I am using 64bit ubuntu 16.04. qmake --version gives: > > > > > > $ qmake --version > > > QMake version 3.0 > > > Using Qt version 5.7.0 in /usr/local/Qt-5.7.0/lib > > > > > > please let me know what else I could try to get this > demo working. Also, > > > once I go through this I would like to write or update a > getting started > > > documentation so that other developers like myself do > not have to kill > > > so much time just to get started. Let me know also where > a good place > > > for that would be. > > > > > > Thank you! > > > Aras > > > > > > On Mon, Aug 8, 2016 at 11:12 AM, Aras Balali Moghaddam > > > > > > > >>> wrote: > > > > > > Could you tell me where to report the bug? Searching for QT bug > > > report took me here > > > > > >>, but I could not > > > find qtivi project there and the qtivi project README file also does > > > not mention where to report bugs. Thanks! > > > > > > On Mon, Aug 8, 2016 at 10:43 AM, Dominik Holland > > > > > > > > > > >>> wrote: > > > > > > Hi, > > > > > > this looks like you are compiling without having > c++11. > > > It seems the c++11 is missing in the pro file. > > > > > > Could you create a bug-report and give more > information > > about your > > > enivornment there ? > > > > > > OS > > > compiler-version > > > Qt version > > > ... > > > > > > Dominik > > > > > > > > > Am 08.08.16 um 17:46 schrieb Aras Balali Moghaddam: > > > > I think I am hitting all the possible errors. > I tried > > building qtivi as > > > > you suggested and I get this error after > running "make" > > > > > > > > In file included from > > > > > ../../../include/QtIviCore/qivipropertyattribute.h:1:0, > > > > from > > ../../../include/QtIviCore/QIviPropertyAttribute:1, > > > > from > > > > > > > ../../../include/QtIviCore/../../src/ivicore/qiviproperty.h:48, > > > > from > > ../../../include/QtIviCore/qiviproperty.h:1, > > > > from > > ../../../include/QtIviCore/QIviProperty:1, > > > > from > > > > > > > ../../../include/QtIviVehicleFunctions/../../src/ivivehiclefunctions/qiviclimatecontrol.h:46, > > > > from > > > > > > ../../../include/QtIviVehicleFunctions/qiviclimatecontrol.h:1, > > > > from > > > > > ../../../include/QtIviVehicleFunctions/QIviClimateControl:1, > > > > from mainwindow.h:57, > > > > from main.cpp:53: > > > > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h: > In > > > > member function ?void > > QIviPropertyAttribute::registerConverter()?: > > > > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:154:73: > > > > *error*: ?>>? should be ?> >? within a nested > template > > > argument list > > > > if > > > > > > > (!QMetaType::hasRegisteredComparators>()) > > > > > > ^ > > > > > > > ../../../include/QtIviCore/../../src/ivicore/qivipropertyattribute.h:155:67: > > > > *error*: ?>>? should be ?> >? within a nested > template > > > argument list > > > > > > QMetaType::registerComparators>(); > > > > > > ^ > > > > Makefile:442: recipe for target '.obj/main.o' > failed > > > > make[3]: *** [.obj/main.o] Error 1 > > > > make[3]: Leaving directory > > > > > > > '/home/aras/Projects/qtivi/examples/vehiclefunctions/climate_widget' > > > > Makefile:44: recipe for target > > 'sub-climate_widget-make_first' failed > > > > make[2]: *** [sub-climate_widget-make_first] > Error 2 > > > > > > > > > > > > I cloned the repo using "git clone > > git://code.qt.io/qt/qtivi.git > > > > >> > > > > > > > > > > >>>", > > did I somehow get the wrong > > > code or > > > > am I missing something else? > > > > > > > > On Mon, Aug 8, 2016 at 12:34 AM, Dominik Holland > > > > > > > > > > >> > > > > > > > > > > >>>> > > > > wrote: > > > > > > > > Clone http://code.qt.io/cgit/qt/qtivi.git/ > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > and build/install it with > > > > > > > > qmake > > > > make > > > > make install > > > > > > > > Am 08.08.16 um 01:56 schrieb Aras Balali Moghaddam: > > > > > I suspect the root of my current problem is this error: > > > > > > > > > > ClimateService.qml:34 module "QtIvi.VehicleFunctions" is not installed > > > > > > > > > > I did some googling but could not find anything helpful. How can I > > > > > install the QtIvi module? > > > > > > > > > > thanks! > > > > > > > > > > On Sun, Aug 7, 2016 at 3:49 PM, Aras Balali Moghaddam > > > > > >> > > > > > > > > >>> > > > > > > > > > > >> > > > > > > > > >>>>> wrote: > > > > > > > > > > I got further by changing the > permissions for the > > > /opt/am > > > > folder as > > > > > you suggested. Now I am getting two new > > errors. Here > > > is the > > > > command > > > > > I am running and the output: > > > > > > > > > > $ sudo appman --recreate-database -c > > > /opt/am/config.yaml -c > > > > > am-config.yaml > > > > > [DBG | am.system] Found Applications: > > > > > [ > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.kdab.keyboarddemo" ( > > > > > > > > > "/home/aras/Projects/neptune-ui/apps/com.kdab.keyboarddemo" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.pelagicore.browser" ( > > > > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.browser" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.pelagicore.movies" ( > > > > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.movies" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] * APP: > > "com.pelagicore.music" ( > > > > > > > > > "/home/aras/Projects/neptune-ui/apps/com.pelagicore.music" > > > > > ) > > > > > [:0] > > > > > [DBG | am.system] > > > > > ] > > > > > [:0] > > > > > [CRIT | am.system] ERROR: could not > connect to > > D-Bus > > > (): Failed to > > > > > connect to socket > /tmp/dbus-M4yXecMpU8: Connection > > > > > refused > > > > > [:0] > > > > > [WARN | default] > QQmlApplicationEngine failed > > to load > > > > > component > > [:0] > > > > > [WARN | default] > > > file:///home/aras/Projects/neptune-ui/Main.qml:65 > > > > > Type Display unavailable > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Display.qml:121 Type > > > > > ClimateBar unavailable > > > > > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/ClimateBar.qml:79 > > > > Type > > > > > TemperatureLevel unavailable > > > > > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/sysui/Climate/TemperatureLevel.qml:-1 > > > > > Type ClimateService unavailable > > > > > > > > > > > > > > > file:///home/aras/Projects/neptune-ui/imports/shared/service/climate/ClimateService.qml:34 > > > > > module "QtIvi.VehicleFunctions" is > not installed > > > > > > > > > > [:0] > > > > > [CRIT | am.system] ERROR: Qml scene > does not > > have a > > > root object > > > > > > > > > > Feels like I am so close to getting > this thing > > > running. Any idea > > > > > what else I am missing? > > > > > > > > > > Thank you! > > > > > Aras > > > > > > > > > > On Sat, Aug 6, 2016 at 1:17 AM, > Dominik Holland > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>>> wrote: > > > > > > > > > > Hi, > > > > > > > > > > the next thing is to execute the > command line > > > listed in the > > > > > README.md > > > > > > > > > > ... > > > > > or with the Application Manager > > > > > > > > > > $ appman > --recreate-database -c > > > $AM_CONFIG_FILE -c > > > > > am-config.yaml > > > > > > > > > > where `AM_CONFIG_FILE` is the > path to the > > > Application Manager > > > > > `config.yaml` file (inside the > template-opt > > > folder within the > > > > > Application Manager delivery). > The default > > > `config.yaml` > > > > points > > > > > to the > > > > > `/opt/am` folder. If that folder > does not > > > exists, make sure to > > > > > update > > > > > the config.yaml settings to the > > corresponding paths. > > > > > ... > > > > > > > > > > Am 05.08.16 um 23:05 schrieb > Aras Balali > > Moghaddam: > > > > > > It seems as soon as I make a > bit of > > progress I > > > get stuck > > > > with a new > > > > > > error. Now I am trying to run the > > neptune app > > > using the > > > > following command: > > > > > > > > > > > > :seek: IODevice is not > > > > > > open > > > [:0] > > > > > > [CRIT | am.system] ERROR: > could not not seek > > > to position > > > > 0 in the > > > > > > application database > (/opt/am/apps.db): > > > Permission denied > > > > > > > > > > I guess you copied the > /termplate-opt > > folder to > > > your /opt > > > > folder ? > > > > > To make it readable from appman > you need > > to add > > > correct > > > > > permissions to > > > > > the folder. > > > > > > > > > > sudo chmod -R 774 /opt/am > > > > > > > > > > > > > > > > > Interesting thing is that the file > > > /opt/am/apps.db does > > > > not exist. The > > > > > > folder "opt/am" does exist > though. What > > should > > > I try next? > > > > > > > > > > The apps.db is created by appman > while > > scanning the > > > > application > > > > > folders. > > > > > > > > > > Dominik > > > > > > > > > > > > > > > > > Thanks! > > > > > > Aras > > > > > > > > > > > > On Fri, Aug 5, 2016 at 1:34 > PM, Aras Balali > > > Moghaddam > > > > > > > > >> > > > > > > > >>> > > > > > > > >> > > > > > > > > >>>> > > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > >> > > > > > > > > >>>>>> wrote: > > > > > > > > > > > > Please ignore my last > email, it was > > > clearly permission issues. I > > > > > > tried again doing a "sudo > qmake" "sudo > > > make" followed by "sudo make > > > > > > install" and this time > build and install > > > finished without error. > > > > > > > > > > > > Now that I have appman > installed, > > what is > > > next? How can I get appman > > > > > > to run Neptune? I could > not find any > > > documentation on how to use appman. > > > > > > > > > > > > Thanks again! > > > > > > > > > > > > On Fri, Aug 5, 2016 at > 1:20 PM, Aras > > > Balali Moghaddam > > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > >> > > > > > > > > >>>> > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > > >> > > > > > > > >>>>>> wrote: > > > > > > > > > > > > I am developing on > Ubuntu. I got > > through a > > > > number of build > > > > > > dependency errors by > following your > > > suggestion > > > > and installing qt > > > > > > dev related packages. > I have not > > tried > > > building > > > > the whole qt > > > > > > yet, but one of these > days I am > > sure I > > > will. > > > > > > > > > > > > Should I follow [these > instructions] > > > > > > > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>>>for > > > > > > building the > application mmanager? > > > Currently I > > > > am getting this > > > > > > error when I run the > build command > > > (*sudo* qmake && > > > > > make && make > > > > > > install): > > > > > > > > > > > > make[2]: Entering > directory > > > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > > > install -m 755 -p > ../../bin/appman > > > > /usr/local/bin/appman > > > > > > install: cannot remove > > > '/usr/local/bin/appman': > > > > > Permission denied > > > > > > Makefile:619: recipe > for target > > > 'install_target' > > > > failed > > > > > > make[2]: > [install_target] Error 1 > > > (ignored) > > > > > > strip > /usr/local/bin/appman > > > > > > strip: > '/usr/local/bin/appman': No > > > such file > > > > > > Makefile:619: recipe > for target > > > 'install_target' > > > > failed > > > > > > make[2]: > [install_target] Error 1 > > > (ignored) > > > > > > mkdir: cannot create > directory > > > > ?/usr/local/share/dbus-1?: > > > > > > Permission denied > > > > > > Makefile:629: recipe > for target > > > 'install_dbusif' > > > > failed > > > > > > make[2]: *** > [install_dbusif] > > Error 1 > > > > > > make[2]: Leaving directory > > > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src/manager' > > > > > > Makefile:216: recipe > for target > > > > > 'sub-manager-install_subtargets' > > > > > > failed > > > > > > make[1]: *** > > > [sub-manager-install_subtargets] > > > > Error 2 > > > > > > make[1]: Leaving directory > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > > Makefile:66: recipe > for target > > > > > > > 'sub-src-install_subtargets-ordered' > > > failed > > > > > > make: *** > > > [sub-src-install_subtargets-ordered] > > > > Error 2 > > > > > > > > > > > > Any ideas what I am > missing now? > > > > > > > > > > > > Thanks! > > > > > > Aras > > > > > > > > > > > > On Fri, Aug 5, 2016 at > 9:57 AM, > > Johan > > > Thelin > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>>>> > > > > wrote: > > > > > > > > > > > > You need the qml > or qtquick > > development package installed. What > > > > > > platform are you > developing > > from? If you're on Linux, you > > > > > > should look > > > > > > for the qt5*-dev > or -devel > > packages. > > > > > > > > > > > > One (more > advanced) way > > around this is to build your own > > > > > > version of > > > > > > Qt, and then build > > Application Manager with the qmake-binary > > > > > > from your > > > > > > custom Qt build. > Qt depends > > on QML, but also QtWayland. > > > > > > > > > > > > /J > > > > > > > > > > > > On 5 August 2016 > at 14:23, > > Aras Balali Moghaddam > > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > >> > > > > > > > > >>>> > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > > >> > > > > > > > >>>>>> wrote: > > > > > > > Thanks Johan, > > > > > > > Yes that was my > first > > problem. I > > > am trying to > > > > > build the > > > > > > application manager > > > > > > > now and I get > this error: > > > > > > > > > > > > > > Project ERROR: > Unknown > > module(s) > > > in QT: qml > > > > > > > Makefile:126: > recipe for > > target > > > > > > > > 'sub-notification-lib-make_first' > > > failed > > > > > > > make[1]: *** > > > [sub-notification-lib-make_first] > > > > > Error 3 > > > > > > > make[1]: Leaving > directory > > > > > > > > > '/home/aras/Projects/qtapplicationmanager/src' > > > > > > > Makefile:42: > recipe for target > > > > > > > 'sub-src-make_first-ordered' > > failed > > > > > > > make: *** > > > [sub-src-make_first-ordered] Error 2 > > > > > > > > > > > > > > When I run > "qmake --version" I > > > get the > > > > following: > > > > > > > > > > > > > > QMake version 3.0 > > > > > > > Using Qt version > 5.5.1 in > > > > /usr/lib/x86_64-linux-gnu > > > > > > > > > > > > > > I am new to Qt > and so far have > > > only built > > > > a few > > > > > of the > > > > > > sample apps and they > > > > > > > seem to be > working. Any ideas > > > why I am getting > > > > > this build > > > > > > error? > > > > > > > > > > > > > > Thank you! > > > > > > > Aras > > > > > > > > > > > > > > On Fri, Aug 5, > 2016 at > > 4:31 AM, > > > Johan Thelin > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>>>> > > > > > > > wrote: > > > > > > >> > > > > > > >> Hi Aras, > > > > > > >> > > > > > > >> What executable > are you > > missing? Neptune is meant to be > > > > > > run using the > > > > > > >> Application > Manager found > > here: > > > > > > >> > > http://code.qt.io/cgit/qt/qtapplicationmanager.git/ > > > > > > > > > > >> > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > >>>> . > > > > > > Could that be > > > > > > >> what is missing? > > > > > > >> > > > > > > >> Best regards, > > > > > > >> > > > > > > >> Johan Thelin > ??? ??? > > > > > > >> M.Sc.E.E. > > > > > > >> System Architect > > > > > > >> > > > > > > >> PELAGICORE | > Experience > > Change > > > > > > >> Ekelundsgatan > 4, 6tr, > > SE-411 18 Gothenburg, Sweden > > > > > > >> Mobile: +46 > (0)700 900 > > 250 > > > > > > > > > > > > > > > > > > > > > > > >> Skype: > jothpelagicore > > > > > > >> E-Mail: > > johan.thelin at pelagicore.com > > > > > > > >> > > > > > > > > > > > >>> > > > > > > > > > > > > > >> > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>>> > > > > > > >> > > > > > > >> > > > > > > >> On 5 August 2016 at > > 12:37, Aras Balali Moghaddam > > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > >> > > > > > > > > >>>> > > > > > > > > > > > >> > > > > > > > >>> > > > > > > > > >> > > > > > > > >>>>>> wrote: > > > > > > >> > Hello! > > > > > > >> > I have > started designing an > > > interface > > > > for an > > > > > industrial > > > > > > vehicle. I am > > > > > > >> > planning to > develop the > > UI in > > > Qt and it > > > > will > > > > > run using > > > > > > a Linux touch > > > > > > >> > screen > > > > > > >> > computer > inside the cab. I > > > have a lot to do > > > > > and a long > > > > > > ways to go, so I > > > > > > >> > am > > > > > > >> > hoping to > find an open > > source > > > project to > > > > > collaborate > > > > > > with and build on > > > > > > >> > top. > > > > > > >> > > > > > > > >> > In my search > I came across > > > Neptune project > > > > > which looks > > > > > > promising. I > > > > > > >> > cloned > > > > > > >> > this repo and > tried > > building > > > it, but I have > > > > > not been > > > > > > able to run it > > > > > > >> > (missing > > > > > > >> > executable). > Will that > > > project run on a > > > > 64bit > > > > > ubuntu > > > > > > linux computer? > > > > > > >> > > > > > > > >> > Do you think > Neptune > > would be > > > a good > > > > project > > > > > to look at > > > > > > as a starting > > > > > > >> > point. > > > > > > >> > The things I > am mostly > > > looking for are > > > > a set > > > > > of UI > > > > > > components that are > > > > > > >> > suitable for > in vehicle > > use, > > > > integration with > > > > > CAN, and > > > > > > I would like to > > > > > > >> > have > > > > > > >> > one view that > is an > > > interactive 3D model of > > > > > the vehicle. > > > > > > >> > > > > > > > >> > Thank you for > your > > great work > > > with Qt and > > > > > automotive. > > > > > > Please let me know > > > > > > >> > if > > > > > > >> > I am on the > right track > > here > > > or not. Any > > > > > advice or > > > > > > pointers would be > > > > > > >> > appreciated, > as I am > > still at > > > very early > > > > > stages of this > > > > > > project. > > > > > > >> > > > > > > > >> > Thank you! > > > > > > >> > Aras > > > > > > >> > > > > > > > >> > ps: I just > joined this > > list, > > > so I apologize > > > > > in advance > > > > > > if this is not > > > > > > >> > the > > > > > > >> > right place > for my > > question. > > > > > > >> > > > > > > > >> > > > > > > _______________________________________________ > > > > > > >> > Automotive > mailing list > > > > > > >> > > > Automotive at qt-project.org > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > >> > > > > > > > > > > > > >>> > > > > > > > > > > > > > > >> > > > > > > > > > > > >>>>> > > > > > > >> > > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>> > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > Automotive mailing list > > > > > > Automotive at qt-project.org > > > > > > > >> > > > > > > > > > > >>> > > > > > > > > > >> > > > > > > > > > > >>>> > > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > > >>>> > > > > > > > > > > > > > _______________________________________________ > > > > > Automotive mailing list > > > > > Automotive at qt-project.org > > > > > > > >> > > > > > > > > > > >>> > > > > > > > > > >> > > > > > > > > > > >>>> > > > > > > > http://lists.qt-project.org/mailman/listinfo/automotive > > > > > > > > > > >> > > > > > > > > > > > > > > > >>> > > > > > > > > > > > > > > > > >> > > > > > > > > > > > > > > >>>> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Dominik Holland > > SENIOR SOFTWARE ENGINEER > > > > Pelagicore AG > > Balanstr. 55, 81541 Munich, Germany > > +49 (0)171 760 25 96 > > > > dominik.holland at pelagicore.com > > > > > www.pelagicore.com > > > > > > > > -- Dominik Holland SENIOR SOFTWARE ENGINEER Pelagicore AG Balanstr. 55, 81541 Munich, Germany +49 (0)171 760 25 96 dominik.holland at pelagicore.com www.pelagicore.com From nedim.hadzic at pelagicore.com Wed Aug 10 12:43:00 2016 From: nedim.hadzic at pelagicore.com (Nedim Hadzic) Date: Wed, 10 Aug 2016 12:43:00 +0200 Subject: [Automotive] How can I contribute to neptune UI? In-Reply-To: References: Message-ID: Hello Aras, Nice to hear you have Neptune up and running! As far as the documentation is concerned, we are missing a lot there in the Neptune. Except couple READMEs, there is not that much documentation in the project. It is something that we should focus more in the future. Other replies inline. On 9 August 2016 at 22:32, Aras Balali Moghaddam wrote: > Hi there, > I just managed to build and run neptuneui today and I am really liking > what I see. I like to help wherever I can even if it is only documentation. > I am just getting back to developing in C++ and learning QML. I used to be > a javascript developer but I also have a background in user interaction and > visualization. I have two general questions right now: > > * *where do you document neptuneui project?* Are there mockups, feature > requests, user study results, block diagrams showing components of the > software and their relations, etc. > As we dont have the documentation right now, so there is no place. Usually the best place would be in the doc/ folder within the root folder. We have some wireframes, general one, and assets. For the feature requests, we have a JIRA, but for the others we dont have them right now. > * *Is there a developer guide? *How can I build applications for > neptuneui? How can I use qt creator to develop for neptune ui and how would > I run my apps? How can I modify neptuneui itself? > For Neptune itself, no, but for the Application Manager (used for running the Neptune) you can find here client/application elements documentation https://doc.qt.io/QtApplicationManager/qml-elements-apps.html. You can use the QtCreator with Neptune as any other Qt project. I thin that Application Manager integration with QtCreator is not yet done, but in the meantime you can use a custom executable option within the QtCreator (you can find something here http://doc.qt.io/qtcreator/creator-run-settings.html). You can also check this video for the app development with QmlLive for the Neptune: https://www.youtube.com/watch?v=2KooHmCH31s&feature=youtu.be I know that I do not have a good understanding of how all the pieces in > this project go together, that is why I am reaching out to see what I need > to learn next. > I hope this helps! Let us know if you have more questions. Regards, > > Thank you! > Aras > > > > _______________________________________________ > 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: From martin.kampas at jolla.com Wed Aug 10 13:50:31 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Wed, 10 Aug 2016 11:50:31 +0000 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: <4F47DC79-F41A-4CE2-83E4-644236FB8C56@pelagicore.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F39439@ORD2MBX01B.mex05.mlsrvr.com>, <4F47DC79-F41A-4CE2-83E4-644236FB8C56@pelagicore.com> Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F3B060@ORD2MBX01B.mex05.mlsrvr.com> Hi J?rgen, > We currently never use a QQuickView and normally require the root item to be a Window or if not to create a Window and reparent the item. Does this mean you do not actively use the embedded in-bench view nowadays? IIUC loading a QML component with Window as the root item always creates a separate window, not embedded in the bench. BR, Martin ________________________________ From: Juergen Ryannel [juergen.bocklage-ryannel at pelagicore.com] Sent: Tuesday, August 09, 2016 9:43 PM To: Martin Kampas Cc: automotive at qt-project.org; Dominik Holland Subject: Re: QmlLive: Is LiveNodeEngine::RecreateView mode really needed? Hi Martin, Thanks for the proposal, sounds exactly like I would like to go forward with. I would even like to get ride of the QQuickView altogether (so on (3) not even optional. We currently never use a QQuickView and normally require the root item to be a Window or if not to create a Window and reparent the item. I?m currently on holiday, but I?m happy to review your patches. Thanks for looking into this. / jryannel On 09.08.2016, at 17:29, Martin Kampas > wrote: Hi J?rgen, > We had some issues where content (e.g. QML, images, ?) where cached and survived a clearComponentCache call. [...] You are right, images need additional handling in addition to clearComponentCache - there is QQuickWindow::releaseResources() which fixes it. Verified with a QML Image element https://codereview.qt-project.org/#/c/167483/ > Ideally we would not use a QQuickView at all and just depend on a QQmlEngine. Also my opinion - proposed in my reply to Dominik Holland. > Additionally we would like to create the out-of-process option, where we control a remote process. This makes it easier to survive crashes from C++ plugins. I understand this feature to be rather orthogonal to the mechanism of reloading. Maybe as a last sort mechanism when things go bad. I would see it better to be implemented somewhere above LiveNodeEngine. Here is my proposal I wrote in my reply to Dominik Holland extended w.r.t your comments: I propose to 1) remove the RecreateView mode and only rely on QQmlEngine::clear/trimComponentCache() and QQuickWindow::releaseResources() 2) require to set QQmlEngine and make setting QQuickView optional (useless when the QML component instantiates QQuickWindow) 3) only after that fix memory leaks in LiveNodeEngine :) 4) remove the UpdateMode enum as no mode selection is needed anymore. Single implementation works in all cases; out-of-process control would be implemented as a feature orthogonal to the mechanism of reloading, not as another mutualy exclusive option. If you agree I will contribute patches for this. BR, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From juergen.bocklage-ryannel at pelagicore.com Wed Aug 10 16:33:22 2016 From: juergen.bocklage-ryannel at pelagicore.com (Juergen Ryannel) Date: Wed, 10 Aug 2016 16:33:22 +0200 Subject: [Automotive] QmlLive: Is LiveNodeEngine::RecreateView mode really needed? In-Reply-To: <597ECB6BFD23CC488EED8B6CD7566AD232F3B060@ORD2MBX01B.mex05.mlsrvr.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F3374F@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F369A1@ORD2MBX01B.mex05.mlsrvr.com> <597ECB6BFD23CC488EED8B6CD7566AD232F39439@ORD2MBX01B.mex05.mlsrvr.com> <4F47DC79-F41A-4CE2-83E4-644236FB8C56@pelagicore.com> <597ECB6BFD23CC488EED8B6CD7566AD232F3B060@ORD2MBX01B.mex05.mlsrvr.com> Message-ID: Hi Martin, We use the embedded in-bench view currently to create controls or to work on isolated panels. Running the whole project crashes frequently, often inside native plugins. The project(s) we are working on use always custom qmlscenes which do not use a QQuickView just a QQmlEngine. If going forward and being able to extract a (reusable) live reloading library out of QmlLive this library should only assume the user has some kind of QQmlEngine, more we should not assume from the user. Hence my desire to make the core of QmlLive only depending on a QQmlEngine. And because of the frequent crashing of the native plugins my desire to reload out-of-process. Hope this information helps you. Note: The WindowWidget should normally capture the Window and ?embed? it back into the QmlLiveBench. This seems to be broken currently. / jryannel > On 10.08.2016, at 13:50, Martin Kampas wrote: > > Hi J?rgen, > > > We currently never use a QQuickView and normally require the root item to be a Window or if not to create a Window and reparent the item. > > Does this mean you do not actively use the embedded in-bench view nowadays? IIUC loading a QML component with Window as the root item always creates a separate window, not embedded in the bench. > > BR, > Martin > > From: Juergen Ryannel [juergen.bocklage-ryannel at pelagicore.com] > Sent: Tuesday, August 09, 2016 9:43 PM > To: Martin Kampas > Cc: automotive at qt-project.org; Dominik Holland > Subject: Re: QmlLive: Is LiveNodeEngine::RecreateView mode really needed? > > Hi Martin, > > Thanks for the proposal, sounds exactly like I would like to go forward with. I would even like to get ride of the QQuickView altogether (so on (3) not even optional. We currently never use a QQuickView and normally require the root item to be a Window or if not to create a Window and reparent the item. > > I?m currently on holiday, but I?m happy to review your patches. Thanks for looking into this. > > / jryannel > > >> On 09.08.2016, at 17:29, Martin Kampas > wrote: >> >> Hi J?rgen, >> >> > We had some issues where content (e.g. QML, images, ?) where cached and survived a clearComponentCache call. [...] >> >> You are right, images need additional handling in addition to clearComponentCache - there is QQuickWindow::releaseResources() which fixes it. Verified with a QML Image element https://codereview.qt-project.org/#/c/167483/ >> >> > Ideally we would not use a QQuickView at all and just depend on a QQmlEngine. >> >> Also my opinion - proposed in my reply to Dominik Holland. >> >> > Additionally we would like to create the out-of-process option, where we control a remote process. This makes it easier to survive crashes from C++ plugins. >> >> I understand this feature to be rather orthogonal to the mechanism of reloading. Maybe as a last sort mechanism when things go bad. I would see it better to be implemented somewhere above LiveNodeEngine. >> >> Here is my proposal I wrote in my reply to Dominik Holland extended w.r.t your comments: >> >> I propose to >> >> 1) remove the RecreateView mode and only rely on QQmlEngine::clear/trimComponentCache() and QQuickWindow::releaseResources() >> 2) require to set QQmlEngine and make setting QQuickView optional (useless when the QML component instantiates QQuickWindow) >> 3) only after that fix memory leaks in LiveNodeEngine :) >> 4) remove the UpdateMode enum as no mode selection is needed anymore. Single implementation works in all cases; out-of-process control would be implemented as a feature orthogonal to the mechanism of reloading, not as another mutualy exclusive option. >> >> If you agree I will contribute patches for this. >> >> BR, >> Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From arasbm at gmail.com Fri Aug 12 18:07:31 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Fri, 12 Aug 2016 09:07:31 -0700 Subject: [Automotive] How can I contribute to neptune UI? In-Reply-To: References: Message-ID: Thanks for your reply Nedim, that really helps! So I tried setting the run configuration in qt creator to use appman, like this: [image: Inline image 1] How can I configure the build settings for the neptune UI project? If I run it with default build settings I get these errors: [image: Inline image 2] On another note. That video you shared looked really cool, but it did not show how to set qmllive. I looked online and could not find any documentation on how to set qmllive up to work with neptuneui or even qt creator in general. I went ahead and cloned and build the qmllive project, but I ran into an issue where the interface is not readable. I reported the bug here: https://bugreports.qt.io/browse/AUTOSUITE-3?jql=project%20%3D%20AUTOSUITE Just wanted to let you know I am still trying to set my development environment up for neptuneui. Do you have any advice for issues I have building and running the neptuneui project, or for setting qmllive up? Thanks you! Aras On Wed, Aug 10, 2016 at 3:43 AM, Nedim Hadzic wrote: > Hello Aras, > > Nice to hear you have Neptune up and running! > > As far as the documentation is concerned, we are missing a lot there in > the Neptune. Except couple READMEs, there is not that much documentation in > the project. It is something that we should focus more in the future. > > Other replies inline. > > > > On 9 August 2016 at 22:32, Aras Balali Moghaddam wrote: > >> Hi there, >> I just managed to build and run neptuneui today and I am really liking >> what I see. I like to help wherever I can even if it is only documentation. >> I am just getting back to developing in C++ and learning QML. I used to be >> a javascript developer but I also have a background in user interaction and >> visualization. I have two general questions right now: >> >> * *where do you document neptuneui project?* Are there mockups, feature >> requests, user study results, block diagrams showing components of the >> software and their relations, etc. >> > > As we dont have the documentation right now, so there is no place. Usually > the best place would be in the doc/ folder within the root folder. We have > some wireframes, general one, and assets. For the feature requests, we have > a JIRA, but for the others we dont have them right now. > > >> * *Is there a developer guide? *How can I build applications for >> neptuneui? How can I use qt creator to develop for neptune ui and how would >> I run my apps? How can I modify neptuneui itself? >> > > For Neptune itself, no, but for the Application Manager (used for running > the Neptune) you can find here client/application elements documentation > https://doc.qt.io/QtApplicationManager/qml-elements-apps.html. You can > use the QtCreator with Neptune as any other Qt project. I thin that > Application Manager integration with QtCreator is not yet done, but in the > meantime you can use a custom executable option within the QtCreator (you > can find something here http://doc.qt.io/qtcreator/cre > ator-run-settings.html). > > You can also check this video for the app development with QmlLive for the > Neptune: https://www.youtube.com/watch?v=2KooHmCH31s&feature=youtu.be > > I know that I do not have a good understanding of how all the pieces in >> this project go together, that is why I am reaching out to see what I need >> to learn next. >> > > I hope this helps! Let us know if you have more questions. > > Regards, > >> >> Thank you! >> Aras >> >> >> >> _______________________________________________ >> 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_004.png Type: image/png Size: 24585 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_005.png Type: image/png Size: 56588 bytes Desc: not available URL: From nedim.hadzic at pelagicore.com Mon Aug 15 13:14:32 2016 From: nedim.hadzic at pelagicore.com (Nedim Hadzic) Date: Mon, 15 Aug 2016 11:14:32 +0000 Subject: [Automotive] How can I contribute to neptune UI? In-Reply-To: References: Message-ID: Hello, Reply inline. On Fri, 12 Aug 2016 at 18:07 Aras Balali Moghaddam wrote: > Thanks for your reply Nedim, that really helps! > > So I tried setting the run configuration in qt creator to use appman, like > this: > > [image: Selection_004.png] > > This looks OK. > How can I configure the build settings for the neptune UI project? If I > run it with default build settings I get these errors: > > [image: Selection_005.png] > > You should first build plugins separate with qmake, make & make install as written in README, and then try to run it. Still, as you can see, it seems you have Qt version missmatch, so just make sure you dont have other Qt version on your system. > On another note. That video you shared looked really cool, but it did not > show how to set qmllive. I looked online and could not find any > documentation on how to set qmllive up to work with neptuneui or even qt > creator in general. I went ahead and cloned and build the qmllive project, > but I ran into an issue where the interface is not readable. I reported the > bug here: > https://bugreports.qt.io/browse/AUTOSUITE-3?jql=project%20%3D%20AUTOSUITE > > Just wanted to let you know I am still trying to set my development > environment up for neptuneui. Do you have any advice for issues I have > building and running the neptuneui project, or for setting qmllive up? > It is really important to check README and follow the steps written there. Regards, > > Thanks you! > Aras > > On Wed, Aug 10, 2016 at 3:43 AM, Nedim Hadzic > wrote: > >> Hello Aras, >> >> Nice to hear you have Neptune up and running! >> >> As far as the documentation is concerned, we are missing a lot there in >> the Neptune. Except couple READMEs, there is not that much documentation in >> the project. It is something that we should focus more in the future. >> >> Other replies inline. >> >> >> >> On 9 August 2016 at 22:32, Aras Balali Moghaddam >> wrote: >> >>> Hi there, >>> I just managed to build and run neptuneui today and I am really liking >>> what I see. I like to help wherever I can even if it is only documentation. >>> I am just getting back to developing in C++ and learning QML. I used to be >>> a javascript developer but I also have a background in user interaction and >>> visualization. I have two general questions right now: >>> >>> * *where do you document neptuneui project?* Are there mockups, feature >>> requests, user study results, block diagrams showing components of the >>> software and their relations, etc. >>> >> >> As we dont have the documentation right now, so there is no place. >> Usually the best place would be in the doc/ folder within the root folder. >> We have some wireframes, general one, and assets. For the feature requests, >> we have a JIRA, but for the others we dont have them right now. >> >> >>> * *Is there a developer guide? *How can I build applications for >>> neptuneui? How can I use qt creator to develop for neptune ui and how would >>> I run my apps? How can I modify neptuneui itself? >>> >> >> For Neptune itself, no, but for the Application Manager (used for running >> the Neptune) you can find here client/application elements documentation >> https://doc.qt.io/QtApplicationManager/qml-elements-apps.html. You can >> use the QtCreator with Neptune as any other Qt project. I thin that >> Application Manager integration with QtCreator is not yet done, but in the >> meantime you can use a custom executable option within the QtCreator (you >> can find something here >> http://doc.qt.io/qtcreator/creator-run-settings.html). >> >> You can also check this video for the app development with QmlLive for >> the Neptune: https://www.youtube.com/watch?v=2KooHmCH31s&feature=youtu.be >> >> I know that I do not have a good understanding of how all the pieces in >>> this project go together, that is why I am reaching out to see what I need >>> to learn next. >>> >> >> I hope this helps! Let us know if you have more questions. >> >> Regards, >> >>> >>> Thank you! >>> Aras >>> >>> >>> >>> _______________________________________________ >>> 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 >> > > -- Nedim Hadzic Senior Software Engineer pelagicore.com +49 151 655 666 77 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_004.png Type: image/png Size: 24585 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_005.png Type: image/png Size: 56588 bytes Desc: not available URL: From arasbm at gmail.com Mon Aug 15 18:24:23 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Mon, 15 Aug 2016 09:24:23 -0700 Subject: [Automotive] How can I contribute to neptune UI? In-Reply-To: References: Message-ID: Hi Nedim, I did not realize that screenManager plugin was not building because i had once build it with the old version of qt. I manually removed the plugin.moc file and build it again and this time it worked! Now I am able to successfully build the neptune ui project from qt creator, but when I go to run it I get the following error: --- [CRIT | am.system] WARNING: for the installer to work correctly, the executable needs to be run either as root via sudo or SUID (preferred) [:0] [CRIT | am.system] (using fallback implementation - you might experience permission errors on installer operations) [:0] [CRIT | am.system] ERROR: no/invalid main QML file specified: Main.qml [:0] Press to close this window... --- Does appman really need to run as root? If I use appman in the terminal from from the project root folder it will give the permission error as well but will run the UI just fine. I am guessing the error is because appman is not looking in the correct location so it is not seeing Main.qml. How can fix the settings in qt creator? Thanks for you help! Aras On Mon, Aug 15, 2016 at 4:14 AM, Nedim Hadzic wrote: > Hello, > > Reply inline. > > On Fri, 12 Aug 2016 at 18:07 Aras Balali Moghaddam > wrote: > >> Thanks for your reply Nedim, that really helps! >> >> So I tried setting the run configuration in qt creator to use appman, >> like this: >> >> [image: Selection_004.png] >> >> > This looks OK. > > >> How can I configure the build settings for the neptune UI project? If I >> run it with default build settings I get these errors: >> >> [image: Selection_005.png] >> >> > You should first build plugins separate with qmake, make & make install > as written in README, and then try to run it. > > Still, as you can see, it seems you have Qt version missmatch, so just > make sure you dont have other Qt version on your system. > > >> On another note. That video you shared looked really cool, but it did not >> show how to set qmllive. I looked online and could not find any >> documentation on how to set qmllive up to work with neptuneui or even qt >> creator in general. I went ahead and cloned and build the qmllive project, >> but I ran into an issue where the interface is not readable. I reported the >> bug here: https://bugreports.qt.io/browse/AUTOSUITE-3?jql= >> project%20%3D%20AUTOSUITE >> >> Just wanted to let you know I am still trying to set my development >> environment up for neptuneui. Do you have any advice for issues I have >> building and running the neptuneui project, or for setting qmllive up? >> > > It is really important to check README and follow the steps written there. > > Regards, > >> >> Thanks you! >> Aras >> >> On Wed, Aug 10, 2016 at 3:43 AM, Nedim Hadzic < >> nedim.hadzic at pelagicore.com> wrote: >> >>> Hello Aras, >>> >>> Nice to hear you have Neptune up and running! >>> >>> As far as the documentation is concerned, we are missing a lot there in >>> the Neptune. Except couple READMEs, there is not that much documentation in >>> the project. It is something that we should focus more in the future. >>> >>> Other replies inline. >>> >>> >>> >>> On 9 August 2016 at 22:32, Aras Balali Moghaddam >>> wrote: >>> >>>> Hi there, >>>> I just managed to build and run neptuneui today and I am really liking >>>> what I see. I like to help wherever I can even if it is only documentation. >>>> I am just getting back to developing in C++ and learning QML. I used to be >>>> a javascript developer but I also have a background in user interaction and >>>> visualization. I have two general questions right now: >>>> >>>> * *where do you document neptuneui project?* Are there mockups, >>>> feature requests, user study results, block diagrams showing components of >>>> the software and their relations, etc. >>>> >>> >>> As we dont have the documentation right now, so there is no place. >>> Usually the best place would be in the doc/ folder within the root folder. >>> We have some wireframes, general one, and assets. For the feature requests, >>> we have a JIRA, but for the others we dont have them right now. >>> >>> >>>> * *Is there a developer guide? *How can I build applications for >>>> neptuneui? How can I use qt creator to develop for neptune ui and how would >>>> I run my apps? How can I modify neptuneui itself? >>>> >>> >>> For Neptune itself, no, but for the Application Manager (used for >>> running the Neptune) you can find here client/application elements >>> documentation https://doc.qt.io/QtApplicationManager/qml- >>> elements-apps.html. You can use the QtCreator with Neptune as any other >>> Qt project. I thin that Application Manager integration with QtCreator is >>> not yet done, but in the meantime you can use a custom executable option >>> within the QtCreator (you can find something here >>> http://doc.qt.io/qtcreator/creator-run-settings.html). >>> >>> You can also check this video for the app development with QmlLive for >>> the Neptune: https://www.youtube.com/watch? >>> v=2KooHmCH31s&feature=youtu.be >>> >>> I know that I do not have a good understanding of how all the pieces in >>>> this project go together, that is why I am reaching out to see what I need >>>> to learn next. >>>> >>> >>> I hope this helps! Let us know if you have more questions. >>> >>> Regards, >>> >>>> >>>> Thank you! >>>> Aras >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >> >> -- > Nedim Hadzic > Senior Software Engineer > pelagicore.com > +49 151 655 666 77 > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_004.png Type: image/png Size: 24585 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_005.png Type: image/png Size: 56588 bytes Desc: not available URL: From arasbm at gmail.com Mon Aug 15 20:00:57 2016 From: arasbm at gmail.com (Aras Balali Moghaddam) Date: Mon, 15 Aug 2016 11:00:57 -0700 Subject: [Automotive] How can I contribute to neptune UI? In-Reply-To: References: Message-ID: Hi Again, I played around with paths a bit more and managed to get the Neptune UI running from qt creator by hard coding the working directory path: [image: Inline image 1] There is probably a better way to do this, but for now I can run the project. Yay! :) I am still stuck with qmllive. I reported a bug and hoping to get a response on that soon. I did read the README and INSTALL files in the qmllive repo. The readme file just points to building the documentation, which I was not able to build. When I try to build the docs following the intruction I get this error: ---- ## Build documentation $ export QT_INSTALL_DOCS=$QTSRC/qtbase/doc $ make docs The documentation will be avilable at 'doc/html/index.html'. Copyright (C) 2016 Pelagicore AG aras at aras-T900:~/Projects/qmllive$ export QT_INSTALL_DOCS=$QTSRC/qtbase/doc aras at aras-T900:~/Projects/qmllive$ make docs OUTDIR=/home/aras/Projects/qmllive/doc/html QMLLIVE_VERSION=1.0.0 QMLLIVE_VERSION_TAG=100 /usr/local/Qt-5.7.0/bin/qdoc /home/aras/Projects/qmllive/doc/qmllive.qdocconf /home/aras/Projects/qmllive/doc/qmllive.qdocconf:1: error: Cannot open file '/qtbase/doc/global/qt-html-templates-offline.qdocconf': No such file or directory Cannot open file '/qtbase/doc/global/qt-html-templates-offline.qdocconf': No such file or directory Aborting Makefile:368: recipe for target 'html-docs' failed make: *** [html-docs] Error 1 ------ Thank you for all your help! Aras On Mon, Aug 15, 2016 at 9:24 AM, Aras Balali Moghaddam wrote: > Hi Nedim, > I did not realize that screenManager plugin was not building because i had > once build it with the old version of qt. I manually removed the plugin.moc > file and build it again and this time it worked! > > Now I am able to successfully build the neptune ui project from qt > creator, but when I go to run it I get the following error: > > --- > [CRIT | am.system] WARNING: for the installer to work correctly, the > executable needs to be run either as root via sudo or SUID > (preferred) [:0] > [CRIT | am.system] (using fallback implementation - you might > experience permission errors on installer operations) > [:0] > [CRIT | am.system] ERROR: no/invalid main QML file specified: Main.qml > [:0] > Press to close this window... > --- > > Does appman really need to run as root? > > If I use appman in the terminal from from the project root folder it will > give the permission error as well but will run the UI just fine. > > I am guessing the error is because appman is not looking in the correct > location so it is not seeing Main.qml. How can fix the settings in qt > creator? > > Thanks for you help! > Aras > > On Mon, Aug 15, 2016 at 4:14 AM, Nedim Hadzic > wrote: > >> Hello, >> >> Reply inline. >> >> On Fri, 12 Aug 2016 at 18:07 Aras Balali Moghaddam >> wrote: >> >>> Thanks for your reply Nedim, that really helps! >>> >>> So I tried setting the run configuration in qt creator to use appman, >>> like this: >>> >>> [image: Selection_004.png] >>> >>> >> This looks OK. >> >> >>> How can I configure the build settings for the neptune UI project? If I >>> run it with default build settings I get these errors: >>> >>> [image: Selection_005.png] >>> >>> >> You should first build plugins separate with qmake, make & make install >> as written in README, and then try to run it. >> >> Still, as you can see, it seems you have Qt version missmatch, so just >> make sure you dont have other Qt version on your system. >> >> >>> On another note. That video you shared looked really cool, but it did >>> not show how to set qmllive. I looked online and could not find any >>> documentation on how to set qmllive up to work with neptuneui or even qt >>> creator in general. I went ahead and cloned and build the qmllive project, >>> but I ran into an issue where the interface is not readable. I reported the >>> bug here: https://bugreports.qt.io/browse/AUTOSUITE-3?jql=project%20% >>> 3D%20AUTOSUITE >>> >>> Just wanted to let you know I am still trying to set my development >>> environment up for neptuneui. Do you have any advice for issues I have >>> building and running the neptuneui project, or for setting qmllive up? >>> >> >> It is really important to check README and follow the steps written there. >> >> Regards, >> >>> >>> Thanks you! >>> Aras >>> >>> On Wed, Aug 10, 2016 at 3:43 AM, Nedim Hadzic < >>> nedim.hadzic at pelagicore.com> wrote: >>> >>>> Hello Aras, >>>> >>>> Nice to hear you have Neptune up and running! >>>> >>>> As far as the documentation is concerned, we are missing a lot there in >>>> the Neptune. Except couple READMEs, there is not that much documentation in >>>> the project. It is something that we should focus more in the future. >>>> >>>> Other replies inline. >>>> >>>> >>>> >>>> On 9 August 2016 at 22:32, Aras Balali Moghaddam >>>> wrote: >>>> >>>>> Hi there, >>>>> I just managed to build and run neptuneui today and I am really liking >>>>> what I see. I like to help wherever I can even if it is only documentation. >>>>> I am just getting back to developing in C++ and learning QML. I used to be >>>>> a javascript developer but I also have a background in user interaction and >>>>> visualization. I have two general questions right now: >>>>> >>>>> * *where do you document neptuneui project?* Are there mockups, >>>>> feature requests, user study results, block diagrams showing components of >>>>> the software and their relations, etc. >>>>> >>>> >>>> As we dont have the documentation right now, so there is no place. >>>> Usually the best place would be in the doc/ folder within the root folder. >>>> We have some wireframes, general one, and assets. For the feature requests, >>>> we have a JIRA, but for the others we dont have them right now. >>>> >>>> >>>>> * *Is there a developer guide? *How can I build applications for >>>>> neptuneui? How can I use qt creator to develop for neptune ui and how would >>>>> I run my apps? How can I modify neptuneui itself? >>>>> >>>> >>>> For Neptune itself, no, but for the Application Manager (used for >>>> running the Neptune) you can find here client/application elements >>>> documentation https://doc.qt.io/QtApplicationManager/qml-elements-apps. >>>> html. You can use the QtCreator with Neptune as any other Qt project. >>>> I thin that Application Manager integration with QtCreator is not yet done, >>>> but in the meantime you can use a custom executable option within the >>>> QtCreator (you can find something here http://doc.qt.io/qtcreator/cre >>>> ator-run-settings.html). >>>> >>>> You can also check this video for the app development with QmlLive for >>>> the Neptune: https://www.youtube.com/watch? >>>> v=2KooHmCH31s&feature=youtu.be >>>> >>>> I know that I do not have a good understanding of how all the pieces in >>>>> this project go together, that is why I am reaching out to see what I need >>>>> to learn next. >>>>> >>>> >>>> I hope this helps! Let us know if you have more questions. >>>> >>>> Regards, >>>> >>>>> >>>>> Thank you! >>>>> Aras >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>> >>> -- >> Nedim Hadzic >> Senior Software Engineer >> pelagicore.com >> +49 151 655 666 77 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_005.png Type: image/png Size: 56588 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_007.png Type: image/png Size: 27510 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_004.png Type: image/png Size: 24585 bytes Desc: not available URL: From nedim.hadzic at pelagicore.com Tue Aug 16 08:42:05 2016 From: nedim.hadzic at pelagicore.com (Nedim Hadzic) Date: Tue, 16 Aug 2016 06:42:05 +0000 Subject: [Automotive] How can I contribute to neptune UI? In-Reply-To: References: Message-ID: Hi Aras, Nice to see you have Neptune up and running! The {sourceDir} as it was before should do the same thing as that. Not sure why in your case was making a problem. In any case, good to see you have it running. Regards, On Mon, 15 Aug 2016 at 20:00 Aras Balali Moghaddam wrote: > Hi Again, > I played around with paths a bit more and managed to get the Neptune UI > running from qt creator by hard coding the working directory path: > > [image: Inline image 1] > There is probably a better way to do this, but for now I can run the > project. Yay! :) > > I am still stuck with qmllive. I reported a bug and hoping to get a > response on that soon. I did read the README and INSTALL files in the > qmllive repo. The readme file just points to building the documentation, > which I was not able to build. When I try to build the docs following the > intruction I get this error: > > ---- > ## Build documentation > > $ export QT_INSTALL_DOCS=$QTSRC/qtbase/doc > $ make docs > > The documentation will be avilable at 'doc/html/index.html'. > > Copyright (C) 2016 Pelagicore AG > aras at aras-T900:~/Projects/qmllive$ export > QT_INSTALL_DOCS=$QTSRC/qtbase/doc > aras at aras-T900:~/Projects/qmllive$ make docs > OUTDIR=/home/aras/Projects/qmllive/doc/html QMLLIVE_VERSION=1.0.0 > QMLLIVE_VERSION_TAG=100 /usr/local/Qt-5.7.0/bin/qdoc > /home/aras/Projects/qmllive/doc/qmllive.qdocconf > /home/aras/Projects/qmllive/doc/qmllive.qdocconf:1: error: Cannot open > file '/qtbase/doc/global/qt-html-templates-offline.qdocconf': No such file > or directory > Cannot open file '/qtbase/doc/global/qt-html-templates-offline.qdocconf': > No such file or directory > > Aborting > Makefile:368: recipe for target 'html-docs' failed > make: *** [html-docs] Error 1 > ------ > > Thank you for all your help! > Aras > > On Mon, Aug 15, 2016 at 9:24 AM, Aras Balali Moghaddam > wrote: > >> Hi Nedim, >> I did not realize that screenManager plugin was not building because i >> had once build it with the old version of qt. I manually removed the >> plugin.moc file and build it again and this time it worked! >> >> Now I am able to successfully build the neptune ui project from qt >> creator, but when I go to run it I get the following error: >> >> --- >> [CRIT | am.system] WARNING: for the installer to work correctly, the >> executable needs to be run either as root via sudo or SUID >> (preferred) [:0] >> [CRIT | am.system] (using fallback implementation - you might >> experience permission errors on installer >> operations) [:0] >> [CRIT | am.system] ERROR: no/invalid main QML file specified: >> Main.qml [:0] >> Press to close this window... >> --- >> >> Does appman really need to run as root? >> >> If I use appman in the terminal from from the project root folder it will >> give the permission error as well but will run the UI just fine. >> >> I am guessing the error is because appman is not looking in the correct >> location so it is not seeing Main.qml. How can fix the settings in qt >> creator? >> >> Thanks for you help! >> Aras >> >> On Mon, Aug 15, 2016 at 4:14 AM, Nedim Hadzic < >> nedim.hadzic at pelagicore.com> wrote: >> >>> Hello, >>> >>> Reply inline. >>> >>> On Fri, 12 Aug 2016 at 18:07 Aras Balali Moghaddam >>> wrote: >>> >>>> Thanks for your reply Nedim, that really helps! >>>> >>>> So I tried setting the run configuration in qt creator to use appman, >>>> like this: >>>> >>>> [image: Selection_004.png] >>>> >>>> >>> This looks OK. >>> >>> >>>> How can I configure the build settings for the neptune UI project? If I >>>> run it with default build settings I get these errors: >>>> >>>> [image: Selection_005.png] >>>> >>>> >>> You should first build plugins separate with qmake, make & make install >>> as written in README, and then try to run it. >>> >>> Still, as you can see, it seems you have Qt version missmatch, so just >>> make sure you dont have other Qt version on your system. >>> >>> >>>> On another note. That video you shared looked really cool, but it did >>>> not show how to set qmllive. I looked online and could not find any >>>> documentation on how to set qmllive up to work with neptuneui or even qt >>>> creator in general. I went ahead and cloned and build the qmllive project, >>>> but I ran into an issue where the interface is not readable. I reported the >>>> bug here: >>>> https://bugreports.qt.io/browse/AUTOSUITE-3?jql=project%20%3D%20AUTOSUITE >>>> >>>> Just wanted to let you know I am still trying to set my development >>>> environment up for neptuneui. Do you have any advice for issues I have >>>> building and running the neptuneui project, or for setting qmllive up? >>>> >>> >>> It is really important to check README and follow the steps written >>> there. >>> >>> Regards, >>> >>>> >>>> Thanks you! >>>> Aras >>>> >>>> On Wed, Aug 10, 2016 at 3:43 AM, Nedim Hadzic < >>>> nedim.hadzic at pelagicore.com> wrote: >>>> >>>>> Hello Aras, >>>>> >>>>> Nice to hear you have Neptune up and running! >>>>> >>>>> As far as the documentation is concerned, we are missing a lot there >>>>> in the Neptune. Except couple READMEs, there is not that much documentation >>>>> in the project. It is something that we should focus more in the future. >>>>> >>>>> Other replies inline. >>>>> >>>>> >>>>> >>>>> On 9 August 2016 at 22:32, Aras Balali Moghaddam >>>>> wrote: >>>>> >>>>>> Hi there, >>>>>> I just managed to build and run neptuneui today and I am really >>>>>> liking what I see. I like to help wherever I can even if it is only >>>>>> documentation. I am just getting back to developing in C++ and learning >>>>>> QML. I used to be a javascript developer but I also have a background in >>>>>> user interaction and visualization. I have two general questions right now: >>>>>> >>>>>> * *where do you document neptuneui project?* Are there mockups, >>>>>> feature requests, user study results, block diagrams showing components of >>>>>> the software and their relations, etc. >>>>>> >>>>> >>>>> As we dont have the documentation right now, so there is no place. >>>>> Usually the best place would be in the doc/ folder within the root folder. >>>>> We have some wireframes, general one, and assets. For the feature requests, >>>>> we have a JIRA, but for the others we dont have them right now. >>>>> >>>>> >>>>>> * *Is there a developer guide? *How can I build applications for >>>>>> neptuneui? How can I use qt creator to develop for neptune ui and how would >>>>>> I run my apps? How can I modify neptuneui itself? >>>>>> >>>>> >>>>> For Neptune itself, no, but for the Application Manager (used for >>>>> running the Neptune) you can find here client/application elements >>>>> documentation >>>>> https://doc.qt.io/QtApplicationManager/qml-elements-apps.html. You >>>>> can use the QtCreator with Neptune as any other Qt project. I thin that >>>>> Application Manager integration with QtCreator is not yet done, but in the >>>>> meantime you can use a custom executable option within the QtCreator (you >>>>> can find something here >>>>> http://doc.qt.io/qtcreator/creator-run-settings.html). >>>>> >>>>> You can also check this video for the app development with QmlLive for >>>>> the Neptune: >>>>> https://www.youtube.com/watch?v=2KooHmCH31s&feature=youtu.be >>>>> >>>>> I know that I do not have a good understanding of how all the pieces >>>>>> in this project go together, that is why I am reaching out to see what I >>>>>> need to learn next. >>>>>> >>>>> >>>>> I hope this helps! Let us know if you have more questions. >>>>> >>>>> Regards, >>>>> >>>>>> >>>>>> Thank you! >>>>>> Aras >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>>>> >>>> >>>> -- >>> Nedim Hadzic >>> Senior Software Engineer >>> pelagicore.com >>> +49 151 655 666 77 >>> >> >> > -- Nedim Hadzic Senior Software Engineer pelagicore.com +49 151 655 666 77 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_005.png Type: image/png Size: 56588 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_007.png Type: image/png Size: 27510 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_004.png Type: image/png Size: 24585 bytes Desc: not available URL: From jlamothe at docboxinc.com Thu Aug 18 21:25:45 2016 From: jlamothe at docboxinc.com (Jereme Lamothe) Date: Thu, 18 Aug 2016 19:25:45 +0000 Subject: [Automotive] Qt Automotive Suite dbus requirements Message-ID: Hey all. I'm curious about the dbus version requirement (1.8) when compiling the app manager, as this appears to be specific to the Automotive Suite and not Qt 5.7. Are there features I can disable in the app manager to negate the need for this requirement, and instead use an earlier version? I've successfully built & run appman + neptune-ui under Ubuntu Server 16.04, to familiarize myself with the project & its dependencies. However the device/product I'm working on is based on Ubuntu Server 14.04, and the versions of dbus & wayland in that repository are too old for Qt Automotive Suite (dbus 1.6) and QtCompositor (1.4) respectively. I'm comfortable resolving the Wayland dependency by compiling & deploying a newer version myself (and I suspect QtCompositor questions fall outside the scope of this mailing list). The dbus dependency I'm less enthusiastic about rolling my own, given the number of other services I could be impacting. I'm really impressed and excited by what I've seen of the automotive suite thus far. I look forward to the official 1.0 release! -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.griebl at pelagicore.com Thu Aug 18 22:20:18 2016 From: robert.griebl at pelagicore.com (Robert Griebl) Date: Thu, 18 Aug 2016 22:20:18 +0200 Subject: [Automotive] Qt Automotive Suite dbus requirements In-Reply-To: References: Message-ID: <1b98926c-efd5-6311-665c-ccc9a9386f91@pelagicore.com> Hi Jereme, On 18.08.2016 21:25, Jereme Lamothe wrote: > Hey all. I'm curious about the dbus version requirement (1.8) when > compiling the app manager, as this appears to be specific to the > Automotive Suite and not Qt 5.7. Are there features I can disable in the > app manager to negate the need for this requirement, and instead use an > earlier version? DBus 1.8 is not really a hard dependency, but I have seen so many evil memory corruption bugs in versions < 1.8. Especially when using DBus in multiple threads which we're not using yet - it will come though when I finally have some time to rewrite the AM DBus adapter. In essence - you can just remove the check for now and I might also relax it to a big fat warning until we really need it to prevent memory corruptions. cu Robert -- Robert Griebl Senior Software Engineer Pelagicore AG Balanstr. 55, 81541 Munich, Germany robert.griebl at pelagicore.com www.pelagicore.com From jlamothe at docboxinc.com Fri Aug 19 14:21:45 2016 From: jlamothe at docboxinc.com (Jereme Lamothe) Date: Fri, 19 Aug 2016 12:21:45 +0000 Subject: [Automotive] Qt Automotive Suite dbus requirements In-Reply-To: <1b98926c-efd5-6311-665c-ccc9a9386f91@pelagicore.com> References: <1b98926c-efd5-6311-665c-ccc9a9386f91@pelagicore.com> Message-ID: Thank you for your response! I'll make the dbus modifications and see if I can get this working under Ubuntu Server 14.04. On Thu, Aug 18, 2016 at 4:20 PM Robert Griebl wrote: > Hi Jereme, > > On 18.08.2016 21:25, Jereme Lamothe wrote: > > Hey all. I'm curious about the dbus version requirement (1.8) when > > compiling the app manager, as this appears to be specific to the > > Automotive Suite and not Qt 5.7. Are there features I can disable in the > > app manager to negate the need for this requirement, and instead use an > > earlier version? > > DBus 1.8 is not really a hard dependency, but I have seen so many evil > memory corruption bugs in versions < 1.8. Especially when using DBus in > multiple threads which we're not using yet - it will come though when I > finally have some time to rewrite the AM DBus adapter. > > In essence - you can just remove the check for now and I might also > relax it to a big fat warning until we really need it to prevent memory > corruptions. > > cu > Robert > > > -- > Robert Griebl > Senior Software Engineer > > Pelagicore AG > Balanstr. 55, 81541 Munich, Germany > robert.griebl at pelagicore.com > www.pelagicore.com > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.kampas at jolla.com Tue Aug 23 12:43:16 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Tue, 23 Aug 2016 10:43:16 +0000 Subject: [Automotive] QML Live: Extracting a shared library Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F5090C@ORD2MBX01B.mex05.mlsrvr.com> Hi, I would like to contribute patches for building what is needed at app side into a shared library (basically LiveNodeEngine, RemoteReceiver and their dependencies). Are there any concrete plans I should/could follow regarding this? BR, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From shrikant.dhumal at qt.io Wed Aug 24 02:39:48 2016 From: shrikant.dhumal at qt.io (Shrikant Dhumal) Date: Wed, 24 Aug 2016 00:39:48 +0000 Subject: [Automotive] Internationalization support Message-ID: Hello there, I intend to write a small app for Neptune UI demonstrating internationalization support in Qt. I plan to install it alongside the other apps in APP LAUNCHER (Keyboard, Browser, Movies, etc.). To implement the internationalization, I need to instantiate QTranslator class in cpp and then use it to load the appropriate translation file. I am wondering how to accomplish that with the existing Neptune UI framework? ----------- Shrikant -------------- next part -------------- An HTML attachment was scrubbed... URL: From juergen.bocklage-ryannel at pelagicore.com Thu Aug 25 08:30:32 2016 From: juergen.bocklage-ryannel at pelagicore.com (Juergen Ryannel) Date: Thu, 25 Aug 2016 08:30:32 +0200 Subject: [Automotive] QML Live: Extracting a shared library In-Reply-To: <597ECB6BFD23CC488EED8B6CD7566AD232F5090C@ORD2MBX01B.mex05.mlsrvr.com> References: <597ECB6BFD23CC488EED8B6CD7566AD232F5090C@ORD2MBX01B.mex05.mlsrvr.com> Message-ID: Hi Martin, Thanks for your great contributions. Awesome. There are several options discussed for the library. Either the library is the minimal library I need to create a remote live reloading user interface or the library also contains everything none-visual to write your own live-reloading tool, e.g. a pure command line tool. So the bench would just use the library and add UI on top. This would allow us later also to place a QtQuick user interface on top at some point. Please also bear in mind we want to separate the bench from the rendering, process wise by default in the future. So as long we do not have a requirement to produce a very minimal library to be usable on a device target I would opt for placing everything none visual into the library and then later create a QML plugin wrapper around it. For the physical library perspective, I would like to see the library to be something like a qt module and installed inside the Qt SDK so that other application will find it easily. I hope this helps. / juergen > On 23.08.2016, at 12:43, Martin Kampas wrote: > > Hi, > > I would like to contribute patches for building what is needed at app side into a shared library (basically LiveNodeEngine, RemoteReceiver and their dependencies). > > Are there any concrete plans I should/could follow regarding this? > > BR, > Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From juergen.bocklage-ryannel at pelagicore.com Thu Aug 25 09:20:04 2016 From: juergen.bocklage-ryannel at pelagicore.com (Juergen Ryannel) Date: Thu, 25 Aug 2016 09:20:04 +0200 Subject: [Automotive] Sandboxing for System Installed Application Message-ID: <820C8AA4-CF58-4A38-990E-5052C26719CB@pelagicore.com> Hi, I?m just looking at the patch for Sandboxing support for QmlLive (see https://codereview.qt-project.org/#/c/168747). --- Allow receiving updates with read only workspace Storing updates in a writable overlay is useful when the application is installed as a system application. --- This should be only be useful if you create a custom live enabled runtime which is installed on a device (for example a tablet) and is not allowed to write into its installed folder. In this case it need to find a writeable place for it?s data. Correct? Or is it more the use case that there is a read-only workspace on a remote device and still we would like to update the user interface? So we could either lookup a temporary folder or ask QStandardPaths for a writeable location. In both cases the implementation makes a choice. Personally I would like to see that there is a default strategy to find a writeable workspace location, which is not inside the implementation but can be set onto the livenode in case something is not writeable. If the workspace is read-only we could also copy the workspace or as it proposed in the patch to use a url interceptor to overwrite the target case by case. Can someone elaborate what is the exact use case here? And then I will create a JIRA issue for this to better understand which problem we try to solve. Thanks / jryannel From dominik.holland at pelagicore.com Thu Aug 25 09:43:51 2016 From: dominik.holland at pelagicore.com (Dominik Holland) Date: Thu, 25 Aug 2016 09:43:51 +0200 Subject: [Automotive] Internationalization support In-Reply-To: References: Message-ID: <4ce22656-a679-00b5-40dc-240d828660cd@pelagicore.com> Hi, Am 08/24/2016 um 02:39 AM schrieb Shrikant Dhumal: > Hello there, > > > > I intend to write a small app for Neptune UI demonstrating > internationalization support in Qt. I plan to install it alongside the > other apps in APP LAUNCHER (Keyboard, Browser, Movies, etc.). > > > > To implement the internationalization, I need to instantiate QTranslator > class in cpp and then use it to load the appropriate translation file. I > am wondering how to accomplish that with the existing Neptune UI framework? I guess a good start is to take a look at the documentation for the info.yaml here: https://doc-snapshots.qt.io/qtapplicationmanager/manifest.html Using the runtime identifier you can use the "native" runtime to start native binaries, this way you can create your main.cpp yourself and also use the QTranslator. Dominik > > > > ----------- > > Shrikant > > > > > > _______________________________________________ > Automotive mailing list > Automotive at qt-project.org > http://lists.qt-project.org/mailman/listinfo/automotive > -- Dominik Holland SENIOR SOFTWARE ENGINEER Pelagicore AG Balanstr. 55, 81541 Munich, Germany +49 (0)171 760 25 96 dominik.holland at pelagicore.com www.pelagicore.com From martin.kampas at jolla.com Thu Aug 25 15:59:29 2016 From: martin.kampas at jolla.com (Martin Kampas) Date: Thu, 25 Aug 2016 13:59:29 +0000 Subject: [Automotive] Sandboxing for System Installed Application In-Reply-To: <820C8AA4-CF58-4A38-990E-5052C26719CB@pelagicore.com> References: <820C8AA4-CF58-4A38-990E-5052C26719CB@pelagicore.com> Message-ID: <597ECB6BFD23CC488EED8B6CD7566AD232F54A95@ORD2MBX01B.mex05.mlsrvr.com> Hi J?rgen, > This should be only be useful if you create a custom live enabled runtime which is installed on a device (for example a tablet) and is not allowed to write into its installed folder. In this case it need to find a writeable place for it?s data. Correct? > Or is it more the use case that there is a read-only workspace on a remote device and still we would like to update the user interface? It applies also to the case when the standard QmlLive Runtime is used. I updated the documentation, explaining: """Not all projects are designed so that they allow working on isolated panels or screens and it may be necessary to deploy whole project to a target device in order to execute it. Receiving updates normally requires write access to the deployed files. Depending on the target platform, the project may be deployed to a location which is not user writable. In most cases hacking on the file permissions after deployment can help, but a more convenient method is available - let the runtime store all updates in a writable workspace overlay. Use the \c -updates-as-overlay option to enable this feature.""" > So we could either lookup a temporary folder or ask QStandardPaths for a writeable location. In both cases the implementation makes a choice. > Personally I would like to see that there is a default strategy to find a writeable workspace location, which is not inside the implementation but can be set onto the livenode in case something is not writeable. It uses QDir::tempPath() to find such a location. It can be influenced by setting a platform specific environment variable. The following change set further extends this to also use application and company name in order to get app specific path, much like it is done by QSettings (this needs to be a bit tuned for the case with the standard runtime). I considered to allow overriding the location with a dedicated environment variable but I abandoned this idea as too dangerous - the location is subject to "rm -rf" and I do not want to imagine someone misunderstanding and setting it to $HOME or $PROJECTS or whatever valuable location :) Every project may have its specific constraints - I would rather let the user control the mechanism used. This also serves as a preparation step for adding support to receive updates for compiled-in resources (qrc). I am thinking maybe the overlay should be persistent by default? BR, Martin