Registered Member
|
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 |
Administrator
|
You need to set PATH to include /usr/local/Trolltech/Qt-4.6.0/bin
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I've tried
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 |
KDE Developer
|
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.
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]