Bug 341509

Summary: can't find Qca if built with -qt5 suffix
Product: [Applications] okteta Reporter: Antonio Rojas <arojas>
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED FIXED    
Severity: normal CC: sl1pkn07
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: v14.12.2 (v0.15.2)
Attachments: Possible fix

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.