Hi a small update,

I made some tests at win xp:

It was not possible to compile the demoqt using hbmk2, so i tryed build.bat
from Marcos with some modifications:


"del log.txt

set HARBOURDIR=c:\harbour

:: prg -> c
%HARBOURDIR%\bin\harbour.exe -n -w -I..\include -I%HARBOURDIR%/include
%1.prg >> log.txt

:: c -> o
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -mwindows -mno-cygwin
-DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_THREAD_SUPPORT -I%QTDIR%\include\QtCore
-I%QTDIR%\include\QtGui -I%QTDIR%\include -I%QTDIR%\include\ActiveQt -I.
-I%QTDIR%\mkspecs\win32-g++ -I%HARBOURDIR%\include -o %1.o %1.c >> log.txt

:: o -> exe
g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -Wl,-subsystem,windows
-mwindows -mno-cygwin -o %1.exe %1.o -L..\lib -L%HARBOURDIR%\lib
-Lc:\qt\qt\lib -Wl,--start-group -lhbqt -lmingw32 -lQtGui4 -lQtCore4
-lQtWebKit4 -lhbdebug -lhbvm -lhbrtl -lhbrdd -lhbmacro -lhbpp -lhblang
-lhbcpage -lhbcommon -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbhsx -lgtwin
-lgtgui -Wl,--end-group >> log.txt
"

This way demoqt was created succesfully.

I was able to run it using the dll's from c:\qt\qt\bin and not c:\qt\bin,
please notice this. (my installation directory was c:\qt). So be carefull
what dir you will add to the path.

I will try this evening the same approach at my archlinux 64 at home and
will give you the resuts.

Regards
Vagelis
-- 
View this message in context: 
http://www.nabble.com/A-little-help-with-hbqt-demoqt-tp22730759p22737762.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to