Results 1 to 7 of 7

Thread: Building QSQLITE driver with AES-256

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Building QSQLITE driver with AES-256

    Hm, the mentioned flags are set in the wiki description. Only I didn't use --enable-tempstore=yes, but I doubt this affect the building of sqlite. As a closer look on the posted error log, it seems that also SQLITE_HAS_CODEC wasn't set. Are you sure you have altered the pro file? But anyway I try it on my sandbox...

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Building QSQLITE driver with AES-256

    The SQLITE_HAS_CODEC define is present in the PRO file in the wiki but that is used for compiling the Qt half of the driver which is linked to the already built SQLCipher library. The problem here is building the SQLCipher library, which is not Qt related.

    The options are not present in the section titled Building SQLCipher. On my Gentoo machine it would not compile and link without:
    Qt Code:
    1. ./configure --prefix=/usr/local CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. QSQlite driver
    By praveen_g in forum Newbie
    Replies: 6
    Last Post: 18th November 2009, 08:58
  2. QSQLITE driver is driving me nuts!
    By topquarck in forum Qt Programming
    Replies: 3
    Last Post: 30th May 2009, 09:29
  3. QSQLITE driver issue
    By b1 in forum Qt Programming
    Replies: 6
    Last Post: 17th May 2009, 09:18
  4. Replies: 1
    Last Post: 7th July 2008, 20:13
  5. Building new SQL driver
    By Pragya in forum Installation and Deployment
    Replies: 1
    Last Post: 27th June 2007, 08:46

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.