[mythtv-users] Compiling QT and then compiling mythtv with OpenGL support
HP-mini
blm-ubunet at slingshot.co.nz
Fri Sep 27 09:06:08 UTC 2013
On Thu, 2013-09-26 at 21:43 -0700, John H wrote:
> I compiled QT4.8.5 with opengl support (--opengl desktop) and I see
> the QtOpenGL directory under /usr/local/Trolltech/QT4.8.5 but when I
> try to compile mythtv I can't get it to compile with opengl support. I
> take it my problem is that the configure file is checking for a
> package and since I don't have a package since I installed qt with
> make install it's thinking that opengl support isn't available. How
> can I compile this with opengl?
>
> pkg-config --variable=qt_config QtOpenGL
>
This does not directly answer your question but I build QT4.8.6 & Mythtv
with something very close to the attached...
I fairly sure OpenGL is functional here (in Mythtv)..
I have sucessfully built makemkv against this local Qt with modified
makefiles (in makemkv).
-------------- next part --------------
// QT4.8 *buntu 10.04 gcc 4.6.4
./configure -prefix /usr/local -fast -no-accessibility -system-zlib \
-qt-sql-mysql -no-sql-sqlite -no-sql-odbc -no-libmng \
-nomake examples -nomake demos -nomake designer \
-no-nis -no-cups -no-phonon -no-svg -no-multimedia \
-no-javascript-jit -no-scripttools
echo 'QMAKE_LFLAGS_SHLIB += -single_module' >> src/src.pro
make sub-src
sudo make install sub-src
sudo make install_subtargets
// mythtv 0.26 0.27
cd mythtv
./configure --qmake=/usr/local/Trolltech/Qt-4.8.4/bin/qmake --enable-proc-opt --enable-nonfree \
--enable-libfaac --enable-libx264 --enable-libxvid --disable-libcec \
--disable-hdhomerun --disable-ceton --enable-libmp3lame --enable-libvpx
make -j3
sudo make install
cd ../mythplugins
./configure --enable-proc-opt --qmake=/usr/local/Trolltech/Qt-4.8.4/bin/qmake
make -j3
sudo make install
--disable-mythmusic if libvorbis is a problem..
disabling mp3 (did) causes some build issues
More information about the mythtv-users
mailing list