[Okular-devel] Compiling code, but no changes in compiled program

Aurelijus aurelijuss at gmail.com
Thu Sep 8 20:02:29 UTC 2011


On 09/08/2011 05:42 PM, Albert Astals Cid wrote:
> A Dijous, 8 de setembre de 2011, Aurelijus vàreu escriure:
>> Hello,
>>
>> I am trying to add new functionality: when saving selected image from
>> pdf, save information about page and location from which image was selected.
>>
>> Cloned source from git, with cmake created build-tree, made some test
>> changes in ui/pageview.cpp, compiled (make), program launches but no
>> changes seems to take effect.
>>
>> I have 0.12.2 version installed as stable okular version, and from git
>> compiled 0.13.80.
>>
>> Changes in shell/shell.cpp (added qDebug statement) worked.
>> Text editor works fine also.
>> Rebuilding (with make) or preparing configurations with cmake again in
>> empty directory not solve the problem.
>> ldd function of okular executable links to normal build (I mean not to
>> my stable version).
>>
>> Any ideas, what I am doing wrong? Or what I should try?
>
> Read http://okular.kde.org/download.php
> Specially the part that says "If you install Okular in a different path than
> your system kde4 install directory it is possible that you need to run"
>
> Albert

Thanks. It helped.

The problem was that I used local/path/bin instead of local/path
And in -DCMAKE_INSTALL_PREFIX used my system kde directory instead of 
local path


More information about the Okular-devel mailing list