[Ves] VES+QT to Android
Casey Goodlett
casey.goodlett at kitware.com
Tue Apr 15 09:37:20 EDT 2014
Vincent,
This is awesome. Would you be willing to write up instructions for setting
up a Qt/VES project for a blog post or share the source for your project?
Thank you
On Tue, Apr 15, 2014 at 9:24 AM, Vincent Kaestle
<vincent.kaestle at gmail.com>wrote:
> I solved the lfind problem by just adding this lfind.c<http://code.google.com/p/tiffonandroid/source/browse/port/lfind.c?r=8f84dea12af065aa9886f62ce408901bb3a73921>in my sources. I know it's little bit creepy.
>
> For the fun, I put in attachment a screenshot with a VES frame and a
> simple Qt Text at bottom.
>
> Note : use QtQuick2 system instead of QtWidget if you need a complex GUI.
>
>
> 2014-04-07 12:14 GMT+02:00 Vincent Kaestle <vincent.kaestle at gmail.com>:
>
> During link process, I got an error :
>> vtk-android/lib/libvtktiff-6.0.a(fFieldInfoByName: error: undefined
>> reference to 'lfind'
>>
>> I guess the problem comes from *qt5_use_modules* function that I use in
>> my CMakelists.txt. If you may have a look of the file, I put it as an
>> attachment. Thanks
>>
>> Vincent
>>
>>
>>
>>
>>
>> 2014-04-07 9:42 GMT+02:00 Vincent Kaestle <vincent.kaestle at gmail.com>:
>>
>> Thanks for your both answers.
>>>
>>> Pat, it helps me a lot, I'm going to try that.
>>> Aashish, it would be perfect if you share your code ! It will make the
>>> task easier ! Let me know when you push it on git.
>>>
>>> Vincent
>>>
>>>
>>> 2014-04-04 17:30 GMT+02:00 Aashish Chaudhary <
>>> aashish.chaudhary at kitware.com>:
>>>
>>> Hi Vincent,
>>>>
>>>>
>>>> On Fri, Apr 4, 2014 at 11:12 AM, Vincent Kaestle <
>>>> vincent.kaestle at gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying something a little tricky : I would like to insert a VES
>>>>> visualisation inside a Qt5 Application for Android.
>>>>>
>>>>> To deploy a Qt5 Application on Android, those parts of code are
>>>>> important :
>>>>>
>>>>> - java interfaces<https://qt.gitorious.org/qt/qtbase/source/src/android>, particularly :
>>>>> QtApplication.java<https://qt.gitorious.org/qt/qtbase/source/src/android/java/src/org/qtproject/qt5/android/bindings/QtApplication.java>
>>>>> QtActivity.java<https://qt.gitorious.org/qt/qtbase/source/src/android/java/src/org/qtproject/qt5/android/bindings/QtActivity.java>
>>>>> QtSurface.java<https://qt.gitorious.org/qt/qtbase/source/src/android/jar/src/org/qtproject/qt5/android/QtSurface.java>
>>>>>
>>>>>
>>>>> My question is : What is the best way to achieve this ?
>>>>>
>>>>> Should I :
>>>>>
>>>>> - Try to blend QtSurface.java with KiwiViewerActivity.java, then
>>>>> test with Kiwi App ?
>>>>> - Or directly use VES lib inside a QGLWidget, but how ?
>>>>>
>>>>>
>>>>> I started working on it some time back but didn't get time to finish
>>>> it. I am glad that you bought it up. I was working towards directly using
>>>> the VES lib inside a QGLWidget. If its Ok with you,
>>>> we can probably share the code and push it to VES eventually. Let me
>>>> know if this sounds good to you.
>>>>
>>>> - Aashish
>>>>
>>>>
>>>>
>>>>> By the way, I think it may be great to have a simple and minimal VES
>>>>> example, like a view with only one 3D object and no gesture control.
>>>>> Because it looks like the only way to start making an App is to start from
>>>>> Kiwi example.
>>>>>
>>>>>
>>>>> Thank you in advance for your advice,
>>>>>
>>>>> Vincent K
>>>>>
>>>>> _______________________________________________
>>>>> Ves mailing list
>>>>> Ves at public.kitware.com
>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> | Aashish Chaudhary
>>>> | R&D Engineer
>>>> | Kitware Inc.
>>>> | www.kitware.com
>>>>
>>>
>>>
>>
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>
--
Casey B. Goodlett, Ph.D.
Technical Leader
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140415/0b439682/attachment-0003.html>
More information about the Ves
mailing list