[Kde-bindings] Building smokeqt with Visual Studio on Windows

w0rp devw0rp at gmail.com
Mon Sep 16 14:39:28 UTC 2013


Hello everyone. I'm trying to figure out how to build smokeqt on 
Windows, with Visual Studio. Currently what I've done is this.

I've cloned 'smokgen' to a directory, let's call that git/smokegen.
I've clone 'smokeqt' to another directory, git/smokeqt

In smokegen I ran 'cmake .', opened the resulting .sln file, and hit 
build to build smokegen. That seems just fine.

In smokeqt, I used cmake-gui and set Smoke_DIR to the absolute path to
git/smokegen/cmake. However I still get errors about missing CMake 
files, which follow.

--- OUTPUT START ---
CMake Error at CMakeLists.txt:16 (include):
   include could not find load file:

     MacroOptionalFindPackage


CMake Error at CMakeLists.txt:17 (include):
   include could not find load file:

     MacroOptionalAddBindings


CMake Error at CMakeLists.txt:18 (include):
   include could not find load file:

     MacroLogFeature
--- OUTPUT END ---

Now, I imagine if I was running Linux, then back in smokegen I could 
just run cmake . && make && make install, then move over to smokeqt and 
do the same. However, I'm using Windows and Visual Studio, so what do I do?

Can I set some combination of CMake variables and environment variables 
to make everything work?


More information about the Kde-bindings mailing list