Results 1 to 10 of 10

Thread: QT 4.1 in OSX I have a doubt

  1. #1
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default 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
    Last edited by askot; 19th February 2006 at 06:42. Reason: I think that a ? mark make more comprensible muy question

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default 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.
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QT 4.1 in OSX I have a doubt

    Well: this is


    qmake -project
    qmake
    make

  4. #4
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default 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?
    It's nice to be important but it's more important to be nice.

  5. #5
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default 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

  6. #6
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: QT 4.1 in OSX I have a doubt

    OK, I try to install Qt 4.1-mac-opensource myself.
    It's nice to be important but it's more important to be nice.

  7. #7
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: QT 4.1 in OSX I have a doubt

    Ok.

    Thanks for the help.

  8. #8
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default 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
    Last edited by axeljaeger; 23rd February 2006 at 15:39.
    It's nice to be important but it's more important to be nice.

  9. #9
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default 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

  10. #10
    Join Date
    Feb 2006
    Posts
    9
    Qt products
    Qt4
    Platforms
    MacOS X

    Default 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.

Similar Threads

  1. qmake and including files doubt
    By clinisbut in forum Newbie
    Replies: 3
    Last Post: 16th August 2008, 15:40
  2. Doubt in Ui file
    By phillip_Qt in forum Qt Programming
    Replies: 5
    Last Post: 12th March 2008, 11:26
  3. Replies: 2
    Last Post: 10th January 2008, 12:52
  4. Doubt about includes
    By xEsk in forum Newbie
    Replies: 2
    Last Post: 15th November 2007, 20:20
  5. Doubt ?
    By Cutey in forum Qt Tools
    Replies: 2
    Last Post: 3rd March 2007, 09:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.