Results 1 to 7 of 7

Thread: How to install QT on MAC

  1. #1
    Join Date
    Feb 2008
    Location
    Russia, Moscow
    Posts
    35
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Red face Help me! Qt and Mac/Win.

    Hi! I'm Alex and i'm student of MAI...
    This is one of Russian university.
    Now i need to learn QT development, but i can not make projects with QT on my MAC.. =(
    What i need 2 do?
    In QT on Linux i have no problems, but MAC and Win... =(
    Help me please!

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Help me! Qt and Mac/Win.

    What errors do you get?
    Or you don't know from where to download Qt for Mac and Win.
    They both (the open source versions) use GCC.

  3. #3
    Join Date
    Feb 2008
    Location
    Russia, Moscow
    Posts
    35
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How to install QT on MAC

    Subj.
    And how i can use it?
    Where lib's are?
    And where qmake?
    And with witch programm i can edit my projects?

  4. #4
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to install QT on MAC

    Here: http://doc.trolltech.com/4.3/install-mac.html they say that it should be in /usr/local/Trolltech/Qt-4.3.3.
    qmake should be in bin and the libs either in /usr/lib or in the install directory.

    As IDE you'll have to resort to one of the open source ide's. such as QDevelop or HaiQ, because XCode is hard to configure and there's no Qt Eclipse Integration on Mac.

  5. #5
    Join Date
    Feb 2008
    Location
    Russia, Moscow
    Posts
    35
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to install QT on MAC

    hm. marcel, thx!
    But can i use Eclipse (with CDT module) or CodeBlocks for this job?
    Did u know?

  6. #6
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to install QT on MAC

    You can use Eclipse on Mac, but you will manually have to configure every project because there is no integration available. As for CodeBlocks, if they say it works on Mac, then it must be.

  7. #7
    Join Date
    Feb 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question How to install QT on MAC with OS different SDKs?

    Hello,

    I have a problem to compile Qt 4.3.x with the MacOSX10.4u.sdk on Mac OS 10.5. Using the MacOSX10.5.sdk on Mac OS 10.5 the compilation works, but I want my project compatible to Mac OS 10.4, too.
    I've got these errors during the compilation:
    Qt Code:
    1. -L/Developer/qt-mac-opensource-src-4.3.2/lib -lQtXml -L/Developer/
    2. qt-mac-opensource-src-4.3.2/lib -lQtGui -framework Carbon -framework
    3. AppKit -lQtNetwork -lQtCore -lz -lm -framework ApplicationServices ld:
    4. library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status ld:
    5. library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status lipo:
    6. can't open input file: /var/folders/vp/vpDCQvioGDyEjr-LLcJEDE+++TI/-Tmp-//
    7. ccwWBJJW.out (No such file or directory) make[2]: *** [../../bin/
    8. assistant.app/Contents/MacOS/assistant] Error 1 make[1]: *** [sub-
    9. assistant-make_default-ordered] Error 2 make: *** [sub-tools-
    10. make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 
    My config is:
    /configure -prefix /Developer/qt432 -qt-zlib -qt-libpng -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -static -release && make

    best regards,
    M

Similar Threads

  1. How to install Qt/Qtopia on embeded linux?
    By atil in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 13th December 2007, 22:03
  2. Replies: 4
    Last Post: 17th May 2007, 15:24
  3. Help to install Qt in Windows Xp
    By joseph in forum General Discussion
    Replies: 2
    Last Post: 15th November 2006, 09:40
  4. Mac OSX install Tiger intel&ppc qmake
    By patrik08 in forum Installation and Deployment
    Replies: 3
    Last Post: 6th July 2006, 18:54
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

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
  •  
Qt is a trademark of The Qt Company.