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

Windows support (until external linking will be supported by go build) #149

Open
wants to merge 38 commits into
base: v1
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d594148
Update capi.cpp
neclepsio Mar 4, 2015
35ce016
Update idletimer.cpp
neclepsio Mar 4, 2015
0235b6a
Update README.md
neclepsio Mar 4, 2015
658f1f9
Update README.md
neclepsio Mar 4, 2015
1bc7e1c
Update README.md
neclepsio Mar 4, 2015
4b90968
Update README.md
neclepsio Mar 4, 2015
e299a47
Update capi.cpp
neclepsio Mar 4, 2015
377fcee
Update capi.cpp
neclepsio Mar 4, 2015
271f860
Update idletimer.cpp
neclepsio Mar 4, 2015
0a8c2e7
Detect use of Qt objects after destruction and other safety features
Feb 4, 2016
15fa509
Add engine.AddImportPath and ClearComponentCache
Feb 10, 2016
0fc3d34
Enable static building on Windows
Feb 10, 2016
60887d8
Fixed unsupported variant type: 1024 (QJSValue)
obscuren Jan 23, 2015
07befdf
Changed to non-hardcoded type for QJSValue
obscuren Jan 27, 2015
a5eeb50
Fix panic when passing around nil/null objects
ricochet1k Mar 12, 2016
b29d141
Add more Qt paths list manipulation functions
Mar 16, 2016
424704a
Don't panic in function calls with zero/invalid parameters
Mar 16, 2016
826359a
Porting go-qml to Go 1.6
SjB Apr 5, 2016
a159017
Merge pull request #2 from ricochet1k/safer
neclepsio Apr 5, 2016
724d0ea
Go 1.6 support (partial)
neclepsio Apr 5, 2016
25510fc
Merge branch 'refs/heads/SjB-go1.6-port' into v1
neclepsio Apr 5, 2016
9e7fbdc
Go 1.6 (final)
neclepsio Apr 5, 2016
b752760
Merge pull request #5 from neclepsio/SjB-go1.6-port
neclepsio Apr 5, 2016
3817cca
Merge branch 'v1' of https://github.com/tgerring/qml into tgerring-v1
neclepsio Apr 5, 2016
01021bc
change datatype the foldr from uintptr to C.GoRef
SjB Apr 6, 2016
2628b57
refactor valueFold.
SjB Apr 6, 2016
a4363f7
added reference lookup for signal function
SjB Apr 6, 2016
ea70551
added reference lookup for go TypeSpec type
SjB Apr 6, 2016
0309d2d
fix missing goRef function
SjB Apr 6, 2016
d3b5814
Merge pull request #8 from SjB/go1.6-port
neclepsio Apr 6, 2016
d4c4a72
fix forgotten dereferenced datap pointer.
SjB Jul 1, 2016
1cd7645
Merge pull request #10 from SjB/go1.6-port
neclepsio Jul 2, 2016
1a4a251
Added support for Go 1.12
neclepsio Feb 27, 2019
39c86d2
Add support for Qt 5.11+
neclepsio Feb 27, 2019
6f4b129
Changed import path (1/2)
neclepsio Feb 27, 2019
c923d26
Changed import path (2/2)
neclepsio Feb 27, 2019
dea943b
Update README.md
neclepsio Feb 27, 2019
4d1f36b
Update README.md
neclepsio Feb 27, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix panic when passing around nil/null objects
ricochet1k committed Mar 12, 2016
commit a5eeb5078327e920efc856d10fc215dcc645a652
4 changes: 3 additions & 1 deletion qml.go
Original file line number Diff line number Diff line change
@@ -475,7 +475,9 @@ func (obj *Common) setAddr(addr unsafe.Pointer) {
obj.addr = addr
obj.initialized = true

obj.On("destroyed", func() { obj.addr = nil; obj.destroyed = true })
if addr != nil {
obj.On("destroyed", func() { obj.addr = nil; obj.destroyed = true })
}
}

func (obj *Common) assertInitialized() {