]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Update documentation
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 13 Jul 2008 13:22:50 +0000 (13:22 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 13 Jul 2008 13:22:50 +0000 (13:22 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7374 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/README.mingw

index fae3e0ba540552bacd69ed64f36cfb4651d8dfc1..ff2fe76e719a9b361f3778df0b8162f6eefc6c69 100644 (file)
@@ -1,6 +1,6 @@
 
 BUILD SYSTEM: Ubuntu gutsy
-STATUS: Bat segfault quickly
+STATUS: Works
 
 REQUIRE: 
  - Bacula cross compilation tool (must be able to compile bacula-fd.exe)
@@ -15,6 +15,18 @@ Legend:
 $ shell command
 * tips
 
+Directory setup
+---------------
+$ cd bacula/src/win32
+$ ./build-win32-cross-tools
+$ ./build-depkgs-mingw32
+
+It will result something like :
+
+./
+|-- depkgs-mingw32
+|-- cross-tools
+`-- bacula
 
 bacula setup
 ------------
@@ -30,6 +42,7 @@ QT4 setup
 Install QT for mingw
 
 Get the mingw installation from http://trolltech.com/developer/downloads/qt/windows
+(Try to get the same version than your linux installation)
 
 $ wine qt-win-opensource-4.4.0-mingw.exe
  * Install under c:\Qt (no space)
@@ -41,9 +54,18 @@ $ cp -r ~/.wine/drive_c/Qt/4.4.0/lib     depkgs-mingw32/lib/qt
 
 MINGW setup
 -----------
-cross-tools/mingw32/mingw32/include/wchar.h:397
-- #ifndef  _NO_OLDNAMES
-+ #ifdef   _NO_OLDNAMES___DIS
+
+--- cross-tools/mingw32/mingw32/include/wchar.h.org     2008-07-13 15:18:52.000000000 +0200
++++ cross-tools/mingw32/mingw32/include/wchar.h 2008-07-12 14:47:10.000000000 +0200
+@@ -394,7 +394,7 @@
+        time_t  st_ctime;       /* Creation time */
+ };
+
+-#ifdef _NO_OLDNAMES
++#ifdef _NO_OLDNAMES_DISABLE
+ /* NOTE: Must be the same as _stat above. */
+ struct stat
+ {
 
 Compile bat
 -----------
@@ -53,6 +75,21 @@ $ cp bat.pro.mingw bat.pro
 $ qmake-qt4 -spec win32-x-g++
 $ make
 
+Run Bat on Windows
+------------------
+
+You'll need
+   zlib1.dll
+   ssleay32.dll
+   libeay32.dll
+   QtCore4.dll
+   QtGui4.dll
+   bacula.dll
+   pthreadGCE.dll
+   mingwm10.dll
+   bat.conf
+
+You can find QT dlls on ~/.wine/drive_c/Qt/4.4.0/bin
 
 Run Bat with wine
 -----------------