[Lazarus] Building Lazarus with QT (was:Git mirror)

zeljko zeljko at holobit.net
Mon Jun 29 16:45:10 CEST 2009


On Monday 29 June 2009 15:25, Giuseppe Luigi Punzi wrote:

> function `SETSELECTEDFILTER':
> /home/glpunzi/git/lazarus/lcl/interfaces/qt//qtwidgets.pas:9668:
> undefined reference to `QFileDialog_selectFilter'
> /home/glpunzi/git/lazarus/lcl/units/x86_64-linux/qt/qtwidgets.o: In
> function `GETFILTERS':
> /home/glpunzi/git/lazarus/lcl/interfaces/qt//qtwidgets.pas:9713:
> undefined reference to `QFileDialog_filters'
> lazarus.pp(125,1) Error: Error while linking
> lazarus.pp(125,1) Fatal: There were 1 errors compiling module, stopping
> TMessagesView.CollectLineParts WARNING: 18<>12 SrcLine=lazarus.pp(125,1)
> Fatal: There were 1 errors compiling module, stopping

you must add define because you are compiling qt45. -dUSE_QT_45 is missing, 
that's why linker screams.

zeljko




More information about the Lazarus mailing list