<p dir="ltr">Thanks Sumit. I'll get it to build when I get home. </p>
<div class="gmail_quote">On Dec 2, 2015 2:05 AM, "Sumit Sahrawat, Maths & Computing, IIT (BHU)" <<a href="mailto:sumit.sahrawat.apm13@iitbhu.ac.in">sumit.sahrawat.apm13@iitbhu.ac.in</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi William,<div><br></div><div>I've also just started contributing to Okular, so I think I can help.</div><div><br></div><div>I didn't know anything when I started, and now that I'm working on Okular, I find myself referring the Qt4 docs a lot.</div><div><br></div><div>To build, this is what I'd do,</div><div><br></div><div><font face="monospace, monospace">    cd /path/to/okular</font></div><div><font face="monospace, monospace">    mkdir build</font></div><div><font face="monospace, monospace">    cd build</font></div><div><font face="monospace, monospace">    cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install-dir -DCMAKE_BUILD_TYPE=debugfull</font></div><div><br></div><div>This sets up a build environment which doesn't disturb your original installation, and installs in build/install-dir instead of the global space.</div><div><br></div><div>Also, you'd need to run</div><div><br></div><div><font face="monospace, monospace">    export KDEDIRS=path/to/okular/build/install-dir</font></div><div><font face="monospace, monospace"><br></font></div>In every terminal before you use it to build okular so that the created binary works with the modifications you've done. Otherwise it just uses the global installation's files. I'd put that in your .bashrc/.zshrc etc.<div><br></div><div>The installed binary will be in <font face="monospace, monospace">install-dir/bin</font></div><div><font face="monospace, monospace"><br></font></div>Hope this helps.</div><div class="gmail_extra"><br><div class="gmail_quote">On 2 December 2015 at 06:42, William Oliver <span dir="ltr"><<a href="mailto:kingweko@gmail.com" target="_blank">kingweko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hey everyone,<br><br>I've been using Okular for a while now and It is by far my favorite pdf reader for Ubuntu, and I wanted to help out with development. I was wondering if there was anything I should know before I started looking through the code and finding a bug to work on. I haven't used any of the other KDE software, but it seems like there are some standard KDE dependencies and code conventions. Are there any that I should be aware of?<br><br>Also, I couldn't seem to find any build instructions. So I assume it is just a standard cmake + qt build scenario. Is this correct?</div></div>
<br>_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org" target="_blank">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Regards</div><div dir="ltr"><div><br></div><div>Sumit Sahrawat</div></div></div></div></div></div></div>
</div>
<br>_______________________________________________<br>
Okular-devel mailing list<br>
<a href="mailto:Okular-devel@kde.org">Okular-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/okular-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/okular-devel</a><br>
<br></blockquote></div>