Use SLOT(cppSlot(const QString *)) instead of SLOT(cppSlot(QString)).

2016-06-17 9:13 GMT-04:00 Matthias Apitz <[email protected]>:

> El día Friday, June 17, 2016 a las 09:00:57AM -0400, Michael Terry
> escribió:
>
> > Try adding:
> > objectName: "dialButton"
> >
> > to dialButton?
> >
> > "id" is for inside-qml references.  "objectName" is for findChild and
> ilk.
>
> Thanks. This seems to find the object, but gives a new problem:
>
> QObject::connect: No such slot MyClass::cppSlot(QString)
> QObject::connect:  (sender name:   'dialButton')
>
>
>
> --
> Matthias Apitz, ✉ [email protected], ⌂ http://www.unixarea.de/  ☎
> +49-176-38902045
> "Die Verkaufsschlager des Buchmarkts geben Auskunft über den Zustand einer
> Gesellschaft bzw.
> sind, was diese Zeiten angeht, Gradmesser fortschreitenden Schwachsinns.
> ..." (jW 19.05.2016)
>



-- 
-mt
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to