Can't detect Qt4
neundorf at kde.org
Wed May 30 01:30:44 CEST 2007
On Tuesday 29 May 2007 09:22, Clarence Dang wrote:
> I can't get strigi nor kdelibs to detect Qt4. My checkouts of qt-copy and
> kdelibs are from today.
> $ cmake --version
> cmake version 2.4-patch 6
> $ echo $QTDIR
> I've compiled qt-copy but did not "make install", as usual. $QTDIR/bin is
> in my path.
> In kdelibs/build:
> $ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debug ../
> -- Check for working C compiler: /usr/lib/ccache/bin/gcc
> -- Check for working C compiler: /usr/lib/ccache/bin/gcc -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: /usr/lib/ccache/bin/c++
> -- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works
> CMake Error: Could NOT find QtGlobal header
> -- Configuring done
> This setup used to work 1 or 2 months ago, when I last built kdelibs. I
> suspect the problem is that $QTDIR has to equal $KDEDIR now?
QTDIR isn't really supported by Qt anymore, and KDEDIR is also obsoleted. For
finding Qt adjust your PATH so that the Qt4 qmake is the first it finds, and
instead of KDEDIR use KDEDIRS.
More information about the Kde-buildsystem