Hi, guys.
Maybe some of you are using Qt. Just wanted to share my experience in installing Qt 4.5.0tp1. I'm doing this, because it took me some time to install. I came across some troubles which i have never faced up before.
1. Qt 4.5.0tp1 fails to compile with g++ version 4. So I had to use freebsd-g++34 as my QMAKESPEC.
2. Newly generated Makefiles have this row in it "export MACOSX_DEPLOYMENT_TARGET = 10.3". Regular make fails because of it. There are about 300 Makefiles which had to be fixed. So I wrote a small script (it is not perfect or the best, at least it works)
for i in `find . -name Makefile | xargs grep -l "export M"`
do
sed 's/^export/#export/g' $i > $i.bak
cp $i.bak $i
done
Only after these steps everything went fine.
Hope this saves your time.
Maybe some of you are using Qt. Just wanted to share my experience in installing Qt 4.5.0tp1. I'm doing this, because it took me some time to install. I came across some troubles which i have never faced up before.
1. Qt 4.5.0tp1 fails to compile with g++ version 4. So I had to use freebsd-g++34 as my QMAKESPEC.
2. Newly generated Makefiles have this row in it "export MACOSX_DEPLOYMENT_TARGET = 10.3". Regular make fails because of it. There are about 300 Makefiles which had to be fixed. So I wrote a small script (it is not perfect or the best, at least it works)
for i in `find . -name Makefile | xargs grep -l "export M"`
do
sed 's/^export/#export/g' $i > $i.bak
cp $i.bak $i
done
Only after these steps everything went fine.
Hope this saves your time.