You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to go-qml
Newbie question: I am choosing a library to start learning gui programming in Go, and I am considering go-qml. I have read bad things about the MOC (Meta-Object Compiler) of Qt as a thing a KISS programmer would not want to use. My question is:
Is the MOC even used when programming with golang and go-qml? Or it is only for C++ Qt programming?
I would like to not use something complicated (moc) for gui programming in Go.
Thanks
Ben Campbell
unread,
Feb 29, 2016, 4:33:26 PM2/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to go-qml
On Wednesday, December 23, 2015 at 11:50:10 AM UTC+13, Anselmo Catorce wrote:
Is the MOC even used when programming with golang and go-qml? Or it is only for C++ Qt programming?
I've not encountered MOC at all so far using go-qml. Generally I've found that I provide a Go object with all the core operations I want to be able to perform (the "business logic" if you like. Ugh). This is basically the API I want expose to QML. Then the gui itself is all implemented in QML. I've found it separates out pretty tidily - you can keep GUI concerns separated from your core logic and vice versa.
I could imagine that if you're doing anything really complex (ie a very specific, custom control or view) then you might need to deal with MOC. But by then you're firmly in C++ land anyway, and MOC isn't really _that_ big a deal by then :-)