I'm dyslexic. It's pretty difficult for me to see the difference between tcp
and tpc. I'll learn in time.
--
View this message in context:
http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579481.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.
-
Gives the following errors/
--
View this message in context:
http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579480.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.
--
___
Also, if you browse the source and look at other qDebug() calls, you'll see
we print qStrings all the time, normally using qPrintable().
On Sun, Aug 2, 2015 at 8:22 AM Jim Newton wrote:
> Thanks, i'll give it a try.
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/help-
Thanks, i'll give it a try.
--
View this message in context:
http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579474.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.
--
__
sorry, note->tcpUserName().toLatin1().data()
2015-08-02 15:50 GMT+03:00 Andrei Tuicu :
> Hello Jim,
>
> Please try qDebug(note->tcpUserName().toLatin1.data()), or if you preffer
> printf("%s\n", note->tcpUserName().toLatin1.data()).
>
> Cheers,
> Andrei
>
> 2015-08-02 15:42 GMT+03:00 Jim Newton :
Hello Jim,
Please try qDebug(note->tcpUserName().toLatin1.data()), or if you preffer
printf("%s\n", note->tcpUserName().toLatin1.data()).
Cheers,
Andrei
2015-08-02 15:42 GMT+03:00 Jim Newton :
> Thanks. It looks like note->tpcUserName() returns a Qstring which cannot
> be
> printed with %s.
>
Thanks. It looks like note->tpcUserName() returns a Qstring which cannot be
printed with %s.
How can I print the human readable name?
--
View this message in context:
http://dev-list.musescore.org/help-debugging-notes-tp7579465p7579471.html
Sent from the MuseScore Developer mailing list archiv
See Note::tpcUserName(), also see how it is used in, for instance,
Note::accessibleInfo().
On Sun, Jul 26, 2015 at 11:22 AM Jim Newton wrote:
> Can someone tell me the correct way to print the "name" of a note (Note
> *note) using qDebug() ?
> By name, I mean something like Ab3, but even somethi
Can someone tell me the correct way to print the "name" of a note (Note
*note) using qDebug() ?
By name, I mean something like Ab3, but even something like Ab would work
for the particular case.
I'd like to get the octave as well if possible?
qDebug("%s", note->find_my_name_and_octave());
--