[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: Can't detect Qt4
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2007-05-29 23:30:44
Message-ID: 200705291930.44471.neundorf () kde ! org
[Download RAW message or body]

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
> /home/kde4/celerysvn/qt-copy
>
> 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.

Bye
Alex
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic