Converting Go code to ui xml is not supported and currently not planned.
But you can load ui files created by the Qt Designer with the help of the 
uitools pkg, you might want to take a look at the basic example in 
internal/examples/uitools.
I'm planning to port the uic application to convert ui files to Go code in 
the future, but haven't really looked into that yet.

Also there are a lot of small additions planned, but nothing big beside new 
supported platforms and Qt 5.8.
I will instead cleanup the code and work on the usability of the tools.

Am Dienstag, 15. November 2016 19:21:53 UTC+1 schrieb Justin Israel:
>
>
>
> On Tue, Nov 15, 2016, 11:47 PM <gerald...@gmail.com <javascript:>> wrote:
>
>> Great news! is it possible to load the gui which has been created with qt 
>> creator? 
>>
>
> I doubt it. That would require converting your Go code into a Qt .ui file 
> format, which I would be surprised if the library supported. Then for it to 
> be useful it would also have to have the equivalent of pyuic (for PyQt4, or 
> pyside-uic) to convert from a UI file back to Go. 
>
> Seems more likely that UI code will just be designed by hand. 
>
> is there anything which you still plan to add/extend?
>>
>>
>> On Monday, November 14, 2016 at 1:30:58 AM UTC+1, Rich wrote:
>>>
>>> This looks very well done. I've not done any real programming in it but 
>>> looking over the github it looks like this is well on it's way.  Thank 
>>> you!! i have a few programs I've been meaning to write that needed a 
>>> gui, I'll be giving this a shot.
>>>
>>>
>>>
>>> On Thursday, November 10, 2016 at 3:34:36 PM UTC-5, therecipe wrote:
>>>>
>>>> Hey everyone,
>>>>
>>>> I would like to officially announce the project I'm working on for a 
>>>> while now.
>>>> It's a binding for the Qt framework + some tools to help you with 
>>>> development and deployment of your Qt applications.
>>>>
>>>> The most interesting feature of the Qt framework for the Go community 
>>>> is probably that it can be used to develop native looking GUI applications 
>>>> for various platforms without the need to make platform specific changes 
>>>> to 
>>>> your code.
>>>> Beside the GUI modules Qt also includes: a webengine (chromium), 
>>>> several multimedia functions, access to bluetooth + nfc, access to various 
>>>> hardware sensors, gamepad support, access to position informations and 
>>>> much 
>>>> more ...
>>>> The Qt article on wikipedia: 
>>>> https://en.wikipedia.org/wiki/Qt_(software)
>>>>
>>>>
>>>> There are two caveats for those who intent to use the binding:
>>>>
>>>> 1. You code won't be pure Go anymore, as this binding heavily relies on 
>>>> cgo.
>>>> 2. The binding dynamically links to Qt's libraries, which results in 
>>>> 25-50mb (depending on the platform) uncompressed libs that have to be 
>>>> deployed along with you binary.
>>>> (But it's also possible to link against the static Qt libs and remove 
>>>> this need. And there is also work being done to reduce the size of the 
>>>> dynamic libs in the upcoming versions of Qt.)
>>>>
>>>>
>>>> For the pro side, I should probably mention that:
>>>>
>>>> 1. The deployment to most platforms is pretty trivial (that includes 
>>>> cross compiling). (And there will be even more supported platforms in the 
>>>> future)
>>>> 2. That the binding is almost complete and already supports most Qt 
>>>> modules (30+).
>>>> 3. There are a lot of examples to get you started. (And porting over 
>>>> existing C++ examples should be super simple)
>>>>
>>>>
>>>> If someone is interested in testing it out, it can be found here:
>>>> https://github.com/therecipe/qt
>>>>
>>>>
>>>> Or if you just want to take a quick look and test the examples on Linux 
>>>> and you are familiar with Docker.
>>>> You could use one of the images as well: `docker pull therecipe/qt:base`
>>>> And simply run `qtdeploy build desktop` in one of the `$GOPATH/src/
>>>> github.com/therecipe/qt/internal/examples/` 
>>>> <http://github.com/therecipe/qt/internal/examples/> sub-sub folders. 
>>>> (inside the container)
>>>> There will be a new folder created called `deploy`, which should 
>>>> contain everything that is needed to run the application on a regular 
>>>> 64-bit Linux system.
>>>>
>>>>
>>>> Please let me know what you think.
>>>> Any feedback is welcome :)
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "golang-nuts" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to golang-nuts...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to