Download and Install qt3-mac version 3.3.8 on Mac OS X
Friday the 5th of September, 2008

    qt3-mac  most recent diff


      View the most recent changes for the qt3-mac port at: qt3-mac.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for qt3-mac.
      The raw portfile for qt3-mac 3.3.8 is located here:
      http://qt3-mac.darwinports.com/dports/aqua/qt3-mac/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/qt3-mac
      Google
      Web Darwinports.com



      # $Id: Portfile 30274 2007-10-23 08:51:14Z afb macports.org $

      PortSystem 1.0

      Name: qt3-mac
      Version: 3.3.8
      Category: aqua
      Maintainers: blair
      Description: Qt Tool Kit (Native Aqua Version)
      Long Description: This is Qt, TrollTech's C++ toolkit for writing cross-platform GUI applications.
      Homepage: http://www.trolltech.com/
      master_sites ftp://ftp.trolltech.com/qt/source/ http://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/ macports:blair
      distname qt-mac-free-${version}
      checksums md5 dc8013ea4e5b54849f1ed5eedf6b03a3 sha1 b4835adbf5afc15042ce25270e684df395fe897c rmd160 dd2bfc62488e2d0dd500df4899aeaf28738bd8b0
      Platform: darwin

      depends_lib port:zlib port:libpng port:libmng

      Variant: mysql4 {
      depends_lib-append port:mysql4
      configure.args-delete -no-sql-mysql
      configure.args-append -qt-sql-mysql -L${prefix}/lib/mysql -I${prefix}/include/mysql -plugin-sql-mysql
      }

      Variant: mysql5 {
      depends_lib-append port:mysql5
      configure.args-delete -no-sql-mysql
      configure.args-append -qt-sql-mysql -L${prefix}/lib/mysql5/mysql -I${prefix}/include/mysql5/mysql -plugin-sql-mysql
      }

      Variant: ipv6 {
      configure.args-delete -no-ipv6
      configure.args-append -ipv6
      }

      configure.cmd "echo yes | ./configure"
      configure.env QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH=''
      configure.args -v -prefix '${prefix}' -docdir '${prefix}/share/doc/${name}/html' -datadir '${prefix}/share/qt3' -headerdir '${prefix}/include/qt3' -plugindir '${prefix}/lib/qt3-plugins' -release -shared -fast -thread -stl -qt-gif -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-nis -no-cups -no-ipv6 -largefile -system-zlib -system-libpng -system-libjpeg -system-libmng '-I${prefix}/include' '-L${prefix}/lib'

      build.env QMAKESPEC='' QTDIR='' DYLD_LIBRARY_PATH="${worksrcpath}/lib"
      build.target symlinks src-qmake src-moc sub-src sub-tools

      destroot.destdir INSTALL_ROOT='${destroot}'
      post-destroot {
      system "ranlib -s ${destroot}${prefix}/lib/libdesignercore.a"
      system "ranlib -s ${destroot}${prefix}/lib/libeditor.a"
      system "ranlib -s ${destroot}${prefix}/lib/libqassistantclient.a"
      }

      platform darwin {
      patchfiles patch-src-qt_install.pri patch-mkspecs-qmake.conf
      post-destroot {
      system "sh ${filespath}/fix_install_names.sh '${prefix}' '${destroot}'"
      set appPath ${destroot}/Applications/MacPorts/Qt3
      xinstall -d -m 0755 ${appPath}
      foreach app {assistant designer linguist qtconfig} {
      system "mv -v ${destroot}${prefix}/bin/${app}.app ${appPath}/${app}.app"
      }
      if {![file exists ${destroot}${prefix}/lib/libqt.dylib]} {
      set majorver [strsed ${version} {s/\.[0-9]*\.[0-9]*$//}]
      set minorver [strsed ${version} {s/\.[0-9]*$//}]
      system "ln -s libqt-mt.${version}.dylib ${destroot}${prefix}/lib/libqt.dylib"
      system "ln -s libqt-mt.${version}.dylib ${destroot}${prefix}/lib/libqt.${majorver}.dylib"
      system "ln -s libqt-mt.${version}.dylib ${destroot}${prefix}/lib/libqt.${minorver}.dylib"
      }
      }
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/qt3-mac
      % sudo port install qt3-mac
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching qt3-mac
      ---> Verifying checksum for qt3-mac
      ---> Extracting qt3-mac
      ---> Configuring qt3-mac
      ---> Building qt3-mac with target all
      ---> Staging qt3-mac into destroot
      ---> Installing qt3-mac
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using qt3-mac with these commands:
      %  man qt3-mac
      % apropos qt3-mac
      % which qt3-mac
      % locate qt3-mac

     Where to find more information:

    Darwin Ports



    image test