-
Notifications
You must be signed in to change notification settings - Fork 748
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
I can not build qt #14
Comments
Many thanks! all OK! |
D:\gosrc\src\github.com\therecipe\qt>go run d:\gosrc/src/github.com/therecipe/qt/internal/setup/test.go test.widgets/line_edits deploy error:exit status 1 error:exit status 1 exit status 1 |
Hey Can you check if you got this folder And what go version are you using ? |
C:\Qt\Qt5.5.1\5.5\mingw492_32\plugins\platforms\qwindows.dll - yes D:\gosrc\src>go version |
Hey I did set up a fresh Win10 x64 and couldn't reproduce the issue. Could you run this and post the output here ?
And could you run this also ?
|
D:>gcc --version D:\gosrc\src\github.com\therecipe\qt>cd %GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windowsd:\gosrc\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows>C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe -force |
Hey Sorry, I did update the last comment. Could you run this also?
|
d:>cd GOPATH%\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows d:\gosrc\src\github.com\therecipe\qt\internal\examples\widgets\line_edits\deploy\windows>C:\Qt\Qt5.5.1\5.5\mingw492_32\bin\windeployqt.exe .\line_edits.exe --dry-run --list mapping |
http://stackoverflow.com/questions/29456610/can-not-load-the-qt-platform-plugin-windows All tests completed successfully!! thank you very much for your work! ***question to another topic, |
Hey I'm glad it works for you. And about the c++ errors, they are currently not catched and will simply throw a "fatal error: unexpected signal during runtime execution" or something similar. |
Windows 10 64-bit, Corei7-4790/16Gb RAM
QT = C:\Qt\Qt5.5.1
D:\gosrc\src\github.com\therecipe\qt>go run d:\gosrc/src/github.com/therecipe/qt/internal/setup/generate.go
Generate
core funcs: 4037 (- 981) 4s
androidextras funcs: 43 (- 3) 0
gui funcs: 18704 (- 866) 4s
network funcs: 607 (- 267) 1s
sql funcs: 294 (- 71) 0
xml funcs: 323 (- 117) 0
dbus funcs: 175 (- 81) 0
nfc funcs: 111 (- 37) 0
script funcs: 209 (- 37) 0
sensors funcs: 254 (- 11) 0
positioning funcs: 179 (- 69) 0
widgets funcs: 5088 (- 434) 35s
qml funcs: 281 (- 37) 0
websockets funcs: 71 (- 27) 0
xmlpatterns funcs: 162 (- 50) 0
bluetooth funcs: 207 (- 100) 0
webchannel funcs: 13 (- 2) 0
svg funcs: 60 (- 5) 0
multimedia funcs: 1155 (- 160) 2s
quick funcs: 454 (- 70) 1s
help funcs: 91 (- 10) 0
location funcs: 549 (- 41) 0
scripttools funcs: 14 (- 0) 0
multimediawidgets funcs: 59 (- 5) 0
D:\gosrc\src\github.com\therecipe\qt>if 0 NEQ 0 exit /b 0
D:\gosrc\src\github.com\therecipe\qt>go run d:\gosrc/src/github.com/therecipe/qt/internal/setup/install.go
Install-desktop
core 1m2s
androidextras 0
gui 59s
network 14s
sql 6s
xml 9s
dbus 6s
nfc 4s
script 4s
sensors 16s
positioning 5s
widgets
install.Widgets
output:# github.com/therecipe/qt/widgets
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c: In function 'crosscall2':
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:2:23: warning: unused parameter 'fn' [-Wunused-parameter]
void crosscall2(void(fn)(void, int), void _a, int c) { }
^
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:2:46: warning: unused parameter 'a' [-Wunused-parameter]
void crosscall2(void(fn)(void, int), void a, int c) { }
^
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:2:53: warning: unused parameter 'c' [-Wunused-parameter]
void crosscall2(void(_fn)(void, int), void *a, int c) { }
^
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c: In function '_cgo_allocate':
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:5:26: warning: unused parameter 'a' [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:5:33: warning: unused parameter 'c' [-Wunused-parameter]
void _cgo_allocate(void *a, int c) { }
^
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c: In function '_cgo_panic':
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:6:23: warning: unused parameter 'a' [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
C:\WINDOWS\go-build677055738\github.com\therecipe\qt\widgets_obj_cgo_main.c:6:30: warning: unused parameter 'c' [-Wunused-parameter]
void _cgo_panic(void *a, int c) { }
^
github.com/therecipe/qt/widgets
d:\gosrc\src\github.com\therecipe\qt\widgets\qapplication.go: In function '_cgo_b12e6e04c547_Cfunc_QApplication_QApplication_AboutQt':
d:\gosrc\src\github.com\therecipe\qt\widgets\qapplication.go:180:49: warning: unused variable 'a' [-Wunused-variable]
}
^
d:\gosrc\src\github.com\therecipe\qt\widgets\qapplication.go: In function '_cgo_b12e6e04c547_Cfunc_QApplication_QApplication_Beep':
d:\gosrc\src\github.com\therecipe\qt\widgets\qapplication.go:235:49: warning: unused variable 'a' [-Wunused-variable]
defer qt.Recovering("QApplication::windowIcon")
^
d:\gosrc\src\github.com\therecipe\qt\widgets\qapplication.go: In function '_cgo_b12e6e04c547_Cfunc_QApplication_QApplication_CloseAllWindows':
d:\gosrc\src\github.com\therecipe\qt\widgets\qapplication.go:244:49: warning: unused variable 'a' [-Wunused-variable]
}
^
github.com/therecipe/qt/widgets
d:\gosrc\src\github.com\therecipe\qt\widgets\qscrollerproperties.go: In function '_cgo_b12e6e04c547_Cfunc_QScrollerProperties_QScrollerProperties_UnsetDefaultScrollerProperties':
d:\gosrc\src\github.com\therecipe\qt\widgets\qscrollerproperties.go:89:49: warning: unused variable 'a' [-Wunused-variable]
QScrollerProperties__FrameRate = QScrollerProperties__ScrollMetric(19)
^
github.com/therecipe/qt/widgets
d:\gosrc\src\github.com\therecipe\qt\widgets\qtooltip.go: In function '_cgo_b12e6e04c547_Cfunc_QToolTip_QToolTip_HideText':
d:\gosrc\src\github.com\therecipe\qt\widgets\qtooltip.go:33:49: warning: unused variable 'a' [-Wunused-variable]
}
^
github.com/therecipe/qt/widgets
d:\gosrc\src\github.com\therecipe\qt\widgets\qwhatsthis.go: In function '_cgo_b12e6e04c547_Cfunc_QWhatsThis_QWhatsThis_EnterWhatsThisMode':
d:\gosrc\src\github.com\therecipe\qt\widgets\qwhatsthis.go:46:49: warning: unused variable 'a' [-Wunused-variable]
d:\gosrc\src\github.com\therecipe\qt\widgets\qwhatsthis.go: In function '_cgo_b12e6e04c547_Cfunc_QWhatsThis_QWhatsThis_HideText':
d:\gosrc\src\github.com\therecipe\qt\widgets\qwhatsthis.go:55:49: warning: unused variable 'a' [-Wunused-variable]
d:\gosrc\src\github.com\therecipe\qt\widgets\qwhatsthis.go: In function '_cgo_b12e6e04c547_Cfunc_QWhatsThis_QWhatsThis_LeaveWhatsThisMode':
d:\gosrc\src\github.com\therecipe\qt\widgets\qwhatsthis.go:76:49: warning: unused variable 'a' [-Wunused-variable]
github.com/therecipe/qt/widgets
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp:3654:51: warning: multi-character character constant [-Wmultichar]
QList aList = QByteArray(argv).split(',,,');
^
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp: In function 'void* QApplication_NewQApplication(int, char_)':
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp:3654:56: warning: overflow in implicit constant conversion [-Woverflow]
QList aList = QByteArray(argv).split(',,,');
^
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp: At global scope:
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp:19207:121: warning: unused parameter 'ok' [-Wunused-parameter]
int QInputDialog_QInputDialog_GetInt(void_ parent, char* title, char* label, int value, int min, int max, int step, int ok, int flags){
^
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp:19211:125: warning: unused parameter 'ok' [-Wunused-parameter]
char* QInputDialog_QInputDialog_GetItem(void* parent, char* title, char* label, char* items, int current, int editable, int ok, int flags, int inputMethodHints){
^
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp:19215:106: warning: unused parameter 'ok' [-Wunused-parameter]
char* QInputDialog_QInputDialog_GetMultiLineText(void* parent, char* title, char* label, char* text, int ok, int flags, int inputMethodHints){
^
d:\gosrc\src\github.com\therecipe\qt\widgets\widgets.cpp:19219:107: warning: unused parameter 'ok' [-Wunused-parameter]
char* QInputDialog_QInputDialog_GetText(void* parent, char* title, char* label, int mode, char* text, int ok, int flags, int inputMethodHints){
^
cc1plus.exe: out of memory allocating 876984 bytes
error:exit status 2
exit status 1
D:\gosrc\src\github.com\therecipe\qt>if 1 NEQ 0 exit /b 1
D:\gosrc\src\github.com\therecipe\qt>
The text was updated successfully, but these errors were encountered: