-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 2018/05/26 08:55 AM, deloptes wrote:
Hi, I try someting with tqt dbus - I want to try to
talk to BT. I found this nice application dbusxml2qt3 and I
want to thank the author for the effort, even if have not (yet) succeeded with it.
I have a problem when I try to compile generated code. It says:
error: no matching function for call to
'TQT_DBusDataMap<TQT_DBusObjectPath>::TQT_DBusDataMap(TQMap<TQT_DBusObjectPath,
TQT_DBusDataMap<TQString> >&)'
reply << TQT_DBusData::fromObjectPathKeyMap(TQT_DBusDataMap< TQT_DBusObjectPath
>(_objects));
.. .. ..
/usr/include/dbus-1-tqt/tqdbusdatamap.h:477:5: note: candidate:
TQT_DBusDataMap<K>::TQT_DBusDataMap(const TQMap<T,
TQT_DBusVariant>&) [with T = TQT_DBusObjectPath] TQT_DBusDataMap<T>(const
TQMap<T, TQT_DBusVariant>& other)
etc etc.
This is the line where it fails TQMap< TQT_DBusObjectPath, TQT_DBusDataMap<
TQString > > _objects;
and in the header I have
template <typename K, typename V> class TQMap; template <typename K> class
TQT_DBusDataMap;
Does it mean it is missing in tqt dbus as I think dbusxml2qt3 is working fine, but could
be Variant was added later
somewhere in dbus?
I understand I am missing prototype for
TQMap< TQT_DBusObjectPath, TQT_DBusDataMap< TQString > >
Who can help me work around this situation?
Thanks in advance
Hi Emanoil,
where are you with this? and can you share a link to the original code?
cheers
Michele
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEjhl1z5vbYB3YbFTiKnW3yore1c8FAlsNQAwACgkQKnW3yore
1c8qpA/+I4S+juUYkVFDbVXej4SX+c+mPeva16c+KPOQAkxrUaY6eApJpFSGJZ/Z
rCFKvADEUUZn9sHBgNe6reqWBXwUHbFBJnlBU/NuuXMdAUleq1nQxLhW5MxhNFr8
j++mAAlsAh2QvV+0liXyV0PD7Ty5U8aK8C8minUXL2e/TK51cQ2BqoU23KZp5Wzp
3ShGMVu17S0x6EN2Nk9px5D3k9r05CaE1tEOQO5Lsut71PLLiZIdPZV4YDQDUC6x
cpUqv66+yq8pWVlTjq1zQr25FPbijpNxZHZDuYlVZidXEEP9LG1bIdd+8nCO4ZYJ
eDLTlhjNt48Tc5JxH2LZ3WiG/CgLc0zaDw5oQioOI2h8Lom9mlnHwVC149GSFjrc
+FHXjfoxFKGJ/MNpBA2LRopzOv3lLYXC2fVZbGn13gk8naFrUMmKYTLv3hLAg+yh
dsbyvTGl6Sh+6NyopSLqXWl/LRZL23OiEqNFOVkq6CXvdAfOwquU4og2KNZkVnYV
HHm1JBt8lG5AZEvVmMi0T1pcg+q/WsuQUsxxGxEZaQ+Wr3SxMe+H6f4uFa/N+WU6
niwk9DQ43ni7rqYQ4w5hJWxR8fCaToEcrRDxhGm5i+OHvPXnxGQUxPhJaCBsall9
AXX+uHfk75XlCQcHnOyhO9DoT9HZA1DyZ1qS6uJ8yFLMiEE9RGQ=
=m14k
-----END PGP SIGNATURE-----