Hi Jurgen
I fixed it by changing it from QApplication to
QCoreApplication. The QApplication needs a qws server for rendering, since
my app was a sound daemon i changed it to QCoreApp.
regards
--amit
On Mon, Jul 22, 2013 at 2:02 PM, Jürgen Beisert <[email protected]> wrote:
> Hi Amit,
>
> On Friday 28 June 2013 15:34:44 amit shah wrote:
> > I developing a qt based console (app) daemon to play sound files.
> > I'm using QT ver 4.7.3 with a 201108 version of ptx dist.
> > When I launch the app with or without the -qws flag it gives me the
> > following error
> >
> > QWSSocket::connectToLocalFile could not connect:: No such file or
> directory
> >
> > The app is launching and does not terminate but no sound is playing.
> >
> > Any insight would be welcome.
> >
> > Find the source code attached.
>
> I'm not a Qt expert. So I can't help what this error message means. What
> kind
> of socket it tries to open? Sound related? If yes, it seems it expects some
> kind of sound daemon. The Mini2440 BSP does not use a sound daemon. All
> tools
> are using the DSP device node instead to play sounds.
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K. | Juergen Beisert
> |
> Linux Solutions for Science and Industry | Phone:
> +49-5121-206917-5128 |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Fax:
> +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
>