Results 1 to 3 of 3

Thread: config -system-sqlite on Mac OS X

  1. #1
    Join Date
    Feb 2007
    Posts
    27
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default config -system-sqlite on Mac OS X

    Anyone know what I need to install to make this work? On my X11 system at home, I'd use aptitude install libsqlite-dev (or libsqlite3-dev, I forget), but that's not an option on Mac OS X.

  2. #2
    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: config -system-sqlite on Mac OS X

    Quote Originally Posted by sdfisher View Post
    Anyone know what I need to install to make this work? On my X11 system at home, I'd use aptitude install libsqlite-dev (or libsqlite3-dev, I forget), but that's not an option on Mac OS X.

    Only put on your configure ... qt contain sqlite3

    this is my last config.status -static ...

    and run mysql odbc sqlite tiff ecc...

    http://wiki.qtcentre.org/index.php?t...t4_on_Mac_OS_X

    if you can build all universal ppc + intel

    [HTML]

    #!/bin/sh
    if [ "$#" -gt 0 ]; then
    CFLAGS='-arch ppc -arch i386 -g -Os -fno-omit-frame-pointer -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk' /Developer/qt/configure -qt-zlib -qt-libtiff -no-qt3support -qt-sql-mysql -qt-sql-odbc -qt-sql-sqlite -qt-gif -qt-libpng -qt-libjpeg -I /usr/local/mysql2arch/include/mysql -L /usr/local/mysql2arch/lib/mysql -lmysqlclient_r -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -static -release -confirm-license "$@"
    else
    CFLAGS='-arch ppc -arch i386 -g -Os -fno-omit-frame-pointer -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk' /Developer/qt/configure -qt-zlib -qt-libtiff -no-qt3support -qt-sql-mysql -qt-sql-odbc -qt-sql-sqlite -qt-gif -qt-libpng -qt-libjpeg -I /usr/local/mysql2arch/include/mysql -L /usr/local/mysql2arch/lib/mysql -lmysqlclient_r -universal -sdk /Developer/SDKs/MacOSX10.4u.sdk -static -release -confirm-license
    fi
    [/HTML]

  3. The following user says thank you to patrik08 for this useful post:

    sdfisher (27th July 2007)

  4. #3
    Join Date
    Feb 2007
    Posts
    27
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: config -system-sqlite on Mac OS X

    Thanks. It honestly never occurred to me to try Qt's sqlite. Has anyone tried swapping out 3.3.17 for 3.4.1?

Similar Threads

  1. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15

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.