GO + QML for Android or iOS

631 views
Skip to first unread message

Steven Ducat

unread,
Mar 13, 2014, 10:17:01 PM3/13/14
to go-...@googlegroups.com

Has anyone had any attempts to create an Android or iOS app using GO + QML..

Really interested in any feedback..

Steven.

Gustavo Niemeyer

unread,
Mar 14, 2014, 10:06:05 AM3/14/14
to Steven Ducat, Go QML
On Thu, Mar 13, 2014 at 11:17 PM, Steven Ducat <steve...@gmail.com> wrote:
> Has anyone had any attempts to create an Android or iOS app using GO + QML..

It sounds doable given that both Go and QML can be made to work on
Android, but I haven't tried.


gustavo @ http://niemeyer.net

GeertJohan

unread,
Apr 4, 2014, 1:48:43 PM4/4/14
to go-...@googlegroups.com, Steven Ducat
Steven, did you make any progress with this? I want to do the same.
Care to share things you've discovered and work on it together?

David Marceau

unread,
Apr 5, 2014, 12:19:50 AM4/5/14
to go-...@googlegroups.com
On 04/04/2014 01:48 PM, GeertJohan wrote:
> Steven, did you make any progress with this? I want to do the same.
> Care to share things you've discovered and work on it together?
>
> On Friday, 14 March 2014 15:06:05 UTC+1, Gustavo Niemeyer wrote:
>>
>> On Thu, Mar 13, 2014 at 11:17 PM, Steven Ducat <steve...@gmail.com<javascript:>>
>> wrote:
>>> Has anyone had any attempts to create an Android or iOS app using GO +
>> QML..
>>
>> It sounds doable given that both Go and QML can be made to work on
>> Android, but I haven't tried.
>>
>>
>> gustavo @ http://niemeyer.net
>>
>
There are two strategies for this.

1)You can make the golang your main driver by making it a native
activity. You will need to use the ADK and the NDK for using native
activity.

2)You could write a standard java app that pulls in a golang shared
library that exposes JNI native services along with some hidden inner
golang stuff.

I've heard of GoJVM. That would be something to look at and integrate with.

David Marceau

unread,
Apr 5, 2014, 12:33:24 AM4/5/14
to go-...@googlegroups.com
Also necessitas/qtandroid are related to this because they are c++ based
qt apis targeted for android apps.
http://qt-project.org/doc/qtcreator-2.8/creator-deploying-android.html

Here is a qtandroid/necessitas project with c++:
http://erebusrpg.sourceforge.net/index.html

Steven Ducat

unread,
Apr 5, 2014, 8:38:35 AM4/5/14
to GeertJohan, go-...@googlegroups.com

I have not gone any further at this stage.. have been looking down the road of the NDK option.. 

I have a large project which needs to run on Win, Linux, Mac, Android, iOS, Nokia.. was hoping to keep all the application logic in Go but it seems there is too many hoops to jump to achieve this outcome.. it is all too early in the piece..

As soon as I have available time.. I will seriously be looking at the best option for Android/Go.. starting by looking at the Android/QT/C++ setup..

Have recently been working on a Android project using https://github.com/square/flow/https://github.com/square/mortar/.. I am using Go for the application logic and Flow/Mortar for the View..

David Skinner

unread,
Apr 17, 2014, 6:52:46 PM4/17/14
to go-...@googlegroups.com
Bump.

I am also interested in GO-QML-GLES- on Android.
I expect it will be another week before I get into it deeply. Any additional pointers for a first time user would be greatly appreciated.

Gustavo Niemeyer

unread,
Apr 17, 2014, 7:02:10 PM4/17/14
to David Skinner, Go QML
I'm currently working on an improved GL interface, that will allow you
to say exactly which version you want to use and get a proper set of
statically defined functions for it, or an error if the function asked
for is not available in the given version. It will also be easily
portable, as it'll rely on the entry point address resolution made
available in Qt, rather than reinventing it.

It's unlikely I'll be able to deliver within a week, as GopherCon is
next week and I have to prepare for it and travel, but it's coming
soon.
> --
> You received this message because you are subscribed to the Google Groups
> "go-qml" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-qml+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--

gustavo @ http://niemeyer.net

David Skinner

unread,
Apr 17, 2014, 7:18:53 PM4/17/14
to Gustavo Niemeyer, Go QML
This is wonderful news. I will concentrate on getting my current program ready for the QML contest and when you are ready for a beta tester for GLES2 sort of stuff, let me know! I will try to give you a good android demo.

Michael Andersen

unread,
Apr 26, 2016, 6:52:25 AM4/26/16
to go-qml, gus...@niemeyer.net

Has anyone had any success with go-qml on android? It's been a fair bit of time and more android apps are using go now. go-qml would be a very useful toolkit for writing cross-platform apps. 
Reply all
Reply to author
Forward
0 new messages