Problems with KItemModels 5.2 and Windows

Luiz Romário Santana Rios luizromario at gmail.com
Mon Nov 10 01:35:16 UTC 2014


Problem solved. I just had to set CMAKE_MODULE_PATH as
$INSTDIR\share\ECM\find-modules.

Thanks for the help.

2014-10-06 18:12 GMT-03:00 David Faure <faure at kde.org>:
> On Wednesday 01 October 2014 22:13:18 Luiz Romário Santana Rios wrote:
>> Hello.
>>
>> I managed to compile and install KItemModels in Windows, but, when I
>> try to compile an application which requires KItemModels, CMake
>> complains about a missing KF5Config.cmake, which is nowhere to be
>> found at my install dir -- even though I had installed ECM already.
>>
>> I already managed to compile and use KItemModels (4.100) properly on
>> Windows, but I had to install a somewhat outdated kf5umbrella (4.98)
>> to do so, which shouldn't be needed anymore AFAIK -- I actually
>> couldn't find a more recent version than that.
>>
>> What am I missing?
>
> Forget about kf5umbrella, it's dead.
> Instead use FindKF5.cmake from ECM, by writing
>
> find_package(KF5 REQUIRED COMPONENTS ItemModels)
>
> note: do NOT use CONFIG or NO_MODULE in that line.
>
> --
> David Faure, faure at kde.org, http://www.davidfaure.fr
> Working on KDE Frameworks 5
>



-- 
Luiz Romário Santana Rios


More information about the Kde-windows mailing list