PDA

View Full Version : Problems running on a Mac



spud
20th May 2007, 16:37
Hi guys,
I've got a project running under windows and now I've tried compiling it for the mac, but I'm afraid I lack the experience.

I have Mac OS X 10.4.9 Intel Core 2 Duo and I have installed
qt-mac-opensource-4.2.3.dmg
qt-mac-opensource-4.2.3-debug-libs.dmg
and XCode 2.4.1 with i686-apple-darwin8-g++-4.0.1 (GCC) 4.0.1

I can compile and run the Qt Examples just fine, but after I compiled my own code and try to run it I get:

dyld: Library not loaded: /var/tmp//ccqpih9m.out
Referenced from: /Users/user/path/to/app/Appname/app/Contents/MacOS/Appname
Reason: image not found
Trace/BPT trap

It doesn't matter if I build with XCode or with


qmake -spec macx-g++
make

I would appreciate any pointers. Could it be a PowerPC/intel problem, or should I try to rebuild Qt from source?

patrik08
20th May 2007, 16:54
Hi guys,
qt-mac-opensource-4.2.3-debug-libs.dmg
ate any pointers. Could it be a PowerPC/intel problem, or should I try to rebuild Qt from source?

I have bad experience on qt-mac-opensource-4.2.3-debug-libs.dmg bundle DMG..

Many libs not found...

Install from source is better and clean ...



http://www.qtforum.de/forum/viewtopic.php?t=4123
http://wiki.qtcentre.org/index.php?title=Installing_Qt4_on_Mac_OS_X

any lib source extra http://www.macports.org/ installer && build make a good job...

spud
20th May 2007, 17:33
Danke!
Excellent pointers. It will probably take me a while to try it out, but now i have a starting point.