PDA

View Full Version : QT 4.1 in OSX I have a doubt



askot
19th February 2006, 06:40
Hello there I have this problem

there are some ld.config or something to out some lines.?

Because there are some libs path that are missing in my computer. I erase the qt-mac-opensource-desktop-4.1.0 that is the folder i downloaded to compile qt. then when i did the make install. I erase this folder.

I followed the steps to compile qt in:/Users/askot/Desktop

tar -zxvf qt-mac-opensource-desktop-4.1.0.tar.gz
cd qt-mac-opensource-desktop-4.1.0
./configure
make
sudo make install


and then y put in .profile

PATH=/usr/local/Trolltech/Qt-4.1.0/bin:$PATH
export PATH

is when I compile a project with make appear two warnings:
So the question is how i tke off this paths.

/usr/bin/ld: warning -L: directory name (/Users/askot/Desktop/qt-mac-opensource-src-4.1.0/lib) does not exist


/usr/bin/ld: warning -F: directory name (/Users/askot/Desktop/qt-mac-opensource-src-4.1.0/lib) does not exist

axeljaeger
19th February 2006, 10:42
I use Qt commercial on mac and don't have these problems.

However, you are at least the second one having this kind of problem here in the board.

How do you generate the makefile for your project.

askot
22nd February 2006, 00:22
Well: this is


qmake -project
qmake
make

axeljaeger
22nd February 2006, 08:17
What is the qmake-binary? What does "which qmake" say? What happens when you pass the full path of qmake (the right one in /usr/local/Trolltech/whatever) instead of just qmake?

askot
22nd February 2006, 11:23
this is the output:

nina:~ askot$ which qmake
/usr/local/Trolltech/Qt-4.1.0/bin/qmake

thanks :)

axeljaeger
22nd February 2006, 13:18
OK, I try to install Qt 4.1-mac-opensource myself.

askot
22nd February 2006, 23:21
Ok.

Thanks for the help.

axeljaeger
23rd February 2006, 12:55
I can't reproduce the problem here. I unpacked Qt 4.1, did ./configure --qt-png because I have problems with system libpng, make, sudo make install, removed the sourcetree and did a /usr/local/Trolltech/Qt-4.1/bin/qmake && make with a testproject. No warnings appeared.

Edit: I found this in the Trolltech Task tracker:

http://www.trolltech.com/developer/tasktracker.html?method=entry&id=80530

askot
25th February 2006, 05:58
thanks

to reproduce these warnings you need to remove the build folder

thanks i saw the report in task tracker.
I thinks this es the problem
i install the qt 4.1.1
and i will see if there are the same probleme

askot
25th February 2006, 06:14
well this time with 4.1.1

I did this,

cd /usr
mkdir src
cd src
tar -zxvf qt-mac-opensource-src-4.1.1.tar.gz
cd qt-mac-opensource-src-4.1.1
./configure -release -fast and other options
make
make install

if i change the name of /usr/src/qt-mac-opensource-src-4.1.1
for /usr/src/qt-mac-opensource-4.1.1 for example

these warnings appear: /usr/bin/ld: warning -L: directory name (/usr/src/qt-mac-opensource-src-4.1.1/lib) does not exist

/usr/bin/ld: warning -F: directory name (/usr/src/qt-mac-opensource-src-4.1.1/lib) does not exist

so i leave the name and the folder in these place. I thinks this will be a temporal solution.