trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Re: [trinity-users] kdebase make failure if Qt4 installed, QtCore/qfile.h QT_BEGIN_HEADER doesn't name type

From: Serghei Amelian <serghei@...>
Date: Fri, 4 Feb 2011 10:47:14 +0200
On Friday 04 February 2011 06:29:21 David C. Rankin wrote:
[...]

>   trinity_prefix="/opt/trinity"
>
>   cd ${srcdir}
>   cmake ../ \
>     -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
>     -DWITH_QT3=ON \
>     -DBUILD_ALL=ON \
>     -DCMAKE_SKIP_RPATH=ON
>   make  || return 1
> }


> But even with these variables, the build grabs QtCore regardless. Are there
> any other cmake variables that I can use that would make sense in this
> situation?

Try to add "-DQTDIR=/opt/qt" to cmake arguments.

[...]

-- 
Serghei