Hi all,

I'm trying to use QT on Windows 7, so I downloaded WIN "Libray Binary"
V2.1 from here:
http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html

and I replaced the file C:\Develop\Lazarus\lcl\interfaces\qt\qt45.pas

When I try to rebuild LCL for QT by IDE, I get this error:

C:\Develop\binw32\make.exe: Entering directory `C:/Develop/Lazarus/lcl'
C:/Develop/binw32/rm.exe -f units/i386-win32/alllclunits.ppu
C:/Develop/fpc/2.5.1/bin/i386-Win32/fpc.exe -gl  -Fu. -Fuforms
-Fuwidgetset -Fiinclude -FE. -FUunits/i386-win32 -di386 alllclunits.pp
Free Pascal Compiler version 2.5.1 [2010/02/22] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling alllclunits.pp
73 lines compiled, 0.2 sec
C:/Develop/binw32/make.exe -C interfaces all
make.exe[1]: Entering directory `C:/Develop/Lazarus/lcl/interfaces'
C:/Develop/binw32/make.exe -C qt all
make.exe[2]: Entering directory `C:/Develop/Lazarus/lcl/interfaces/qt'
C:/Develop/binw32/rm.exe -f ../../units/i386-win32/qt/interfaces.ppu \
        ../../units/i386-win32/qt/interfaces.o
C:/Develop/fpc/2.5.1/bin/i386-Win32/fpc.exe -gl -dqt
-Fu../../units/i386-win32 -Fu. -FE. -FU../../units/i386-win32/qt
-di386 interfaces.pp
Free Pascal Compiler version 2.5.1 [2010/02/22] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling interfaces.pp
Compiling qtint.pp
C:\Develop\Lazarus\lcl\interfaces\qt\qtwinapi.inc(1181,7) Error: Can't
determine which overloaded function to call
C:\Develop\Lazarus\lcl\interfaces\qt\qtwinapi.inc(1485,5) Note: User
defined: implement EnumFontFamiliesEx for other than default
C:\Develop\Lazarus\lcl\interfaces\qt\qtint.pp(259) Fatal: There were 1
errors compiling module, stopping

or by command line "make clean all LCL_PLATFORM=qt" :

...
...
...
Compiling qtwsforms.pp
Compiling qtwsmenus.pp
Compiling qtwsspin.pp
Compiling qtwsstdctrls.pp
qtwsstdctrls.pp(508,4) Note: User defined: implement TQtWSCustomListBox.SetColum
nCount
qtwsstdctrls.pp(1257,4) Note: User defined: implement TQtWSCustomComboBox.SetArr
owKeysTraverseList
Compiling qtwsdesigner.pp
Compiling qtthemes.pas
qtwinapi.inc(1181,7) Error: Can't determine which overloaded function to call
qtwinapi.inc(1485,5) Note: User defined: implement EnumFontFamiliesEx for other
than default
qtint.pp(259) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory `c:/Develop/Lazarus/lcl/interfaces/qt'
make[2]: *** [qt_all] Error 2
make[2]: Leaving directory `c:/Develop/Lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `c:/Develop/Lazarus/lcl'
make: *** [lcl] Error 2

Can you help me?

Thanks,
Kjow

PS If I try to compile a QT demo, it is ok:

D:\Downloads\Lazarus\QT\Win\win_demos-V2.1_Qt4.5.3\demos-V2.1_Qt4.5.3\circles>fpc
circles.pas
Free Pascal Compiler version 2.5.1 [2010/02/22] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling circles.pas
Compiling qt4.pas
Linking circles.exe
14170 lines compiled, 0.4 sec , 132768 bytes code, 27464 bytes data

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to