On 12/25/2013 08:53 PM, Firiuz Abdillah wrote:
On 12/25/13, Yuri Chornoivan <yurchor at ukr.net> wrote:
???????? Wed, 25 Dec 2013 14:14:34 +0200, Firiuz Abdillah
<abdillah96bu at gmail.com>:
Hi,
I'm going to learn about Okular. This is my first time building KDE
Apps, especially using cmake. Steps I have taken:
1. I downloaded source from annongit latest commit and also from
launchpad mature source package of Okular.
2. I goto src/build and run "cmake .." but failed on file
audioplayer.cpp (displaying moc file of the same name).
Well, I want to ask, what should I set up before build KDE apps on my
machine (Ubuntu 13.10 64bit)?
Need guide, all help appreciated.
Hi,
It seems that Okular is not compilable with Qt 5/KDE Frameworks yet (you
can help to make it real).
Please install Qt 4 development packages and compile Okular with them.
Hope this helps.
Best regards,
Yuri
@Yuri : Good, it's compiled! Thanks for the help. It's true, okular
compiled properly using qt4.
@Albert : (I'm not receiving your answer email but I saw it on
okular-dev-archieve) Yes, I try that way. Thanks for the help.
For everyone want to know. This is what I did.
1. Install libqt4-dev : sudo apt-get install libqt4-dev
2. export PATH=/usr/lib/x86_64-linux-gnu/qt4/bin:$PATH
Get qt4 path from qmake-qt4 -query
3. cmake .. -DQT_QMAKE_EXECUTABLE=/usr/lib/x86_64-linux-gnu/qt4/bin/qmake
4. make
5. sudo checkinstall
Regard,
Abdillah
--
Thank you all for this information.
1. I had to install "libqjson-dev" and "libqjson-dbg", using sudo
apt-get install.
2. I also had to explicitly call ./CMakeLists.txt in the cmake command:
cmake .. -DQT_QMAKE_EXECUTABLE=/usr/lib/x86_64-linux-gnu/qt4/bin/qmake
./CMakeLists.txt
3. Then make. It finally built.
Cheers,
John
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel