Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
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);
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);