Results 1 to 4 of 4

Thread: Mac OSX install Tiger intel&ppc qmake

  1. #1
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Mac OSX install Tiger intel&ppc qmake

    The first install of qt on mac i have build .... ./configure -static

    now i have chois other way to enable a user intel mac...
    I have install on my mini mac (only ppc) have a look of code

    on compile process jpg say make to plug-in ... how to add plug-in to a ready app.app
    open the application folder and put in ??? or a static link method?

    compile so
    Qt Code:
    1. $./configure -prefix /Developer/qt -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk \
    2. $-qt-zlib -qt-gif -qt-libpng -qt-libjpeg -platform macx-g++
    3.  
    4.  
    5. $ cd qmake
    6. $ curl -O http://www.miko.org/~tatyana/tech/OSX/qt410-qmake.diff
    7. $ patch < qt410-qmake.diff
    8. $ ../bin/qmake qmake.pro -spec ../mkspecs/macx.g++ -macx
    9. $ make
    10. $ cd ..
    11. $ sudo make install_qmake
    12.  
    13. $ cd /Developer/qt
    14. $ make
    15. $ sudo make install
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Apr 2006
    Posts
    20
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Mac OSX install Tiger intel&ppc qmake

    I'm not sure I understood your problem, anyway have a look at the "deploying apps on OS X" page on doc.trolltech.com
    It explains how to include qt libs, shared or static into the app and how to do universal binaries

  3. #3
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Mac OSX install Tiger intel&ppc qmake

    Quote Originally Posted by madcat
    I'm not sure I understood your problem, anyway have a look at the "deploying apps on OS X" page on doc.trolltech.com
    It explains how to include qt libs, shared or static into the app and how to do universal binaries
    http://doc.trolltech.com/4.1/deploym...static-linking say

    If you want to keep things simple by only having a few files to deploy, then you must build everything statically.

    I install xcode 2.3 and all sdk panther tiger and older aund universal build tool but qt not build universal.... on static builds....

    and http://doc.trolltech.com/4.1/deploym...static-linking say...

    mkdir plugandpaint.app/Contents/Frameworks
    cp -R /path/to/Qt/lib/QtCore.framework
    plugandpaint.app/Contents/Frameworks
    cp -R /path/to/Qt/lib/QtGui.framework
    plugandpaint.app/Contents/Frameworks


    put over 300MB on application? is this a new Rock and Roll?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Mac OSX install Tiger intel&ppc qmake

    Quote Originally Posted by patrik08
    http://doc.trolltech.com/4.1/deploym...static-linking say...
    [...] put over 300MB on application? is this a new Rock and Roll?
    It also says:
    make clean
    qmake -config release
    make

Similar Threads

  1. Mac OSX install qt4.1.3 Tiger
    By patrik08 in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd June 2006, 01:26
  2. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11
  3. make install equivalent in qmake ...
    By momesana in forum Newbie
    Replies: 3
    Last Post: 20th February 2006, 21:46
  4. 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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.