Hi,

I'm building phonon-4.9.0 after building qt-5.8.0 successfully. I'm getting
following error:

Scanning dependencies of target phonon4qt5
In file included from /sources/phonon-4.9.0/phonon/audiooutput_p.h:28:0,
         from /sources/phonon-4.9.0/phonon/audiooutput.cpp:23:
/sources/phonon-4.9.0/build/phonon/phononconfig_p.h:6:30: fatal error:
QtCore/qfeatures.h: No such file or directory
#include <QtCore/qfeatures.h>
                                           ^
compilation terminated.
make[2]: *** [phonon/CMakeFiles/phonon4qt5.dir/build.make:207:
phonon/CMakeFiles/phonon4qt5.dir/audiooutput.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:228:
phonon/CMakeFiles/phonon4qt5.dir/all] Error 2
make: *** [Makefile:139: all] Error 2

So, I tried to search this file in /opt/qt5 (pointing to qt-5.8.0) but
couldn't. I've an older version of qt also. So, I tried searching in it.
And surely the file is there. I thought I missed something in the build. So
searched for qfeatures.* file in both qt source tarballs. There are two
files in version of qt but one one in qt-5.8.0.

jignesh [ /sources ]$ cd /opt/qt-5.7.1/
jignesh [ /opt/qt-5.7.1 ]$ find -iname 'qfeatures.*'
./mkspecs/features/qfeatures.prf
./mkspecs/qfeatures.pri
./include/QtCore/qfeatures.h
jignesh [ /opt/qt-5.7.1 ]$ cd ../qt-5.8.0/
jignesh [ /opt/qt-5.8.0 ]$ find -iname 'qfeatures.*'
jignesh [ /opt/qt-5.8.0 ]$ cd /sources/qt-everywhere-opensource-src-5.7.1
jignesh [ /sources/qt-everywhere-opensource-src-5.7.1 ]$ find -iname
'qfeatures.*'
./qtbase/src/corelib/global/qfeatures.txt
./qtbase/mkspecs/features/qfeatures.prf
jignesh [ /sources/qt-everywhere-opensource-src-5.7.1 ]$ cd
../qt-everywhere-opensource-5.8.0
jignesh [ /sources/qt-everywhere-opensource-src-5.8.0 ]$ find -iname
'qfeatures.*'
./qtbase/src/corelib/global/qfeatures.txt
jignesh [ /sources/qt-everywhere-opensource-src-5.8.0 ]$

What am I missing?


-- 

Jignesh D. Gangani
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to