help with tqt dbus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




---------------------------------------------------------------------
To unsubscribe, e-mail: trinity-devel-unsubscribe@xxxxxxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: trinity-devel-help@xxxxxxxxxxxxxxxxxxxxxxxxxx
Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/
Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting




[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux