[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-18 Thread therecipe
It's intended to be build against Qt 5.7.
And I think Qt 5.6.2 works also (with some errors/warnings during the setup)
I may add backward compatibility in the future, but it's not planned yet.

I use this script to get Qt 5.7 on trusty, if you want to link against 
system libs.
https://github.com/therecipe/qt/blob/master/internal/ci/linux.sh

Otherwise I would recommend to try the official pre-build packages, which 
will also allow stand alone deployments of you application.

Am Freitag, 18. November 2016 02:29:20 UTC+1 schrieb howar...@gmail.com:
>
> What version of QT is it intended to be built against? I get
> therecipe/qt/core/core.cpp:9:30: fatal error: QAbstractAnimation: No such 
> file or directory
> when I try to build against it, or when trying to build the renderer 
> example.
>
> qt5-default says it is 5.5.1+dfsg-16ubuntu7.2 and qtdeclarative5-dev 
> is 5.5.1-2ubuntu6
>
> I am building on Ubuntu 16.04.1 LTS.
>
> Howard
>

-- 
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.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread therecipe
Yes, you could encode the image.Image to []byte (in png or some other image 
format) and use the encoded data to create a QByteArray, which then can be 
used to create a QImage.
The QImage can then be used to edit the image or to create a QPixmap, which 
can be displayed inside a QGraphicScene, QLabel, ...
I played around with something like that last week and created an example, 
maybe this is the part that interest you: 
https://github.com/therecipe/qt/blob/master/internal/examples/widgets/renderer/renderer.go#L145-L187

And here are some infos about the different classes that Qt provides to 
work with image data http://doc.qt.io/qt-5/qpixmap.html#details

Am Mittwoch, 16. November 2016 01:53:08 UTC+1 schrieb howar...@gmail.com:
>
> therecipe, is there a means available to render image.Image or draw.Image 
> (go Image) objects to Qt images/buffers/etc?
>
> I was not able to locate such a facility in several other libraries. In 
> the end I got fed up and wrote my own for converting a draw.Image to a 
> GdkPixBuf to get gtk2 and gotk3 working. Is there a similar raw in-memory 
> image format for Qt that is accessible in a way I could manually create it 
> from an image.Image? (In other words, one where the raw bytes are 
> accessible for setting, as an array, etc?)
>
> Howad
>

-- 
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.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread howardcshaw
therecipe, is there a means available to render image.Image or draw.Image 
(go Image) objects to Qt images/buffers/etc?

I was not able to locate such a facility in several other libraries. In the 
end I got fed up and wrote my own for converting a draw.Image to a 
GdkPixBuf to get gtk2 and gotk3 working. Is there a similar raw in-memory 
image format for Qt that is accessible in a way I could manually create it 
from an image.Image? (In other words, one where the raw bytes are 
accessible for setting, as an array, etc?)

Howad

-- 
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.


Re: [go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread therecipe
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  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/` 
  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 .
>> 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.


Re: [go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread Justin Israel
On Tue, Nov 15, 2016, 11:47 PM  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/`
>  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+unsubscr...@googlegroups.com.
> 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.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-15 Thread gerald . stanje
Great news! is it possible to load the gui which has been created with qt 
creator? 
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/` 
>>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-13 Thread Rich
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/` 
>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-12 Thread therecipe
As Qt itself doesn't use exceptions (even through it partially supports 
them), there are no Go like error returns.
Instead if something unexpected happens, most classes provide functions to 
receive an error message or error code in some way.
So it will only panic if something happens, that's impossible to recover 
from.

Am Samstag, 12. November 2016 17:55:48 UTC+1 schrieb Jason Stillwell:
>
> I gave it a try using QMdiArea. It seems to work well.
>
> But I'm confused about where the errors go. There doesnt' seem to be a way 
> to check for errors. Does it panic in every error situation?
>
> On Thursday, November 10, 2016 at 12:34:36 PM UTC-8, 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/` 
>>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-12 Thread therecipe
Yes it's fully supported, you might want to take a look at the 
`internal/examples/qml` or `quick` folder.
To see how you can interact with QML from Go.

Am Samstag, 12. November 2016 03:49:14 UTC+1 schrieb Tong Sun:
>
> Cool! 
>
> Does it support the declarative 
>  QML 
> ? 
>
>
> 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/` 
>>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-12 Thread Jason Stillwell
I gave it a try using QMdiArea. It seems to work well.

But I'm confused about where the errors go. There doesnt' seem to be a way 
to check for errors. Does it panic in every error situation?

On Thursday, November 10, 2016 at 12:34:36 PM UTC-8, 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/` 
>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-11 Thread Tong Sun
Cool! 

Does it support the declarative 
 QML 
? 


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/` 
>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-11 Thread therecipe
Thank you, I appreciate it :)

Am Donnerstag, 10. November 2016 23:42:41 UTC+1 schrieb Rusco:
>
> Good to see some progress on the GUI front - I think you are up to 
> something !
> Rusco
>
>
>
> On Thursday, 10 November 2016 20:34:36 UTC, 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/` 
>>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: [ANN] (GUI) Qt binding which supports Windows / macOS / Linux / Android / iOS / Sailfish OS / Raspberry Pi

2016-11-10 Thread Rusco
Good to see some progress on the GUI front - I think you are up to 
something !
Rusco



On Thursday, 10 November 2016 20:34:36 UTC, 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/` 
>  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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.