[Automotive] How can I contribute to neptune UI?

Nedim Hadzic nedim.hadzic at pelagicore.com
Tue Aug 16 08:42:05 CEST 2016


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 <arasbm at gmail.com> 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 <arasbm at gmail.com>
> 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 <RETURN> 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 <arasbm at gmail.com>
>>> 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 <arasbm at gmail.com>
>>>>> 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: <http://lists.qt-project.org/pipermail/automotive/attachments/20160816/a45bebb6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_005.png
Type: image/png
Size: 56588 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20160816/a45bebb6/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_007.png
Type: image/png
Size: 27510 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20160816/a45bebb6/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_004.png
Type: image/png
Size: 24585 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/automotive/attachments/20160816/a45bebb6/attachment-0005.png>


More information about the Automotive mailing list