Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
After installation, everything works fine, but sometimes after a couple of months and sometimes a couple of days, such an error appears during compilation, what could be the problem and can it be fixed without reinstalling the bindings?
# github.com/therecipe/qt/core
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhashfunctions.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qlist.h:47,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qobject.h:49,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qabstractanimation.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/QAbstractAnimation:1,
from core.cpp:15:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpair.h: In instantiation of ‘static void* QtMetaTypePrivate::QMetaTypeFunctionHelper<T, Accepted>::Construct(void*, const void*) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; bool Accepted = true]’:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1748:53: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPair<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1778:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPair<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:97:1: required from here
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpair.h:49:8: warning: implicitly-declared ‘QRemoteObjectSourceLocationInfo::QRemoteObjectSourceLocationInfo(const QRemoteObjectSourceLocationInfo&)’ is deprecated [-Wdeprecated-copy]
49 | struct QPair
| ^~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qremoteobjectpendingcall.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/QRemoteObjectPendingCallWatcher:1,
from core.cpp:155:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:56:38: note: because ‘QRemoteObjectSourceLocationInfo’ has user-provided ‘QRemoteObjectSourceLocationInfo& QRemoteObjectSourceLocationInfo::operator=(const QRemoteObjectSourceLocationInfo&)’
56 | QRemoteObjectSourceLocationInfo &operator=(const QRemoteObjectSourceLocationInfo &other)
| ^~~~~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qobject.h:54,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qabstractanimation.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/QAbstractAnimation:1,
from core.cpp:15:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:805:20: note: synthesized method ‘QPair<QString, QRemoteObjectSourceLocationInfo>::QPair(const QPair<QString, QRemoteObjectSourceLocationInfo>&)’ first required here
805 | return new (where) T(*static_cast<const T*>(t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qvariant.h:48,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qabstractitemmodel.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/QAbstractItemModel:1,
from core.cpp:17:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h: In instantiation of ‘QHashNode<Key, T>::QHashNode(const Key&, const T&, uint, QHashNode<Key, T>*) [with Key = QString; T = QRemoteObjectSourceLocationInfo; uint = unsigned int]’:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:555:5: required from ‘static void QHash<K, V>::duplicateNode(QHashData::Node*, void*) [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:599:36: required from ‘void QHash<K, V>::detach_helper() [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:275:51: required from ‘void QHash<K, V>::detach() [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:253:78: required from ‘QHash<K, V>::QHash(const QHash<K, V>&) [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:805:20: required from ‘static void* QtMetaTypePrivate::QMetaTypeFunctionHelper<T, Accepted>::Construct(void*, const void*) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; bool Accepted = true]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1748:53: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QHash<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1778:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QHash<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:98:1: required from here
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:157:52: warning: implicitly-declared ‘QRemoteObjectSourceLocationInfo::QRemoteObjectSourceLocationInfo(const QRemoteObjectSourceLocationInfo&)’ is deprecated [-Wdeprecated-copy]
157 | : next(n), h(hash), key(key0), value(value0) {}
| ^
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qremoteobjectpendingcall.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/QRemoteObjectPendingCallWatcher:1,
from core.cpp:155:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:56:38: note: because ‘QRemoteObjectSourceLocationInfo’ has user-provided ‘QRemoteObjectSourceLocationInfo& QRemoteObjectSourceLocationInfo::operator=(const QRemoteObjectSourceLocationInfo&)’
56 | QRemoteObjectSourceLocationInfo &operator=(const QRemoteObjectSourceLocationInfo &other)
| ^~~~~~~~
# github.com/therecipe/qt/network
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhashfunctions.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qlist.h:47,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qobject.h:49,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtNetwork/qabstractnetworkcache.h:44,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtNetwork/QAbstractNetworkCache:1,
from network.cpp:9:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpair.h: In instantiation of ‘static void* QtMetaTypePrivate::QMetaTypeFunctionHelper<T, Accepted>::Construct(void*, const void*) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; bool Accepted = true]’:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1748:53: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPair<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1778:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPair<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:97:1: required from here
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpair.h:49:8: warning: implicitly-declared ‘QRemoteObjectSourceLocationInfo::QRemoteObjectSourceLocationInfo(const QRemoteObjectSourceLocationInfo&)’ is deprecated [-Wdeprecated-copy]
49 | struct QPair
| ^~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qremoteobjectpendingcall.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/QRemoteObjectPendingCallWatcher:1,
from network.cpp:72:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:56:38: note: because ‘QRemoteObjectSourceLocationInfo’ has user-provided ‘QRemoteObjectSourceLocationInfo& QRemoteObjectSourceLocationInfo::operator=(const QRemoteObjectSourceLocationInfo&)’
56 | QRemoteObjectSourceLocationInfo &operator=(const QRemoteObjectSourceLocationInfo &other)
| ^~~~~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qobject.h:54,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtNetwork/qabstractnetworkcache.h:44,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtNetwork/QAbstractNetworkCache:1,
from network.cpp:9:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:805:20: note: synthesized method ‘QPair<QString, QRemoteObjectSourceLocationInfo>::QPair(const QPair<QString, QRemoteObjectSourceLocationInfo>&)’ first required here
805 | return new (where) T(*static_cast<const T*>(t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qshareddata.h:46,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtNetwork/qabstractnetworkcache.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtNetwork/QAbstractNetworkCache:1,
from network.cpp:9:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h: In instantiation of ‘QHashNode<Key, T>::QHashNode(const Key&, const T&, uint, QHashNode<Key, T>*) [with Key = QString; T = QRemoteObjectSourceLocationInfo; uint = unsigned int]’:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:555:5: required from ‘static void QHash<K, V>::duplicateNode(QHashData::Node*, void*) [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:599:36: required from ‘void QHash<K, V>::detach_helper() [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:275:51: required from ‘void QHash<K, V>::detach() [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:253:78: required from ‘QHash<K, V>::QHash(const QHash<K, V>&) [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:805:20: required from ‘static void* QtMetaTypePrivate::QMetaTypeFunctionHelper<T, Accepted>::Construct(void*, const void*) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; bool Accepted = true]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1748:53: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QHash<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1778:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QHash<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:98:1: required from here
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:157:52: warning: implicitly-declared ‘QRemoteObjectSourceLocationInfo::QRemoteObjectSourceLocationInfo(const QRemoteObjectSourceLocationInfo&)’ is deprecated [-Wdeprecated-copy]
157 | : next(n), h(hash), key(key0), value(value0) {}
| ^
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qremoteobjectpendingcall.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/QRemoteObjectPendingCallWatcher:1,
from network.cpp:72:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:56:38: note: because ‘QRemoteObjectSourceLocationInfo’ has user-provided ‘QRemoteObjectSourceLocationInfo& QRemoteObjectSourceLocationInfo::operator=(const QRemoteObjectSourceLocationInfo&)’
56 | QRemoteObjectSourceLocationInfo &operator=(const QRemoteObjectSourceLocationInfo &other)
| ^~~~~~~~
# github.com/therecipe/qt/qml
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhashfunctions.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qlist.h:47,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qobject.h:49,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qplugin.h:44,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtMultimedia/qaudiosystemplugin.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtMultimedia/QAudioSystemPlugin:1,
from qml.cpp:9:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpair.h: In instantiation of ‘static void* QtMetaTypePrivate::QMetaTypeFunctionHelper<T, Accepted>::Construct(void*, const void*) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; bool Accepted = true]’:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1748:53: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPair<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1778:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QPair<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QPair<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:97:1: required from here
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpair.h:49:8: warning: implicitly-declared ‘QRemoteObjectSourceLocationInfo::QRemoteObjectSourceLocationInfo(const QRemoteObjectSourceLocationInfo&)’ is deprecated [-Wdeprecated-copy]
49 | struct QPair
| ^~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qremoteobjectpendingcall.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/QRemoteObjectPendingCallWatcher:1,
from qml.cpp:59:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:56:38: note: because ‘QRemoteObjectSourceLocationInfo’ has user-provided ‘QRemoteObjectSourceLocationInfo& QRemoteObjectSourceLocationInfo::operator=(const QRemoteObjectSourceLocationInfo&)’
56 | QRemoteObjectSourceLocationInfo &operator=(const QRemoteObjectSourceLocationInfo &other)
| ^~~~~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qobject.h:54,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qplugin.h:44,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtMultimedia/qaudiosystemplugin.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtMultimedia/QAudioSystemPlugin:1,
from qml.cpp:9:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:805:20: note: synthesized method ‘QPair<QString, QRemoteObjectSourceLocationInfo>::QPair(const QPair<QString, QRemoteObjectSourceLocationInfo>&)’ first required here
805 | return new (where) T(*static_cast<const T*>(t));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qshareddata.h:46,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qsharedpointer.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qpointer.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qplugin.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtMultimedia/qaudiosystemplugin.h:45,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtMultimedia/QAudioSystemPlugin:1,
from qml.cpp:9:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h: In instantiation of ‘QHashNode<Key, T>::QHashNode(const Key&, const T&, uint, QHashNode<Key, T>*) [with Key = QString; T = QRemoteObjectSourceLocationInfo; uint = unsigned int]’:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:555:5: required from ‘static void QHash<K, V>::duplicateNode(QHashData::Node*, void*) [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:599:36: required from ‘void QHash<K, V>::detach_helper() [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:275:51: required from ‘void QHash<K, V>::detach() [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:253:78: required from ‘QHash<K, V>::QHash(const QHash<K, V>&) [with Key = QString; T = QRemoteObjectSourceLocationInfo]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:805:20: required from ‘static void* QtMetaTypePrivate::QMetaTypeFunctionHelper<T, Accepted>::Construct(void*, const void*) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; bool Accepted = true]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1748:53: required from ‘int qRegisterNormalizedMetaType(const QByteArray&, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QHash<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qmetatype.h:1778:42: required from ‘int qRegisterMetaType(const char*, T*, typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType) [with T = QHash<QString, QRemoteObjectSourceLocationInfo>; typename QtPrivate::MetaTypeDefinedHelper<T, (QMetaTypeId2<T>::Defined && (! QMetaTypeId2<T>::IsBuiltIn))>::DefinedType = QtPrivate::MetaTypeDefinedHelper<QHash<QString, QRemoteObjectSourceLocationInfo>, true>::DefinedType]’
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:98:1: required from here
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtCore/qhash.h:157:52: warning: implicitly-declared ‘QRemoteObjectSourceLocationInfo::QRemoteObjectSourceLocationInfo(const QRemoteObjectSourceLocationInfo&)’ is deprecated [-Wdeprecated-copy]
157 | : next(n), h(hash), key(key0), value(value0) {}
| ^
In file included from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qremoteobjectpendingcall.h:43,
from /home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/QRemoteObjectPendingCallWatcher:1,
from qml.cpp:59:
/home/us/go/src/github.com/therecipe/env_linux_amd64_513/5.13.0/gcc_64/include/QtRemoteObjects/qtremoteobjectglobal.h:56:38: note: because ‘QRemoteObjectSourceLocationInfo’ has user-provided ‘QRemoteObjectSourceLocationInfo& QRemoteObjectSourceLocationInfo::operator=(const QRemoteObjectSourceLocationInfo&)’
56 | QRemoteObjectSourceLocationInfo &operator=(const QRemoteObjectSourceLocationInfo &other)
| ^~~~~~~~
^C
After installation, everything works fine, but sometimes after a couple of months and sometimes a couple of days, such an error appears during compilation, what could be the problem and can it be fixed without reinstalling the bindings?