[Qt] Linking error with Lazarus Qt on Mac OS X 10.5

Stephane Carre scarre.lu at gmail.com
Fri Dec 19 08:22:44 CET 2008


Hi,
I hope this is the proper list for this, so please accept my apologies 
if I'm posting to the wrong place...

I have Lazarus (Carbon, latest snapshot) installed on Mac OS X 10.5, and 
managed to successfully recompile the LCL for Qt.
So far, so good.
Now, if I try to create an application (a simple form with a button on 
it) with Qt as the target, it compiles fine, but gives the following 
linking error:

Undefined symbols:
  "_QFileDialog_filters", referenced from:
      _QTWIDGETS_TQTFILEDIALOG_$__GETFILTERS$QSTRINGLISTH in qtwidgets.o
ld: symbol(s) not found
An error occurred while linking
Error: Error while linking

I checked the version of qt44.pas, it is v1.68. I'm not sure where I 
should find the conditional define USE_QT_44 that makes qt.pas point to 
qt44.pas, but since the LCL compiled just fine, I asssume it must be set 
correctly.

Can anyone suggest further actions?



More information about the Qt mailing list