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

compile failed #1271

Open
joliny opened this issue Jul 8, 2022 · 0 comments
Open

compile failed #1271

joliny opened this issue Jul 8, 2022 · 0 comments

Comments

@joliny
Copy link

joliny commented Jul 8, 2022

import config

packagefile github.com/therecipe/qt=$WORK/b161/pkg.a
packagefile github.com/therecipe/qt/core=$WORK/b160/pkg.a
packagefile github.com/therecipe/qt/gui=$WORK/b163/pkg.a
packagefile strings=$WORK/b041/pkg.a
packagefile runtime/cgo=$WORK/b062/pkg.a
packagefile syscall=$WORK/b036/pkg.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b162/pkg.a -trimpath "$WORK/b162=>;/media/ui/vendor/github.com/therecipe/qt=>github.com/therecipe/qt@v0.0.0-20200904063919-c0c124a5770d" -p github.com/therecipe/qt/widgets -buildid FCWw7M6OgkGjqJx-9hgz/FCWw7M6OgkGjqJx-9hgz -goversion go1.13.4 -D "" -importcfg $WORK/b162/importcfg -pack -c=4 $WORK/b162/_cgo_gotypes.go $WORK/b162/minimal_cgo_windows_windows_amd64.cgo1.go $WORK/b162/widgets-minimal.cgo1.go $WORK/b162/_cgo_import.go
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b162/pkg.a $WORK/b162/_x001.o $WORK/b162/_x002.o $WORK/b162/_x003.o $WORK/b162/_x004.o $WORK/b162/_x005.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b162/pkg.a # internal
cp $WORK/b162/pkg.a /home/user/.cache/go-build/65/65df33ecda05adf33ef832bf0940f630a2d811c3b0b5c0cd36635c1f4b69a324-d # internal

github.com/therecipe/qt/widgets

widgets-minimal.cpp: In function 'void* QDesktopWidget_Screen(void*, int)':
widgets-minimal.cpp:1380:57: warning: 'QWidget* QDesktopWidget::screen(int)' is deprecated: Use QScreen [-Wdeprecated-declarations]
return static_cast<QDesktopWidget*>(ptr)->screen(screen);
^
In file included from /usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/include/QtWidgets/QDesktopWidget:1:0,
from widgets-minimal.cpp:22:
/usr/lib/mxe/usr/x86_64-w64-mingw32.static/qt5/include/QtWidgets/qdesktopwidget.h:77:45: note: declared here
QT_DEPRECATED_X("Use QScreen") QWidget *screen(int screen = -1);

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

1 participant