When I've had 'undefined symbols' problems with Qt, it has been
because I was mixing gcc 3.3 and 4.0. The trolltech docs mention that
qt-3.3.5 added support for gcc 4, but all the other 3.x.x qt's
required compiling with gcc 3.x. I'm a bit fuzzy on this, but I think
the qt-3.3.5 cross platform version in fink still asks for gcc 3.3.
The qt libraries, if generated by gcc 3.3, are definitely
incompatible as links to/with gcc 4 compiled code.
Try switching your compiler to gcc 3.3 to see if the symbols problems
go away.
Dave
On Dec 11, 2005, at 1:32 PM, [EMAIL PROTECTED] wrote:
I am trying to spin up on Qt.
I am on a G4 PowerBook running Tiger (10.4.3)
I loaded the Qt-Mac Fink packages:
i qt3mac 3.3.5-3 Aqua version of QT3 library and
tools
i qt3mac-apps 3.3.5-3 Aqua version of QT3 library and
tools
i qt3mac-doc 3.3.5-3 Aqua version of QT3 library and
tools
i qt3mac-mysql 3.3.5-1 Aqua version of QT3 (MySQL Plugin)
i qt3mac-shlibs 3.3.5-3 Aqua version of QT3 library and
tools
I set my my QMAKESPEC=macx-pbuilder
I am trying to build the first application from the Qt tutorial
(http://doc.trolltech.com/3.3/tutorial1-01.html)
I used qmake to create a fresh t1.pro and an XCode project file.
When I try to build it, I get this error:
Building target ‚ (1 error)
mkdir /Tutorial/t1/build/Release/t1.app/Contents/MacOS
cd /Tutorial/t1
/usr/bin/g++-4.0 -o /Tutorial/t1/build/Release/t1.app/Contents/
MacOS/t1 -L/Tutorial/t1/build/Release -L/sw/lib/qt3mac/lib -F/
Tutorial/t1/build/Release -filelist /Tutorial/t1/build/t1.build/
Release/t1.build/Objects-normal/ppc/t1.LinkFileList -lqt-mt.3.3.5 -
arch ppc -L/sw/lib/qt3mac/lib
/usr/bin/ld: Undefined symbols:
typeinfo for QPtrCollection
collect2: ld returned 1 exit status
/usr/bin/ld: Undefined symbols:
typeinfo for QPtrCollection
collect2: ld returned 1 exit status
Build failed for target "t1" (1 error)
WTF ?? There is no direct reference to QPtrCollection in this.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users
--
David Reiser
[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users