On 3/5/07, Peter Schade <email@example.com> wrote: > Hello Mike,
> >Have you made the required changes to the myth code for qt/embedded?
> >I have them lying around somewhere if you're interested.
> Perhaps we should publish some basic infos on the wiki:
> I have started this a while ago, but not get any further. Can you have a
> look at this info and say what's totaly wrong ;)
> Can you send me the patch you made?
That's something that I'd like to do once I get around to it. It's
just the implication in that guide that DirectFB is the API
Qt/Embedded uses. I'm not sure about other MythTV functionality,
which I've heard uses DirectFB (Like the video output) but the GUI
portion doesn't use DirectFB. There should probably be a warning
there that says that it isn't finished. Once I get my MythTV box up
and running the way I want it, I'll work on that guide.
One this (for everyone who tries to get this to work). I believe the
problem with previous attempts at using QtE would be with changes made
in 3.3.6. I believe I tried to build with 3.3.7 and had problems.
It's been awhile though.
I don't really know how to generate a proper patch, but here is the
diff of the two mythtv trees (0.19) that I'm using.
diff -r mythtv-0.19-original/libs/libmythtv/videoout_directfb.cpp
diff -r mythtv-0.19-original/libs/libmythui/libmythui.pro
< HEADERS += mythpainter_ogl.h mythpainter_qt.h
--- > HEADERS += mythpainter_qt.h
< SOURCES += mythpainter_ogl.cpp mythpainter_qt.cpp
--- > SOURCES += mythpainter_qt.cpp
diff -r mythtv-0.19-original/libs/libmythui/mythmainwindow.cpp
< #include "mythpainter_ogl.h"
--- > //#include "mythpainter_ogl.h"
< : QGLWidget(NULL, "mainWindow")
--- > : QWidget(NULL, "mainWindow")
< d->painter = new MythOpenGLPainter();
< //d->painter = new MythQtPainter();
--- > //d->painter = new MythOpenGLPainter();
> d->painter = new MythQtPainter();
--- > // setAutoBufferSwap(false);
diff -r mythtv-0.19-original/libs/libmythui/mythmainwindow.h
< #include <qgl.h>
--- > //#include <qgl.h>
< class MythMainWindow : public QGLWidget
--- > class MythMainWindow : public QWidget
mythtv-dev mailing list