i am developing an application that is a kind of imageviewer. therefore i need to add the qt-imageformat-dylibs to the package, so that the app can also run on machines where qt is not installed. i already managed to add the qtgui and qtcore, but there are problems with the imageplugins. when adding those i get the following error:

Qt Code:
  1. dyld: Library not loaded: /var/tmp//cc5Mm1Kj.out
  2. Referenced from: /path/application.app/Contents/MacOS/application
  3. Reason: image not found
To copy to clipboard, switch view to plain text mode 

i checked this with otool and got the following output

Qt Code:
  1. otool -L libqjpeg.dylib
  2. libqjpeg.dylib:
  3. /var/tmp//ccaKTxtL.out (compatibility version 0.0.0, current version 0.0.0)
  4. /usr/local/Trolltech/Qt-4.2.3/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.2.0, current version 4.2.3)
  5. /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
  6. /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 9.0.0)
  7. /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 824.42.0)
  8. /usr/local/Trolltech/Qt-4.2.3/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.2.0, current version 4.2.3)
  9. /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
  10. /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3)
  11. /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
  12. /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applica
  13. tionServices (compatibility version 1.0.0, current version 22.0.0)
  14. /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
  15. /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
To copy to clipboard, switch view to plain text mode 

this line is quite strange:
/var/tmp//ccaKTxtL.out (compatibility version 0.0.0, current version 0.0.0)

why does it link to this strange file, that isn't even existing.

i googled for this problem, but havn't found a real solution. i read, that it might have to do with the fact, that i compiled QT as universal for ppc and i386

i hope, someone can help me.

best regards,
anchelito