[vlc-devel] osx / svn 22733 / qt4

Benjamin Sergeant bsergean at gmail.com
Sun Oct 21 04:29:57 CEST 2007


For my no-video problem, now if I start it from the command line,
instead of using open, I got a libcaca (I think) output...

On 10/20/07, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On Sat, Oct 20, 2007, Benjamin Sergeant wrote :
> > Last, drag'n'dropping files on the icon dock does not load it:
> > There is this document:
> > http://chaos.troll.no/~ahanssen/devdays2007/BringingYourAppToTheMac.pdf
> > that tells how to do that.
> >
> > I think you just have to add this to the code, and do the right thing
> > in the (do your file stuff).
> >
> > bool MyApplication::event(QEvent *event)
> > {
> >     switch (event->type()) {
> >     case QEvent::FileOpen:
> >         QString fileName =
> > static_cast<QFileOpenEvent *>(event)->file();
> >     // ... (do your file stuff)
> > return true;
> >      default:
> >   return QApplication::event(event);
> > }
> > }
> Patches are welcome, I guess it should go in qt4/qt4.cpp
> Again, the Qt4 module hasn't been yet tested/coded/checked on OS-X
>
> Best Regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



More information about the vlc-devel mailing list