QT 4.1 in OSX I have a doubt
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
Re: QT 4.1 in OSX I have a doubt
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.
Re: QT 4.1 in OSX I have a doubt
Well: this is
qmake -project
qmake
make
Re: QT 4.1 in OSX I have a doubt
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?
Re: QT 4.1 in OSX I have a doubt
this is the output:
nina:~ askot$ which qmake
/usr/local/Trolltech/Qt-4.1.0/bin/qmake
thanks :)
Re: QT 4.1 in OSX I have a doubt
OK, I try to install Qt 4.1-mac-opensource myself.
Re: QT 4.1 in OSX I have a doubt
Re: QT 4.1 in OSX I have a doubt
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/t...entry&id=80530
Re: QT 4.1 in OSX I have a doubt
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
Re: QT 4.1 in OSX I have a doubt
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.