--===============0193399501974249350== Content-Type: multipart/signed; boundary="nextPart4057962.uh2NdtDF9u"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart4057962.uh2NdtDF9u Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Niclas, On Monday, 2014-01-20, 12:30:57, Niclas Karlsson wrote: > 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. Have you tried within a clean build directory? Does it find it if you do the other thing, i.e. specify CMAKE_PREFIX_PATH to the same install directory? > Can anyone help me? How should I proceed? Migth be worth asking on the frameworks development list https://mail.kde.org/mailman/listinfo/kde-frameworks-devel Cheers, Kevin -- Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart4057962.uh2NdtDF9u Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iD8DBQBS3VOYnKMhG6pzZJIRArcIAJwLEBki1/8fMjD2YZMri1GRzrp50gCfY5VJ +Zo/tindDh+0mTITB0hQh+M= =jQpG -----END PGP SIGNATURE----- --nextPart4057962.uh2NdtDF9u-- --===============0193399501974249350== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0193399501974249350==--