therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.49k stars 748 forks source link

build qml_quick error #979

Open liao725636367 opened 5 years ago

liao725636367 commented 5 years ago

I had use qt5-static bind go and it seems work well.

image I has build widget demo and it wokrs well

This is generated binaries

image

but when i try to build quick_qml demo it throw some error


Adminisatrator@DESKTOP-BGGH4FV MINGW64 /d/GO/mypath/src/examples/advanced/qml_quick/ctxproperty
# qtdeploy test desktop
time="2019-10-09T10:15:09+08:00" level=error msg="failed to run command" _func=RunCmd cmd="go build -p 4 -v -trimpath -o D:\\GO\\mypath\\src\\examples\\advanced\\qml_quick\\ctxproperty\\deploy\\windows\\ctxproperty.exe -tags=minimal -ldflags=all=\"-s\" \"-w\" \"-H=windowsgui\"" dir="D:\\GO\\mypath\\src\\examples\\advanced\\qml_quick\\ctxproperty" env="NVMW_NPM_MIRROR=https://npm.taobao.org/mirrors/npm OS=Windows_NT ProgramW6432=C:\\Program Files JAVA_HOME=D:\\Program Files\\Java\\jdk-12.0.2 NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node GOPROXY=direct CGO_ENABLED=1 GOPATH=D:\\GO\\mypath HOMEDRIVE=C: TMP=D:\\msys64\\tmp INFOPATH=D:\\msys64\\usr\\local\\info;D:\\msys64\\usr\\share\\info;D:\\msys64\\usr\\info;D:\\msys64\\share\\info PROMPT=$P$G PWD=D:/GO/mypath/src/examples/advanced/qml_quick/ctxproperty USERPROFILE=C:\\Users\\Administrator ChocolateyToolsLocation=C:\\tools PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 10, GenuineIntel USER=Adminisatrator APPDATA=C:\\Users\\Administrator\\AppData\\Roaming LOGINSHELL=bash NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node PSModulePath=C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules ORIGINAL_TEMP=C:/Users/ADMINI~1/AppData/Local/Temp QT_MSYS2_STATIC=true GOFLAGS=-mod=vendor MINGW_CHOST=x86_64-w64-mingw32 NODIST_NODE_MIRROR=https://npm.taobao.org/mirrors/node NVMW_IOJS_ORG_MIRROR=https://npm.taobao.org/mirrors/iojs PKG_CONFIG_PATH=D:\\msys64\\mingw64\\lib\\pkgconfig;D:\\msys64\\mingw64\\share\\pkgconfig PROGRAMFILES=C:\\Program Files QT_MSYS2=true QT_MSYS2_DIR=D:\\msys64 ChocolateyInstall=C:\\ProgramData\\chocolatey GOBIN=D:\\GO\\mypath\\bin SYSTEMROOT=C:\\Windows ProgramFiles(x86)=C:\\Program Files (x86) GOROOT=C:\\Go DriverData=C:\\Windows\\System32\\Drivers\\DriverData PUBLIC=C:\\Users\\Public QT_MSYS2_ARCH=amd64 TERM=xterm tmp=C:\\Users\\ADMINI~1\\AppData\\Local\\Temp GO111MODULE=on LIBRARY_PATH=%MINGW_HOME%\\lib MINGW_PREFIX=D:/msys64/mingw64 MSYSTEM=MINGW64 PROCESSOR_LEVEL=6 SHLVL=1 ACLOCAL_PATH=D:\\msys64\\mingw64\\share\\aclocal;D:\\msys64\\usr\\share\\aclocal CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files NODIST_IOJS_MIRROR=https://npm.taobao.org/mirrors/iojs WINDIR=C:\\Windows !;=;\\ HOME=D:\\msys64\\home\\Adminisatrator MSYSTEM_CARCH=x86_64 NVM_IOJS_ORG_MIRROR=https://npm.taobao.org/mirrors/iojs PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC CLion=H:\\software\\CLion 2019.1.4\\bin; COMMONPROGRAMFILES=C:\\Program Files\\Common Files MINGW_PACKAGE_PREFIX=mingw-w64-x86_64 PS1=\\[\\e]0;\\w\\a\\]\\n\\[\\e[32m\\]\\u@\\h \\[\\e[35m\\]$MSYSTEM\\[\\e[0m\\] \\[\\e[33m\\]\\w\\[\\e[0m\\]\\n\\[\\e[1m\\]#\\[\\e[0m\\]  PATH=D:\\msys64\\mingw64\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\local\\bin;D:\\msys64\\usr\\bin;D:\\msys64\\usr\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\GO\\mypath\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;D:\\GO\\mypath\\bin;C:\\Go\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsP;D:\\msys64\\usr\\bin\\site_perl;D:\\msys64\\usr\\bin\\vendor_perl;D:\\msys64\\usr\\bin\\core_perl SESSIONNAME=Console USERDOMAIN=DESKTOP-BGGH4FV MSYS2_PATH_TYPE=inherit temp=C:\\Users\\ADMINI~1\\AppData\\Local\\Temp HOSTNAME=DESKTOP-BGGH4FV IOJS_ORG_MIRROR=https://npm.taobao.org/mirrors/iojs MSYSCON=mintty.exe MSYSTEM_PREFIX=D:/msys64/mingw64 ORIGINAL_PATH=C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\GO\\mypath\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;D:\\GO\\mypath\\bin;C:\\Go\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsP ProgramData=C:\\ProgramData TEMP=D:\\msys64\\tmp ChocolateyLastPathUpdate=132063609091264844 CONTITLE=MinGW x64 HOMEPATH=\\Users\\Administrator LOCALAPPDATA=C:\\Users\\Administrator\\AppData\\Local QtMsBuild=C:\\Users\\Administrator\\AppData\\Local\\QtMsBuild SHELL=D:/msys64/usr/bin/bash NUMBER_OF_PROCESSORS=4 PyCharm=D:\\Program Files\\JetBrains\\PyCharm 2019.1.1\\bin; WD=D:\\msys64\\usr\\bin\\ _=D:/msys64/usr/bin/qtdeploy =D:=D:\\msys64 HTTPS_PROXY=http://127.0.0.1:7890 PROCESSOR_ARCHITECTURE=AMD64 GOOS=windows CONFIG_SITE=D:/msys64/mingw64/etc/config.site HTTP_PROXY=http://127.0.0.1:7890 MANPATH=D:\\msys64\\mingw64\\local\\man;D:\\msys64\\mingw64\\share\\man;D:\\msys64\\usr\\local\\man;D:\\msys64\\usr\\share\\man;D:\\msys64\\usr\\man;D:\\msys64\\share\\man PRINTER=OneNote SYSTEMDRIVE=C: COMSPEC=C:\\Windows\\system32\\cmd.exe LANG=zh_CN.UTF-8 GOARCH=amd64 CommonProgramW6432=C:\\Program Files\\Common Files MSYS2_DIR=D:\\msys64 MSYSTEM_CHOST=x86_64-w64-mingw32 NVMW_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node ORIGINAL_TMP=C:/Users/ADMINI~1/AppData/Local/Temp PROCESSOR_REVISION=9e0a VBOX_MSI_INSTALL_PATH=H:\\virtualbox\\ ALLUSERSPROFILE=C:\\ProgramData COMPUTERNAME=DESKTOP-BGGH4FV LOGONSERVER=\\\\DESKTOP-BGGH4FV OneDrive=C:\\Users\\Administrator\\OneDrive USERNAME=Adminisatrator OLDPWD=D:/GO/mypath/src/examples/advanced/qml_quick USERDOMAIN_ROAMINGPROFILE=DESKTOP-BGGH4FV" error="exit status 2" name="build for windows on windows"
github.com/therecipe/qt/core
# github.com/therecipe/qt/core
In file included from D:/msys64/mingw64/qt5-static/include/QtCore/qlocale.h:43,
                 from D:/msys64/mingw64/qt5-static/include/QtCore/qtextstream.h:46,
                 from D:/msys64/mingw64/qt5-static/include/QtCore/qdebug.h:49,
                 from D:/msys64/mingw64/qt5-static/include/QtCore/qcborcommon.h:45,
                 from D:/msys64/mingw64/qt5-static/include/QtCore/qcborvalue.h:45,
                 from D:/msys64/mingw64/qt5-static/include/QtCore/QCborValue:1,
                 from core-minimal.cpp:17:
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^~~~~~~
github.com/therecipe/qt/qml
github.com/therecipe/qt/gui
# github.com/therecipe/qt/gui
In file included from D:/msys64/mingw64/qt5-static/include/QtCore/qlocale.h:43,
                 from D:/msys64/mingw64/qt5-static/include/QtGui/qguiapplication.h:47,
                 from D:/msys64/mingw64/qt5-static/include/QtGui/QGuiApplication:1,
                 from gui-minimal.cpp:12:
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^~~~~~~
github.com/therecipe/qt/widgets
# github.com/therecipe/qt/qml
In file included from D:/msys64/mingw64/qt5-static/include/QtWidgets/qgraphicsitem.h:45,
                 from D:/msys64/mingw64/qt5-static/include/QtWidgets/QGraphicsObject:1,
                 from qml-minimal.cpp:12:
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^~~~~~~
github.com/therecipe/qt/quick
# github.com/therecipe/qt/quick
In file included from D:/msys64/mingw64/qt5-static/include/QtCore/qmetaobject.h:45,
                 from D:/msys64/mingw64/qt5-static/include/QtCore/QMetaMethod:1,
                 from quick-minimal.cpp:12:
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^~~~~~~
# github.com/therecipe/qt/widgets
In file included from D:/msys64/mingw64/qt5-static/include/QtWidgets/qaction.h:47,
                 from D:/msys64/mingw64/qt5-static/include/QtWidgets/QAction:1,
                 from widgets-minimal.cpp:9:
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^~~~~~~
In file included from D:/msys64/mingw64/qt5-static/include/QtWidgets/QStyleOption:1,
                 from widgets-minimal.cpp:37:
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:120:103: warning: implicitly-declared 'QStyleOptionFocusRect& QStyleOptionFocusRect::operator=(const QStyleOptionFocusRect&)' is deprecated [-Wdeprecated-copy]
  120 |     QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                       ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:120:5: note: because 'QStyleOptionFocusRect' has user-provided 'QStyleOptionFocusRect::QStyleOptionFocusRect(const QStyleOptionFocusRect&)'
  120 |     QStyleOptionFocusRect(const QStyleOptionFocusRect &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:144:95: warning: implicitly-declared 'QStyleOptionFrame& QStyleOptionFrame::operator=(const QStyleOptionFrame&)' is deprecated [-Wdeprecated-copy]
  144 |     QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                               ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:144:5: note: because 'QStyleOptionFrame' has user-provided 'QStyleOptionFrame::QStyleOptionFrame(const QStyleOptionFrame&)'
  144 |     QStyleOptionFrame(const QStyleOptionFrame &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:173:49: warning: implicitly-declared 'QStyleOptionTabWidgetFrame& QStyleOptionTabWidgetFrame::operator=(const QStyleOptionTabWidgetFrame&)' is deprecated [-Wdeprecated-copy]
  173 |         : QStyleOption(Version, Type) { *this = other; }
      |                                                 ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:172:12: note: because 'QStyleOptionTabWidgetFrame' has user-provided 'QStyleOptionTabWidgetFrame::QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame&)'
  172 |     inline QStyleOptionTabWidgetFrame(const QStyleOptionTabWidgetFrame &other)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:196:105: warning: implicitly-declared 'QStyleOptionTabBarBase& QStyleOptionTabBarBase::operator=(const QStyleOptionTabBarBase&)' is deprecated [-Wdeprecated-copy]
  196 |     QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                         ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:196:5: note: because 'QStyleOptionTabBarBase' has user-provided 'QStyleOptionTabBarBase::QStyleOptionTabBarBase(const QStyleOptionTabBarBase&)'
  196 |     QStyleOptionTabBarBase(const QStyleOptionTabBarBase &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:227:97: warning: implicitly-declared 'QStyleOptionHeader& QStyleOptionHeader::operator=(const QStyleOptionHeader&)' is deprecated [-Wdeprecated-copy]
  227 |     QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                 ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:227:5: note: because 'QStyleOptionHeader' has user-provided 'QStyleOptionHeader::QStyleOptionHeader(const QStyleOptionHeader&)'
  227 |     QStyleOptionHeader(const QStyleOptionHeader &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:249:97: warning: implicitly-declared 'QStyleOptionButton& QStyleOptionButton::operator=(const QStyleOptionButton&)' is deprecated [-Wdeprecated-copy]
  249 |     QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                 ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:249:5: note: because 'QStyleOptionButton' has user-provided 'QStyleOptionButton::QStyleOptionButton(const QStyleOptionButton&)'
  249 |     QStyleOptionButton(const QStyleOptionButton &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:286:91: warning: implicitly-declared 'QStyleOptionTab& QStyleOptionTab::operator=(const QStyleOptionTab&)' is deprecated [-Wdeprecated-copy]
  286 |     QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                           ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:286:5: note: because 'QStyleOptionTab' has user-provided 'QStyleOptionTab::QStyleOptionTab(const QStyleOptionTab&)'
  286 |     QStyleOptionTab(const QStyleOptionTab &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:316:99: warning: implicitly-declared 'QStyleOptionToolBar& QStyleOptionToolBar::operator=(const QStyleOptionToolBar&)' is deprecated [-Wdeprecated-copy]
  316 |     QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                   ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:316:5: note: because 'QStyleOptionToolBar' has user-provided 'QStyleOptionToolBar::QStyleOptionToolBar(const QStyleOptionToolBar&)'
  316 |     QStyleOptionToolBar(const QStyleOptionToolBar &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:343:107: warning: implicitly-declared 'QStyleOptionProgressBar& QStyleOptionProgressBar::operator=(const QStyleOptionProgressBar&)' is deprecated [-Wdeprecated-copy]
  343 |     QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                           ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:343:5: note: because 'QStyleOptionProgressBar' has user-provided 'QStyleOptionProgressBar::QStyleOptionProgressBar(const QStyleOptionProgressBar&)'
  343 |     QStyleOptionProgressBar(const QStyleOptionProgressBar &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:373:101: warning: implicitly-declared 'QStyleOptionMenuItem& QStyleOptionMenuItem::operator=(const QStyleOptionMenuItem&)' is deprecated [-Wdeprecated-copy]
  373 |     QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                     ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:373:5: note: because 'QStyleOptionMenuItem' has user-provided 'QStyleOptionMenuItem::QStyleOptionMenuItem(const QStyleOptionMenuItem&)'
  373 |     QStyleOptionMenuItem(const QStyleOptionMenuItem &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:392:105: warning: implicitly-declared 'QStyleOptionDockWidget& QStyleOptionDockWidget::operator=(const QStyleOptionDockWidget&)' is deprecated [-Wdeprecated-copy]
  392 |     QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                         ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:392:5: note: because 'QStyleOptionDockWidget' has user-provided 'QStyleOptionDockWidget::QStyleOptionDockWidget(const QStyleOptionDockWidget&)'
  392 |     QStyleOptionDockWidget(const QStyleOptionDockWidget &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:443:101: warning: implicitly-declared 'QStyleOptionViewItem& QStyleOptionViewItem::operator=(const QStyleOptionViewItem&)' is deprecated [-Wdeprecated-copy]
  443 |     QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                     ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:443:5: note: because 'QStyleOptionViewItem' has user-provided 'QStyleOptionViewItem::QStyleOptionViewItem(const QStyleOptionViewItem&)'
  443 |     QStyleOptionViewItem(const QStyleOptionViewItem &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:473:99: warning: implicitly-declared 'QStyleOptionToolBox& QStyleOptionToolBox::operator=(const QStyleOptionToolBox&)' is deprecated [-Wdeprecated-copy]
  473 |     QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                   ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:473:5: note: because 'QStyleOptionToolBox' has user-provided 'QStyleOptionToolBox::QStyleOptionToolBox(const QStyleOptionToolBox&)'
  473 |     QStyleOptionToolBox(const QStyleOptionToolBox &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:492:105: warning: implicitly-declared 'QStyleOptionRubberBand& QStyleOptionRubberBand::operator=(const QStyleOptionRubberBand&)' is deprecated [-Wdeprecated-copy]
  492 |     QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                         ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:492:5: note: because 'QStyleOptionRubberBand' has user-provided 'QStyleOptionRubberBand::QStyleOptionRubberBand(const QStyleOptionRubberBand&)'
  492 |     QStyleOptionRubberBand(const QStyleOptionRubberBand &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:99: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                   ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:534:104: warning: implicitly-declared 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' is deprecated [-Wdeprecated-copy]
  534 |     QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                        ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:534:5: note: because 'QStyleOptionSlider' has user-provided 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)'
  534 |     QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:514:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  514 | class Q_WIDGETS_EXPORT QStyleOptionSlider : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSlider::QStyleOptionSlider(const QStyleOptionSlider&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:534:104: note: synthesized method 'QStyleOptionSlider& QStyleOptionSlider::operator=(const QStyleOptionSlider&)' first required here
  534 |     QStyleOptionSlider(const QStyleOptionSlider &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                        ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:553:106: warning: implicitly-declared 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' is deprecated [-Wdeprecated-copy]
  553 |     QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                          ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:553:5: note: because 'QStyleOptionSpinBox' has user-provided 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)'
  553 |     QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:542:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  542 | class Q_WIDGETS_EXPORT QStyleOptionSpinBox : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSpinBox::QStyleOptionSpinBox(const QStyleOptionSpinBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:553:106: note: synthesized method 'QStyleOptionSpinBox& QStyleOptionSpinBox::operator=(const QStyleOptionSpinBox&)' first required here
  553 |     QStyleOptionSpinBox(const QStyleOptionSpinBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                          ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:580:112: warning: implicitly-declared 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' is deprecated [-Wdeprecated-copy]
  580 |     QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                                ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:580:5: note: because 'QStyleOptionToolButton' has user-provided 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)'
  580 |     QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:560:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  560 | class Q_WIDGETS_EXPORT QStyleOptionToolButton : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionToolButton::QStyleOptionToolButton(const QStyleOptionToolButton&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:580:112: note: synthesized method 'QStyleOptionToolButton& QStyleOptionToolButton::operator=(const QStyleOptionToolButton&)' first required here
  580 |     QStyleOptionToolButton(const QStyleOptionToolButton &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                                ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:602:108: warning: implicitly-declared 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' is deprecated [-Wdeprecated-copy]
  602 |     QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:602:5: note: because 'QStyleOptionComboBox' has user-provided 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)'
  602 |     QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:588:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  588 | class Q_WIDGETS_EXPORT QStyleOptionComboBox : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionComboBox::QStyleOptionComboBox(const QStyleOptionComboBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:602:108: note: synthesized method 'QStyleOptionComboBox& QStyleOptionComboBox::operator=(const QStyleOptionComboBox&)' first required here
  602 |     QStyleOptionComboBox(const QStyleOptionComboBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:620:108: warning: implicitly-declared 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' is deprecated [-Wdeprecated-copy]
  620 |     QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:620:5: note: because 'QStyleOptionTitleBar' has user-provided 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)'
  620 |     QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:608:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  608 | class Q_WIDGETS_EXPORT QStyleOptionTitleBar : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionTitleBar::QStyleOptionTitleBar(const QStyleOptionTitleBar&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:620:108: note: synthesized method 'QStyleOptionTitleBar& QStyleOptionTitleBar::operator=(const QStyleOptionTitleBar&)' first required here
  620 |     QStyleOptionTitleBar(const QStyleOptionTitleBar &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:640:108: warning: implicitly-declared 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' is deprecated [-Wdeprecated-copy]
  640 |     QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:640:5: note: because 'QStyleOptionGroupBox' has user-provided 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)'
  640 |     QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:626:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  626 | class Q_WIDGETS_EXPORT QStyleOptionGroupBox : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGroupBox::QStyleOptionGroupBox(const QStyleOptionGroupBox&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:640:108: note: synthesized method 'QStyleOptionGroupBox& QStyleOptionGroupBox::operator=(const QStyleOptionGroupBox&)' first required here
  640 |     QStyleOptionGroupBox(const QStyleOptionGroupBox &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:654:108: warning: implicitly-declared 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' is deprecated [-Wdeprecated-copy]
  654 |     QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:654:5: note: because 'QStyleOptionSizeGrip' has user-provided 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)'
  654 |     QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In member function 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:645:24: warning: implicitly-declared 'QStyleOptionComplex& QStyleOptionComplex::operator=(const QStyleOptionComplex&)' is deprecated [-Wdeprecated-copy]
  645 | class Q_WIDGETS_EXPORT QStyleOptionSizeGrip : public QStyleOptionComplex
      |                        ^~~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:510:5: note: because 'QStyleOptionComplex' has user-provided 'QStyleOptionComplex::QStyleOptionComplex(const QStyleOptionComplex&)'
  510 |     QStyleOptionComplex(const QStyleOptionComplex &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionSizeGrip::QStyleOptionSizeGrip(const QStyleOptionSizeGrip&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:654:108: note: synthesized method 'QStyleOptionSizeGrip& QStyleOptionSizeGrip::operator=(const QStyleOptionSizeGrip&)' first required here
  654 |     QStyleOptionSizeGrip(const QStyleOptionSizeGrip &other) : QStyleOptionComplex(Version, Type) { *this = other; }
      |                                                                                                            ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h: In copy constructor 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)':
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:670:109: warning: implicitly-declared 'QStyleOptionGraphicsItem& QStyleOptionGraphicsItem::operator=(const QStyleOptionGraphicsItem&)' is deprecated [-Wdeprecated-copy]
  670 |     QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; }
      |                                                                                                             ^~~~~
D:/msys64/mingw64/qt5-static/include/QtWidgets/qstyleoption.h:670:5: note: because 'QStyleOptionGraphicsItem' has user-provided 'QStyleOptionGraphicsItem::QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem&)'
  670 |     QStyleOptionGraphicsItem(const QStyleOptionGraphicsItem &other) : QStyleOption(Version, Type) { *this = other; }
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
github.com/therecipe/examples/advanced/qml_quick/ctxproperty
# github.com/therecipe/examples/advanced/qml_quick/ctxproperty
In file included from D:/msys64/mingw64/qt5-static/include/QtWidgets/qgraphicsitem.h:45,
                 from D:/msys64/mingw64/qt5-static/include/QtWidgets/QGraphicsObject:1,
                 from moc.cpp:12:
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
  273 |     { other.d = Private(); }
      |                         ^
D:/msys64/mingw64/qt5-static/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
  399 |         inline Private(const Private &other) Q_DECL_NOTHROW
      |                ^~~~~~~
# github.com/therecipe/examples/advanced/qml_quick/ctxproperty
C:\Go\pkg\tool\windows_amd64\link.exe: running g++ failed: fork/exec D:\msys64\mingw64\bin\g++.exe: The filename or extension is too long.

and binding environment seems to be destroyed

when i try to build widget demo Once again, it also throw some error

Adminisatrator@DESKTOP-BGGH4FV MINGW64 /d/GO/mypath/src/examples/advanced/widgets/jsinterop
# qtdeploy build desktop
time="2019-10-09T10:17:23+08:00" level=error msg="failed to run command" _func=RunCmd cmd="go build -p 4 -v -trimpath -o D:\\GO\\mypath\\src\\examples\\advanced\\widgets\\jsinterop\\deploy\\windows\\jsinterop.exe -tags=minimal -ldflags=all=\"-s\" \"-w\" \"-H=windowsgui\"" dir="D:\\GO\\mypath\\src\\examples\\advanced\\widgets\\jsinterop" env="NVMW_NPM_MIRROR=https://npm.taobao.org/mirrors/npm QT_MSYS2=true USERDOMAIN_ROAMINGPROFILE=DESKTOP-BGGH4FV SYSTEMROOT=C:\\Windows TERM=xterm GOOS=windows COMPUTERNAME=DESKTOP-BGGH4FV NVM_IOJS_ORG_MIRROR=https://npm.taobao.org/mirrors/iojs HOME=D:\\msys64\\home\\Adminisatrator HTTPS_PROXY=http://127.0.0.1:7890 MINGW_PACKAGE_PREFIX=mingw-w64-x86_64 PWD=D:/GO/mypath/src/examples/advanced/widgets/jsinterop SYSTEMDRIVE=C: USER=Adminisatrator PKG_CONFIG_PATH=D:\\msys64\\mingw64\\lib\\pkgconfig;D:\\msys64\\mingw64\\share\\pkgconfig CGO_ENABLED=1 PATH=D:\\msys64\\mingw64\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\local\\bin;D:\\msys64\\usr\\bin;D:\\msys64\\usr\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\GO\\mypath\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;D:\\GO\\mypath\\bin;C:\\Go\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsP;D:\\msys64\\usr\\bin\\site_perl;D:\\msys64\\usr\\bin\\vendor_perl;D:\\msys64\\usr\\bin\\core_perl NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node PROCESSOR_ARCHITECTURE=AMD64 GO111MODULE=on PROCESSOR_LEVEL=6 ProgramData=C:\\ProgramData ChocolateyInstall=C:\\ProgramData\\chocolatey PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 10, GenuineIntel !;=;\\ CLion=H:\\software\\CLion 2019.1.4\\bin; NUMBER_OF_PROCESSORS=4 PS1=\\[\\e]0;\\w\\a\\]\\n\\[\\e[32m\\]\\u@\\h \\[\\e[35m\\]$MSYSTEM\\[\\e[0m\\] \\[\\e[33m\\]\\w\\[\\e[0m\\]\\n\\[\\e[1m\\]#\\[\\e[0m\\]  TMP=D:\\msys64\\tmp OS=Windows_NT PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC MINGW_PREFIX=D:/msys64/mingw64 NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node CommonProgramW6432=C:\\Program Files\\Common Files GOPROXY=direct IOJS_ORG_MIRROR=https://npm.taobao.org/mirrors/iojs LANG=zh_CN.UTF-8 USERDOMAIN=DESKTOP-BGGH4FV APPDATA=C:\\Users\\Administrator\\AppData\\Roaming HOMEDRIVE=C: SHELL=D:/msys64/usr/bin/bash TEMP=D:\\msys64\\tmp ACLOCAL_PATH=D:\\msys64\\mingw64\\share\\aclocal;D:\\msys64\\usr\\share\\aclocal MSYS2_DIR=D:\\msys64 MSYSTEM_CARCH=x86_64 OLDPWD=D:/GO/mypath/src/examples/advanced/widgets PyCharm=D:\\Program Files\\JetBrains\\PyCharm 2019.1.1\\bin; MSYS2_PATH_TYPE=inherit ORIGINAL_TMP=C:/Users/ADMINI~1/AppData/Local/Temp VBOX_MSI_INSTALL_PATH=H:\\virtualbox\\ GOARCH=amd64 GOROOT=C:\\Go ORIGINAL_PATH=C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\GO\\mypath\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Windows\\System32\\OpenSSH;C:\\Program Files\\TortoiseSVN\\bin;C:\\Program Files\\nodejs;C:\\Program Files (x86)\\Yarn\\bin;C:\\Program Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files\\Git\\cmd;C:\\Program Files\\TortoiseGit\\bin;E:\\PATH\\composer;D:\\baota\\BtSoft\\WebSoft\\php\\7.1;C:\\ProgramData\\ComposerSetup\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\tools\\lxrunoffline;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts;C:\\Program Files\\dotnet;D:\\software\\Calibre2;H:\\software\\crackTools\\masm615\\BIN;D:\\Program Files\\Java\\jdk-12.0.2\\bin;D:\\Program Files\\Java\\jdk-12.0.2\\jre\\bin;C:\\Go\\bin;D:\\msys64\\mingw64\\bin;D:\\msys64\\usr\\bin;D:\\GO\\mypath\\bin;C:\\Go\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NetSarang\\Xshell 6;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsP PSModulePath=C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules COMMONPROGRAMFILES=C:\\Program Files\\Common Files CONTITLE=MinGW x64 ChocolateyLastPathUpdate=132063609091264844 QtMsBuild=C:\\Users\\Administrator\\AppData\\Local\\QtMsBuild LOCALAPPDATA=C:\\Users\\Administrator\\AppData\\Local WD=D:\\msys64\\usr\\bin\\ ChocolateyToolsLocation=C:\\tools HOSTNAME=DESKTOP-BGGH4FV INFOPATH=D:\\msys64\\usr\\local\\info;D:\\msys64\\usr\\share\\info;D:\\msys64\\usr\\info;D:\\msys64\\share\\info COMSPEC=C:\\Windows\\system32\\cmd.exe MSYSCON=mintty.exe PROCESSOR_REVISION=9e0a ProgramW6432=C:\\Program Files temp=C:\\Users\\ADMINI~1\\AppData\\Local\\Temp OneDrive=C:\\Users\\Administrator\\OneDrive LOGINSHELL=bash MINGW_CHOST=x86_64-w64-mingw32 MSYSTEM_CHOST=x86_64-w64-mingw32 PROGRAMFILES=C:\\Program Files SHLVL=1 MSYSTEM_PREFIX=D:/msys64/mingw64 PROMPT=$P$G USERPROFILE=C:\\Users\\Administrator _=D:/msys64/usr/bin/qtdeploy LIBRARY_PATH=%MINGW_HOME%\\lib ORIGINAL_TEMP=C:/Users/ADMINI~1/AppData/Local/Temp PUBLIC=C:\\Users\\Public USERNAME=Adminisatrator GOBIN=D:\\GO\\mypath\\bin ALLUSERSPROFILE=C:\\ProgramData DriverData=C:\\Windows\\System32\\Drivers\\DriverData PRINTER=OneNote QT_MSYS2_ARCH=amd64 WINDIR=C:\\Windows NODIST_NODE_MIRROR=https://npm.taobao.org/mirrors/node NVMW_IOJS_ORG_MIRROR=https://npm.taobao.org/mirrors/iojs GOPATH=D:\\GO\\mypath =D:=D:\\msys64 HOMEPATH=\\Users\\Administrator HTTP_PROXY=http://127.0.0.1:7890 NODIST_IOJS_MIRROR=https://npm.taobao.org/mirrors/iojs CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files LOGONSERVER=\\\\DESKTOP-BGGH4FV MANPATH=D:\\msys64\\mingw64\\local\\man;D:\\msys64\\mingw64\\share\\man;D:\\msys64\\usr\\local\\man;D:\\msys64\\usr\\share\\man;D:\\msys64\\usr\\man;D:\\msys64\\share\\man JAVA_HOME=D:\\Program Files\\Java\\jdk-12.0.2 QT_MSYS2_DIR=D:\\msys64 QT_MSYS2_STATIC=true NVMW_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node ProgramFiles(x86)=C:\\Program Files (x86) tmp=C:\\Users\\ADMINI~1\\AppData\\Local\\Temp CONFIG_SITE=D:/msys64/mingw64/etc/config.site GOFLAGS=-mod=vendor MSYSTEM=MINGW64 SESSIONNAME=Console" error="exit status 1" name="build for windows on windows"
can't load package: package .: build constraints exclude all Go files in D:\GO\mypath\src\examples\advanced\widgets\jsinterop

Thanks for all help.

therecipe commented 5 years ago

Hey

This is probably the same issues as this one https://github.com/therecipe/qt/issues/657#issuecomment-437990122

To work around this issue, you will either need to build your own go version with these changes: https://github.com/therecipe/qt/blob/master/internal/docker/wine/rspfile.patch

Or use the shared msys2 version and then later deploy the static version with docker and something like: qtdeploy -docker build windows_64_static

About the second issue, the example examples/advanced/widgets/jsinterop only works with the js target and something like: qtdeploy -docker build js Sorry, I will move the example in some other dir.