[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    How to build kItemmodels as a windows shared library?
From:       Niclas Karlsson <niclas.karlsson () gmail ! com>
Date:       2014-01-20 11:30:57
Message-ID: CAFtUo_Y09yPZQCCu2-kFRWX290zfK5JfEBTgHbP57NA_qm3owA () mail ! gmail ! com
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic