Wayne Sallee wrote:
I've run into a problem building phonon-backend-gstreamer-4.8.2 for KDE.

I'm getting:
fatal error: QtCore/QtGlobal: No such file or directory
  #include <QtCore/QtGlobal>



phonon-backend-gstreamer-4.8.2/build/CMakeTmp/check_qt_visibility.cpp

#include <QtCore/QtGlobal>
  int main()
  {
  #ifndef QT_VISIBILITY_AVAILABLE
  #error QT_VISIBILITY_AVAILABLE is not available
  #endif
  }



I have both qt4 and qt5 built using the opt method.

The file QtCore/QtGlobal is in both 4 and 5

/usr/src/qt/qt-everywhere-opensource-src-4.8.6/include/QtCore/QtGlobal
/usr/src/qt/qt-everywhere-opensource-src-5.4.0/qtbase/include/QtCore/QtGlobal

What would be a command that I could run to test to see what's going on?

How is your PKG_CONFIG_PATH set up? I have something like /opt/qt5/lib/pkgconfig. There is a file there, Qt5Core.pc which has:

prefix=/opt/qt5
...
includedir=${prefix}/include
...
Cflags: -I${includedir}/QtCore -I${includedir}

The QtCore in that you are looking at is for Qt4 so yours should be slightly different. The configure command should use pkgconfig to set up the -I entries to tell the compiler where to find include files.

  -- Bruce

--
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