This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Trying to Build KDE 4.4 trunk

Tags: None
(comma "," separated)
LastGuyonEarth
Registered Member
Posts
16
Karma
0

Trying to Build KDE 4.4 trunk

Fri Nov 06, 2009 2:22 am
Hi everyone,

I recently wanted to try out the latest version of Aki IRC, and found that it could only be built with Qt 4.6.0. After compiling Qt-4.6.0, I decided to try building kdelibs from trunk with it.

Unfortunately, it's been a while since I've built all of KDE from source.

I've tried doing several things to make Cmake point to Qt-4.6.0, which resides in: /usr/local/Trolltech/Qt-4.6.0/

I've tried doing

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Trolltech/Qt-4.6.0
QTDIR=/usr/local/Trolltech/Qt-4.6.0/
QT_PLUGIN_PATH=/usr/local/Trolltech/Qt-4.6.0/plugins
PKG_CONFIG_PATH=/usr/local/Trolltech/Qt-4.6.0/lib/pkgconfig


Unfortunately, it still comes up with the error:
CMake Error at cmake/modules/FindQt4.cmake:1759 (MESSAGE):
The installed Qt version 4.5.2 is too old, at least version 4.6.0 is
required

If anyone could give me some advice as to what I'm doing wrong, that would be great.

For additional reference, I'm using Ubuntu Karmic.


"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows."

-Forest, from "Under an Iron Tree" by Sean Tilley
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Trying to Build KDE 4.4 trunk

Fri Nov 06, 2009 4:32 am
You need to set PATH to include /usr/local/Trolltech/Qt-4.6.0/bin


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
LastGuyonEarth
Registered Member
Posts
16
Karma
0

Re: Trying to Build KDE 4.4 trunk

Fri Nov 06, 2009 6:10 am
I've tried

PATH=$PATH:/usr/local/Trolltech/Qt-4.6.0/bin/


as well as the other above commands, but to no avail.

I still get the same error when I attempt to use cmake.


"As the Days change like weather, all of you must know:
Everything gets better. Everything regrows."

-Forest, from "Under an Iron Tree" by Sean Tilley
User avatar
aseigo
KDE Developer
Posts
124
Karma
2

Re: Trying to Build KDE 4.4 trunk

Fri Nov 06, 2009 7:14 am
PATH=$PATH:/usr/local/Trolltech/Qt-4.6.0/bin/

this is backwards. it should be:

PATH=/usr/local/Trolltech/Qt-4.6.0/bin/:$PATH

otherwise the qt 4.5 install will be picked up -first- due to being -first- in the path.


aseigo, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]