Accueil
 

How to compile khtmldom under windows

libkde

Libkde include khtml, needed for khtmldom. There is two way to get kdelibs under windows:

  1. use cygwin, and kdelibs compiled for cygwin (http://cygwinports.dotsrc.org/)
  2. use the new native port (www.kdelibs.org)), but there is no compiled binary at the moment, the project is pretty new, and aim to port kde4 under windows using native qt4 installation. (it compile with cmake and msvc or mingw-gcc)

khtmldom

svn co svn+ssh://u38928862@noshell.info/kunden/homepages/45/d139660639/htdocs/svn/khtmldom khtmldom
make -f Makefile.cvs
./configure
make

kde-cygwin

Add this address in cygwin-setup:

ftp://sunsite.dk/projects/cygwinports

Needed packages: kdelibs, xorg-dev, ... to enable kde3 UIC, you need to launch qtconfig-qt3 et ajouter /usr/lib/kde3 et /usr/lib/kde3/plugins

startx&
qtconfig-qt3

My beloved libtools

in the libtool script add this (function = win32_libid ()) this craps enable libtool to recognize dll as dll (yes! !!) when it call "file" on certain dll, it return "MS-DOS executable" , instead of "MS Win PE" !!

  *executable*) # but shell scripts are "executable" too...
    case $win32_fileres in
    *MS\ Windows\ PE\ Intel*)
      win32_libid_type="x86 DLL"
      ;;
+   *MS-DOS\ executable*) # ugh! some DLLs built on Windows
+     win32_libid_type="x86 DLL"
+     ;;
    esac

dont forget to install the command file

 
khtml.txt · Last modified: 2007/03/16 20:29 by ctaf
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki