[Qt-interest] USB Device Notifications (PDEV_BRAODCAST_PORT)
Wm. G. Urquhart
wgu at wurquhart.co.uk
Sun May 2 10:29:40 CEST 2010
On 02/05/2010 01:29, David Ching wrote:
> QString::arg() is taking name as a Unicode string. You need to convert name
> from an ASCII string to a Unicode string, something like
>
> ui.statusBar->showMessage(tr("Device Name :
> %1").arg(QString::fromAscii(name)), 0) ;
Hi thanks for the reply,
But I have just tried this only to get the same result!
ui.statusBar->showMessage(tr("Device Name :
%1").arg(QString::fromAscii(name)), 0) ;
The 'weird' thing is that when I later enumerate the ports using
QueryDosDevice(...) new COMM port 'COM5' appears in my list.
Still confused.
--
William
More information about the Qt-interest-old
mailing list