Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2008-09

Qt4intf framework problem

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

I am having a problem with the Qt4Intf precompiled framework. It seams to want Qt4 to be located at
/usr/lib/QtCore.framework/Versions/4/QtCore but the standard Qt4 installer puts it into /Library/Frameworks/ and the linker complains:

/usr/bin/ld: warning can't open dynamic library:
/usr/lib/QtCore.framework/Versions/4/QtCore referenced from: /Library/Frameworks/Qt4Intf.framework/Qt4Intf (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: warning can't open dynamic library:
/usr/lib/QtGui.framework/Versions/4/QtGui referenced from: /Library/Frameworks/Qt4Intf.framework/Qt4Intf (checking for undefined symbols may be affected) (No such file or directory, errno = 2)

Sure, I could just move it, but I was thinking about distributing this with the magnifier, and I can't expect the users to move Qt manually ...

Any ideas how to solve this? Only by rebuilding the framework, or is there any magic command to tell ld where the framework is?

thanks,

Felipe Monteiro de Carvalho

Reply by email

zeljko
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 18 lines
Hello, I am having a problem with the Qt4Intf precompiled framework. It seams to want Qt4 to be located at /usr/lib/QtCore.framework/Versions/4/QtCore but the standard Qt4 installer puts it into /Library/Frameworks/ and the linker complains: /usr/bin/ld: warning can't open dynamic library: /usr/lib/QtCore.framework/Versions/4/QtCore referenced from: /Library/Frameworks/Qt4Intf.framework/Qt4Intf (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/bin/ld: warning can't open dynamic library: /usr/lib/QtGui.framework/Versions/4/QtGui referenced from: /Library/Frameworks/Qt4Intf.framework/Qt4Intf (checking for undefined symbols may be affected) (No such file or directory, errno = 2) Sure, I could just move it, but I was thinking about distributing this with the magnifier, and I can't expect the users to move Qt manually
... Any ideas how to solve this? Only by rebuilding the framework, or is there any magic command to tell ld where the framework is?

seem that it's problem of precompiled framework, I'm building framework on my own (using Den's script), and it's setted up
into /Library/Frameworks/Qt4Intf.framework/Qt4Intf. Maybe Den can help ...

zeljko

Reply by email

Den Jean
to zeljko
zeljko wrote
> /usr/lib/QtCore.framework/Versions/4/QtCore but the standard Qt4

can you doublecheck for that ?
if I grep for that string I do not find anything ?

grep -ir /usr/lib .

... nothing ...

Reply by email

Felipe Monteiro de Carvalho
to Den Jean
Den Jean wrote
On Wednesday 03 September 2008 08:06:10 zeljko wrote: > > /usr/lib/QtCore.framework/Versions/4/QtCore but the standard Qt4 can you doublecheck for that ?

I am sure that it is expecting Qt4 in that location because the linker will fail and say that in the error message.

Felipe Monteiro de Carvalho

Reply by email