From kde-devel Mon Jan 20 11:30:57 2014 From: Niclas Karlsson Date: Mon, 20 Jan 2014 11:30:57 +0000 To: kde-devel Subject: How to build kItemmodels as a windows shared library? Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=139021750622083 Hi, I'm developing a QT 5 application (cross platform linux and windows). I would like to use kitemmodels as a shared library in the applications. I'm using windows and mingw as compiler. I've tried following http://community.kde.org/Frameworks/Building/Details#kitemmodels but I get the following error: C:\GIT\kitemmodels\build>cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX= -DCM AKE_PREFIX_PATH= .. CMake Error at CMakeLists.txt:5 (find_package): Could not find a package configuration file provided by "ECM" (requested version 0.0.9) with any of the following names: ECMConfig.cmake ecm-config.cmake Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR" to a directory containing one of the above files. If "ECM" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "C:/GIT/kitemmodels/build/CMakeFiles/CMakeOutput.log". I have cloned and built ECM in C:\GIT\extra-cmake-modules and set ethe ECM_DIR to C:\GIT\extra-cmake-modules\install\share\ECM\cmake where I can find ECMConfig.cmake, but I still get the same error message as above. Can anyone help me? How should I proceed? Thanks! Niclas Mvh Niclas >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<