Building Qyoto For Windows

Building Qyoto for Windows is not quite supported at the moment by the KDEbindings team, but after a bit of trial and error I found a way to get it working. To see how this started, you can take a look at my posts to the KDEbindings mailing list: http://www.nabble.com/Qyoto-on-Windows-to17040536.html and http://www.nabble.com/Windows-patch-to17759886.html

The build process

  1. The build process starts on a Linux distribution with Qt installed. Make sure you know which version of Qt is installed. Now you checkout the kdebindings module from the kde subversion repository: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings. You will only need the cmake, csharp, kalyptus and smoke subdirectories (this guide is written based on revision 863982).
  2. Now download the following patch and extract it into the kdebindings directory. Now you should have csharp.patch and smoke.patch in your kdebindings directory, apply these to the csharp and smoke subdirectories.
  3. Run windowsbuild.sh to generate the sources and build qyoto.
  4. Switch to your Windows installation and install/compile the same version of Qt as you used on Linux.
  5. Copy the smoke, csharp and windows subdirectories to your Windows environment.
  6. Go to the windows subdirectory and run qmake to generate makefiles.
  7. Run make or nmake to build smoke and qyoto binaries, at this point you might need to fix one or two compile errors.
  8. Repeat the last two steps for optional modules ( windows/smoke/qsci, windows/csharp/qscintilla ) and for the tools ( csharp/qyoto/tools/uics and csharp/qyoto/tools/csrcc ).
  9. Use the managed assemblies ( qt-dotnet.dll, qtwebkit.dll ) from your linux build, they will not be compiled on windows.
 
building_qyoto_for_windows.txt · Last modified: 17-02-2010 17:21 by 131.107.0.69
 
Recent changes RSS feed Driven by DokuWiki