Bug 341289

Summary: Install mkspecs file to correct directory
Product: [Frameworks and Libraries] qca Reporter: Jonathan Riddell <jr>
Component: generalAssignee: Ivan Romanov <drizt72>
Status: RESOLVED NOT A BUG    
Severity: normal CC: bradh, justin, rdieter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: install to correct dir
Error when installing

Description Jonathan Riddell 2014-11-26 12:28:05 UTC
mkspecs files currently get installed to /usr/mkspecs which is incorrect

I added this attached patch to install it to the correct directory


Reproducible: Always
Comment 1 Jonathan Riddell 2014-11-26 12:29:46 UTC
Created attachment 89731 [details]
install to correct dir

patch from kubuntu package to install to correct dir

we also have to set -DQCA_SUFFIX="qt5" because it is not binary compatible.  The correct fix is to change the soversion which is at https://git.reviewboard.kde.org/r/121168/
Comment 2 Ivan Romanov 2014-11-26 12:50:32 UTC
Created attachment 89732 [details]
Error when installing
Comment 3 Ivan Romanov 2014-11-26 12:53:24 UTC
I tried to compile and install with your patch in own home directory. I got error.
When using CMAKE_INSTALL_PREFIX all files MUST be under CMAKE_INSTALL_PREFIX. The patch brokes this. So patch is not correct. Use QCA_FEATURE_INSTALL_DIR to set correct feature dir or not use CMAKE_INSTALL_PREFIX