<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000066" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 12/25/2013 08:53 PM, Firiuz Abdillah
wrote:<br>
</div>
<blockquote
cite="mid:CAKWEiJ0banFUW_79JHp2GGzvxxVVg8kp9das0B6b6xB0tjv7Yw@mail.gmail.com"
type="cite">
<pre wrap="">On 12/25/13, Yuri Chornoivan <yurchor at ukr.net> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">???????? Wed, 25 Dec 2013 14:14:34 +0200, Firiuz Abdillah
<abdillah96bu at gmail.com>:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
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
</pre>
</blockquote>
<pre wrap="">
@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
--
</pre>
</blockquote>
Thank you all for this information.<br>
<br>
1. I had to install "libqjson-dev" and "libqjson-dbg", using sudo
apt-get install. <br>
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<br>
3. Then make. It finally built.<br>
<br>
Cheers,<br>
<br>
John<br>
</body>
</html>