Version: (using Devel) Installed from: Compiled sources OS: Linux After setting up my development environment (http://techbase.kde.org/Getting_Started/Build/KDE4), running 'cs KDE/kdelibs && cmakekde' reports that QT_QT_INCLUDE_DIR is not set. After looking in 'kdelibs/cmake/modules/FindQt4.cmake' it seems that it is setting QT_QT_INCLUDE_DIR based on the location of 'qglobal.h'. $ dpkg -S qglobal.h libqt4-dev: /usr/include/qt4/QtCore/qglobal.h I've found that the 'FindQt4.cmake' file needs 'qglobal.h' in the '/usr/include/qt4/Qt/' folder. I've found 2 workarounds for this: Workaround 1: add -DQT_QT_INCLUDE_DIR=/usr/include/qt4 to the cmakekde function in ~/.bashrc Workaround 2: force install the libqt4-opengl-dev package (thx mi). This package will install the 'qglobal.h' file in the right place, however, this package isn't a requirement to build KDE and won't install on kubuntu without a force. More system info: Kubuntu 8.04 KDE4 Remix, KDE source from svn trunk $ qmake -version QMake version 2.01a Using Qt version 4.4.0 in /usr/lib svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake SVN Revision: 805659
> Workaround 1: add -DQT_QT_INCLUDE_DIR=/usr/include/qt4 to the cmakekde function in ~/.bashrc That's just a workaround, and if needed something else is wrong. > Workaround 2: force install the libqt4-opengl-dev package This is indeed a distro problem that provides a file in a different package than expected. Please report to Kubuntu.
Fixed in 4.4.0-1ubuntu3 and 4.4.0-1ubuntu3~hardy1.