← Back to team overview

unity-dev team mailing list archive

Re: [Ayatana-dev] Unity-2D and Qt5

 

Hi all,

On 3 December 2011 02:39, a.grandi@xxxxxxxxx <a.grandi@xxxxxxxxx> wrote:

I've tried with these new settings, but nothing changed:

export QTDIR=/opt/qt5
export PATH=$QTDIR/bin:$PATH
export PREFIX=$QTDIR:$PREFIX
export CPATH=$QTDIR/bin:$CPATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=$QTDIR/bin:$LD_RUN_PATH
export XDG_DATA_DIRS=$QTDIR:$XDG_DATA_DIRS
export XDG_CONDIG_DIRS=$QTDIR:$XDG_CONDIG_DIRS
export PKG_CONFIG_PATH=$QTDIR/lib:$PKG_CONFIG_PATH

I'm still trying to figure out the tips that ugo gave me, since I
cannot understand how to procede.

1)

> I know that packages are taken from repository, so how can I modify a
> package that is on a repository? How do I remove the deps from the
> package?

2)

> You're talking about Unity-2D packages, but remember that I'm
> compiling Unity-2D from sources, not from packages (I've checked it
> from bzr), for this reason I don't understand what you mean exactly.

if we were using qmake it would be easier to specify the Qt version to
use, but I've no idrea of how cmake works, so I really don't know how
to tell cmake to use my Qt5 installation instead of the system one.

Thanks.

-- 
Andrea Grandi - Nokia Qt Ambassador
Ubuntu Member: https://launchpad.net/~andreagrandi
website: http://www.andreagrandi.it



Follow ups

References