Hi,

well a little out of topic, I'm talking about QT compiling on Windows. But I see guys having problem here. So, I'll try to share my hot (10min old) first QT compile experience.

MinGW 4.4.0 from http://downloads.sourceforge.net/tdm-gcc/tdm-mingw-1.905.0-4.4.0-2.exe
QT 4.5.1 from http://www.qtsoftware.com/downloads/windows-cpp
Harbour current SVN

cd c:\harbour
set HB_INSTALL_PREFIX=c:\harbour
set HB_ARCHITECTURE=win
set HB_COMPILER=mingw
SET HB_INC_QT=c:\qt\include
SET path=%path%;c:\mingw\bin
make_gnu.bat install

# libhbqt.a compiles OK

copy lib\win\mingw\*.* lib\*.*
cd contrib\hbqt\tests
hbmk2 demoqt.prg

# problem to find -lqtcore4

SET HB_DIR_QT=c:\qt
hbmk2 demoqt.prg

# demoqt.exe compiled

SET path=%path%;c:\qt\bin
demoqt.exe

# MesageBox: The procedure entry point _Z5qFreePv could not be
# located in the dynamic link library QtCore4.dll.

# Trying to find string _Z5qFreePv inside c:\qt\bin\QtCore4.dll
# String found, why windows do not find this entry point???

# Trying to find more QtCore4.dll on C:\
# Found at C:\Program Files\MiKTeX 2.7\miktex\bin\QtCore4.dll
# Seems to be incompatible QtCore4.dll version in PATH

set path=c:\qt\bin
demoqt.exe

# Demo runs OK


Just be creative.


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

Reply via email to