[Lazarus] QT: installaton error.

Kjow antispammoni at gmail.com
Tue Feb 23 21:14:42 CET 2010


2010/2/23 Den Jean <Den.Jean at telenet.be>:
> Copying dlls around is a recipe for disaster. In the end
> after upgrading things, the wrong library will get loaded
> and you will not understand. Leave the Qt dlls in the
> Qt installation dir e.g. c:\Qt\4.5.3\bin, leave mingw dlls
> in e.g. c:\MinGW\bin. Both paths should be in the path
> env. variable. This way it is clear what gets called when.

I simply added to system path the qt's bin path, no file/dll copied.
I don't know how was the "old" 4.5.x path structure, but I simply
installed the latest qt v4.6.2 from Nokia site and added the path to
system variables.

But, now I have a little problem... A new project works well, but if I
change the widget from win32/64 from qt of an existing project Lazarus
returns this error:

Hint: Start of reading config file C:\Develop\fpc\2.5.1\bin\i386-Win32\fpc.cfg
Hint: End of reading config file C:\Develop\fpc\2.5.1\bin\i386-Win32\fpc.cfg
Free Pascal Compiler version 2.5.1 [2010/02/23] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling fuel.lpr
PPU Loading C:\Develop\Lazarus\lcl\units\i386-win32\qt\qtint.ppu
PPU Source: qtint.pp not found
PPU Source: qtdefines.inc not found
PPU Source: qtwinapih.inc not found
PPU Source: qtlclintfh.inc not found
PPU Source: qtobject.inc not found
PPU Source: qtwinapi.inc not found
PPU Source: qtlclintf.inc not found
Recompiling qtint, checksum changed for qt4
qtint.pp(11,35) Fatal: Can't find unit qtint used by interfaces

How to solve this?

Thanks!
Kjow




More information about the Lazarus mailing list