Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thank you! It works well. #1

Closed
kybin opened this issue Nov 27, 2014 · 22 comments
Closed

Thank you! It works well. #1

kybin opened this issue Nov 27, 2014 · 22 comments

Comments

@kybin
Copy link

kybin commented Nov 27, 2014

Hi, therecipe. Thank you for this hard work.
I ran the example. And it works well without any error in my opensuse13.2!

@therecipe
Copy link
Owner

Thank you.
Don't hesitate to ask, if you run into any problems.

@sunwangme
Copy link

wonderful! how to gen the bindings? swig?

@xi2
Copy link

xi2 commented Aug 25, 2015

Hi therecipe. This looks to be excellent work. Like @sunwangme I am also curious to know about the bindings generator. Will you be releasing it, or at least detailing it? I'm fine with you choosing not to, but it would be nice to know if it's coming or not before I choose to use these bindings for something non-trivial. Best wishes and thanks once again for your contribution.

@therecipe
Copy link
Owner

Hey

I currently got no access to the files, but I will try to release them in the next 1-2 weeks.
After I got some time to update the code and get it to work with qt 5.5 and go 1.5.

Also, I'm happy that you find this binding useful and I would love to see something build with it :)

@xi2
Copy link

xi2 commented Sep 6, 2015

Hi. Thanks for replying. I'm not sure I'm going to be using your bindings yet since I'm undecided at the moment about the best approach to GUI using Go and still exploring the available options, but it will be interesting to see how you develop them in the future. Best wishes.

@sunwangme
Copy link

Best wishes.

@therecipe
Copy link
Owner

Hey
I will release the files asap.
But it takes a bit longer, because I also want to get it running on android.

@sunwangme
Copy link

thanks

@therecipe
Copy link
Owner

Hey
It took me longer than I expected, but here it is.
I rewrote the generator and got most qt modules working.

However, the generator code is still messy and the generated code is working, but could be better.

I got a long todo list and will work on it in the following weeks.

The next major points I will work on, are to get it working on windows.
(There is a problem with how g++ is invoking the "collect2.exe" -> https://support.microsoft.com/kb/830473)

And to get a decend deployment mechanism for android, currently I got it working by injecting the generated go library from gomobile in a modefied qt apk.

Please report any issues you may encounter.

@sunwangme
Copy link

thanks

@sunwangme
Copy link

@therecipe
Copy link
Owner

You can run the https://github.com/therecipe/qt/blob/master/internal/binding/make.sh or make.bat (which will generate the binding (and creates the dump folder), install the binding and build the examples)

Or run https://github.com/therecipe/qt/blob/master/internal/binding/gen.go (which will generate the binding and also creates the dump folder)

@sunwangme
Copy link

haha, theory: gen from doc.index

thanks

@therecipe
Copy link
Owner

Hey

I just pushed the new files.
You are now able to create android apks from mac and linux with qtdeploy.
And the next thing on my todo list is to get it working under windows.

@sunwangme
Copy link

thanks for your hard work!

@xland
Copy link
Contributor

xland commented Nov 10, 2015

@therecipe

"(windows is currently not working) -> https://support.microsoft.com/kb/830473"

Is this mean this project can not run exactly on windows

@therecipe
Copy link
Owner

The problem is that go install invokes g++ in the following way:
g++ path/to/file1.o path/to/file2.o path/to/file3.o ... path/to/file1500.o which results in an very long command-line string.
Thats no problem under linux or mac, but windows can't handle this.

So, I will have to:
a) Provide a modded "go install" version which uses "response files"
b) Fill out a bug report
c) Rewrite the "setup/install.go" code, so that it continues the install process after "go install" failed

But after that, the binding should work on windows.

@xland
Copy link
Contributor

xland commented Nov 11, 2015

OK~
I'll wait for this

@therecipe
Copy link
Owner

Okay, I got it working.
The cpp files are now combined in one big file for each sub-package/module, which solves the problem.

I will push the files in the next few hours, when I got the android deployment working on windows also.

@therecipe
Copy link
Owner

So, I pushed the changes.
It's now also working on windows.

From now, I will focus on cleaning up the code.

@xland
Copy link
Contributor

xland commented Nov 12, 2015

@therecipe

Thank you very much!

@jonywtf
Copy link

jonywtf commented Nov 28, 2015

@therecipe, Thanks!
my "custom build" hello, world! on windows:
https://github.com/jonywtf/goqt_hello_world

therecipe pushed a commit that referenced this issue Sep 4, 2017
Update readme community following repo transfer
ilius pushed a commit to ilius/qt that referenced this issue Apr 1, 2023
🐛 Fix panic while accessing selected files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants