Re: [CMake] Trouble exporting a library that is linked to Qt5 [SOLVED]

2014-04-19 Thread Alan W. Irwin
On 2014-04-18 08:33-0700 Alan W. Irwin wrote: If not and you recommend instead we use an export config file for our two libraries that depend on Qt5, then I will make those changes. But since the documentation that you reference in the URL above is quite complex and includes lots of stuff we cu

Re: [CMake] Trouble exporting a library that is linked to Qt5

2014-04-18 Thread Alan W. Irwin
On 2014-04-18 15:38+0200 Stephen Kelly wrote: Alan W. Irwin wrote: Can anyone explain what is going wrong here? For example, do I have to do something extra (i.e., something not required for Qt4) to get libplplot exported properly when it links to Qt5? Even when using Qt 4 you will find the

Re: [CMake] Trouble exporting a library that is linked to Qt5

2014-04-18 Thread Stephen Kelly
Alan W. Irwin wrote: > Can anyone explain what is going wrong here? For example, do I have to > do something extra (i.e., something not required for Qt4) to get > libplplot exported properly when it links to Qt5? Even when using Qt 4 you will find the same behavior if you use the imported target

[CMake] Trouble exporting a library that is linked to Qt5

2014-04-17 Thread Alan W. Irwin
For the case when libplplot (the principal library of the PLplot project) is linked to Qt4, libplplot can be exported and other projects can import and link to libplplot and its Qt4 dependency without issues regardless of whether libplplot is built shared or static. However, there are linking err