I currently have an issue compiling qtcurve with Qt5 support: [ 40%] Building CXX object qt5/style/CMakeFiles/qtcurve-qt5.dir/argbhelper.cpp.o cd /home/franz/src/qtcurve/build/qt5/style && /usr/bin/c++ -DQTC_UTILS_QT5 -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x050100 -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -Dqtcurve_qt5_EXPORTS -Wall -Wextra -Wno-deprecated-register '-std=c++11' -fPIC -I/home/franz/src/qtcurve/build -I/home/franz/src/qtcurve/build/.cmake_utils_base/cmake_c_macros/include_fix -I/home/franz/src/qtcurve/qt5 -I/home/franz/src/qtcurve/build/qt5 -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtX11Extras -I/home/franz/src/qtcurve/qt5/style -I/home/franz/src/qtcurve/build/qt5/style -D_GNU_SOURCE -pthread -o CMakeFiles/qtcurve-qt5.dir/argbhelper.cpp.o -c /home/franz/src/qtcurve/qt5/style/argbhelper.cpp /home/franz/src/qtcurve/qt5/style/argbhelper.cpp:26:31: fatal error: private/qwidget_p.h: No such file or directory compilation terminated. make[2]: *** [qt5/style/CMakeFiles/qtcurve-qt5.dir/argbhelper.cpp.o] Error 1 There was a change to how Qt5 handles Private headers: https://codereview.qt-project.org/#change,61334 This simple CMakeLists.txt already shows the buggy behaviour: ====== find_package(Qt5Core REQUIRED Private) message("Private Headers: " ${Qt5Core_PRIVATE_INCLUDE_DIRS}) message(" Headers: " ${Qt5Core_INCLUDE_DIRS}) ====== The line that should contain the Private include dirs is empty. I am using Qt-5.2.0 from the Qt Overlay: $ eix qtcore [I] dev-qt/qtcore Available versions: (4) 4.8.5-r1 **4.8.9999[1] (5) (~)5.2.0[1] **5.2.9999[1] **5.9999[1] {aqua debug +exceptions +glib iconv icu pch qt3support ssl test} Installed versions: 4.8.5-r1(4)(12:39:42 07.01.2014)(exceptions glib iconv icu qt3support ssl -aqua -debug -pch) 5.2.0(5)[1](11:59:51 27.12.2013)(glib icu -debug -test) Homepage: http://qt-project.org/ http://qt.digia.com/ Description: The Qt toolkit is a comprehensive C++ application development framework [1] "qt" /var/repositories/qt $ eix -e cmake [I] dev-util/cmake Available versions: 2.8.10.2-r2 2.8.11.2 (~)2.8.12.1-r4 (~)2.8.12.2 {emacs ncurses qt4 qt5 test vim-syntax} Installed versions: 2.8.12.2(09:51:00 29.01.2014)(ncurses qt5 -emacs -qt4 -test) Homepage: http://www.cmake.org/ Description: Cross platform Make
Which ebuild from which repository is failing here, exactly?
The failing package is [I] x11-themes/qtcurve Available versions: 1.8.14 (~)1.8.17-r1 (~)1.8.18 (**)9999[1] {+X aqua gtk kde nls +qt4 qt5 windeco} Installed versions: 9999[1](20:29:35 30.11.2013)(X gtk nls qt4 qt5 -aqua -kde -windeco) I don't know if there are other packages that fail due to their use of private headers together with cmake. BTW. there is a bugreport for qtcurve, reported by another Gentoo user, which made me think this might be a Gentoo issue: https://github.com/QtCurve/qtcurve/issues/35
(In reply to Franz Fellner from comment #2) > BTW. there is a bugreport for qtcurve, reported by another Gentoo user, > which made me think this might be a Gentoo issue: one more reason to search bugzilla before opening duplicate bugs... *** This bug has been marked as a duplicate of bug 497312 ***