Re: How to create libraries in KDE Frameworks 5

2011-08-10 Thread Stephen Kelly
Stephen Kelly wrote: After using kde4_add_library the macro generate_export_header should be used. kde4_add_library(itemmodels ...) generate_export_header(itemmodels DEPRECATED_NAME KDE_DEPRECATED ) Just fyi, Instead of this, use only kf5_add_library. I've already ported existing

Re: How to create libraries in KDE Frameworks 5

2011-08-09 Thread Mario Bensi (Nef)
Hi, The itemmodels_export.h file is created in the build directory instead of being checked in. That means that it must be installed with a referenece to the build dir, like install(FILES ${CMAKE_CURRENT_BUILD_DIR}/itemmodels_export.h ) I think there is a mistake here to