compile problem kdevelop-pg-qt

jay kdevelop at jxx.sk
Fri Jun 24 12:52:32 UTC 2011


Hi..

I found something, but I don't understand it completely.
But you could :)

http://thomasmcguire.wordpress.com/2011/02/27/facebook-support-in-kdepim/
similiar error in one comment.
and Reply from programmer

[quote]
I think you found a problem in the Facebook resource and Fedora’s recent
changes to DSO linking[1], I’ve just pushed a potential fix[2]. Please
do a “git pull –rebase” in the source directory, which should fetch the
update I pushed. Then try to rebuild.

[1] https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
[2]
http://quickgit.kde.org/?p=scratch%2Ftmcguire%2Fkfacebook.git&a=commit&h=48b7a64310c53c0b3565abc4f3e4838d1c7808a5
<http://quickgit.kde.org/?p=scratch%2Ftmcguire%2Fkfacebook.git&a=commit&h=48b7a64310c53c0b3565abc4f3e4838d1c7808a5>

[/quote]


this commit:
https://projects.kde.org/projects/playground/pim/akonadi-facebook/repository/revisions/48b7a64310c53c0b3565abc4f3e4838d1c7808a5/diff/resource/CMakeLists.txt


Fedora changed something.

As far as I understand it, in target_link_libraries should be all
dependancies, also implicit deeper dependancies.

But kdevelop-pg-qt is missing libQtCore, even if I gave i to him :

target_link_libraries(benchmarks
    ${QT_QTTEST_LIBRARY}
    ${QT_QTCORE_LIBRARY}
    ${QT_QTGUI_LIBRARY}
    QtCore
)
(I was testing all possible, even gui :) )





On 06/22/2011 05:18 PM, Milian Wolff wrote:
> On Wednesday 22 June 2011 16:47:51 jay wrote:
>> On 06/22/2011 04:37 PM, Milian Wolff wrote:
>>> On Wednesday 22 June 2011 16:11:35 jay wrote:
>>>> successfully compiled quanta, kphotoalbum, yakuake
>>>> or i don't really know what is a QT app :)
>>> ok then this works.
>>>
>>>> could be possibly a bug in kdev-pg-qt,
>>>> because some google results with this error result in upstream fixes.
>>> Do you use gold?
>> nope, or "no comprende" :)
>>
>>>  And try to add ${QT_QTCORE_LIBRARY} to the
>>>
>>> target_link_libraries in tests/CMakeLists.txt
>> I was trying that
>>
>> $ git diff
>> diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
>> index 4084076..f14330b 100644
>> --- a/tests/CMakeLists.txt
>> +++ b/tests/CMakeLists.txt
>> @@ -24,5 +24,6 @@ set(benchmarks_SRCS
>>  kde4_add_unit_test(benchmarks ${benchmarks_SRCS})
>>  target_link_libraries(benchmarks
>>      ${QT_QTTEST_LIBRARY}
>> +    ${QT_QTCORE_LIBRARY}
>>  )
> sorry then I have no clue what is going on - you'll need to hope for someone 
> else to shed some light on this issue.
>
> bye





More information about the KDevelop-devel mailing list