Bug 341509 - can't find Qca if built with -qt5 suffix
Summary: can't find Qca if built with -qt5 suffix
Status: RESOLVED FIXED
Alias: None
Product: okteta
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-02 21:52 UTC by Antonio Rojas
Modified: 2015-01-29 03:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: v14.12.2 (v0.15.2)


Attachments
Possible fix (563 bytes, patch)
2014-12-02 22:07 UTC, Antonio Rojas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2014-12-02 21:52:43 UTC
Qca recommends using the -qt5 suffix if building against Qt5 [1]. But if it's compiled this way, okteta 14.11.97 doesn't detect it (it looks for the library name without suffix)

[1] https://projects.kde.org/projects/kdesupport/qca/repository/revisions/2c58be171e8478f03d8a724640f40e36826c6893

Reproducible: Always

Steps to Reproduce:
1. Compile qca with -qt5 suffix
2. Try to compile okteta 14.11.97

Actual Results:  
Qca can't be found

Expected Results:  
Qca is found
Comment 1 Antonio Rojas 2014-12-02 22:07:51 UTC
Created attachment 89814 [details]
Possible fix

This works for me
Comment 2 Gustavo Alvarez 2015-01-18 04:58:25 UTC
hi

better patch from reviewboard.kde.org

https://git.reviewboard.kde.org/r/122034/diff/raw/

greetings
Comment 3 Friedrich W. H. Kossebau 2015-01-29 03:32:58 UTC
Hi, thanks for filing this bug and also providing a patch, very good :)

I waited a little until the discussion about the proper qca library naming has resulted in something.
Now that it has I went for the linked patch from reviewboard, as this is the fix applied elsewhere as well , and has the advantage of no longer using the old FindQCA2.cmake, but the modern cmake config file installed from qca.
So can close this bug now finally, assuming this solution also works for you.