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

win32 #1

Closed
geraldstanje opened this issue Oct 5, 2014 · 17 comments
Closed

win32 #1

geraldstanje opened this issue Oct 5, 2014 · 17 comments

Comments

@geraldstanje
Copy link

hi,

does it also support windows 7, x32?

Thanks,
-Gerald

@chai2010
Copy link
Owner

chai2010 commented Oct 5, 2014

I think it can also work on win32,
but i donot test it.

@geraldstanje
Copy link
Author

whats the difference between this project and the https://github.com/go-qml/qml ?
the original version doesnt work on windows?

@chai2010
Copy link
Owner

chai2010 commented Oct 6, 2014

The original go-qml use static link with gcc,
only support Qt/MinGW, can't work with Qt/MSVC.

And the Qt64bit only have MSVC version,
see http://qt-project.org/downloads

@oldtree2008
Copy link

error
I tried in window7. mingw and msvs sdk. but it failed.

@geraldstanje
Copy link
Author

hi, can you test this repo? https://github.com/go-qml/qml

@oldtree2008
Copy link

I test ,but it failed too. I don't know why

@geraldstanje
Copy link
Author

could you plase use gdb to figure out where it crashes in order to fix the bug!? maybe it relates to this issue: go-qml/qml#109

@chai2010
Copy link
Owner

@geraldstanje
I test chai2010/qml/hello.go with Qt5.3.2-msvc2012-win32, it can works.

@chai2010
Copy link
Owner

@oldtree2008 You should make sure all env are valid.
If you first install Qt/MinGW, you need restart system.
And suggest use go run hello.go in command line (also need env valid).

@chai2010
Copy link
Owner

@geraldstanje

I try to build chai2010/qml/internal/goqml with Qt5.2.1-mingw32, failed!
I donot try build go-qml/qml.

I think Qt5/MinGW is not a good choise right now (I only use Go64bit and Qt/MSVC).

@oldtree2008
Copy link

@chai2010 I tried with Qt5.3.2-msvc2012-win32. but run hello . it failed. just like screenshot posted by me last time.

@oldtree2008
Copy link

@chai2010 I also tried with Qt5.3.2-msvc2013-win32 , Qt5.3.2-msvc2012-win32,qt-windows-opensource-5.0.2-msvc2010_32-x86. but all failed . my OS is win7. golang 1.3. something wrong ?

running hello.exe returns 'exit status 255'

@chai2010
Copy link
Owner

@oldtree2008

Can you give more details?

  1. go version and go env
  2. qmake -v
  3. gcc -v
  4. nmake /?
  5. echo %GOROOT% %QTDIR% %PATH%
  6. ?

And you can use Depends tool to check the target depends.
http://www.dependencywalker.com/

Thanks!

@oldtree2008
Copy link

@chai2010

a
b
c

d

@oldtree2008
Copy link

e

something wrong?

@geraldstanje
Copy link
Author

Can u use go qml from here? https://github.com/go-qml/qml and use gdb to debug it?

@oldtree2008
Copy link

I succeed in compiling with go1.4 . Maybe There is some wrong with go1.3 compiler.

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

3 participants