Results 1 to 2 of 2

Thread: Trying to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension

  1. #1
    Join Date
    Nov 2011
    Location
    India
    Posts
    22
    Thanks
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Trying to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension

    I want to encrypt my SQLite-DB, I searched in google and found this link
    Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension
    but when following the steps I found a problem in step-6 section 'Compile the QSQLCIPHER-driver-plugin for Qt'
    executing mingw32-make I got an error message.
    Qt Code:
    1. C:\Qt\Qt5.4.2\5.4\Src\qtbase\src\plugins\sqldrivers\sqlcipher>mingw32-make
    2.  
    3. mingw32-make -f Makefile.Release all
    4.  
    5. mingw32-make[1]: Entering directory 'C:/Qt/Qt5.4.2/5.4/Src/qtbase/src/plugins/sq
    6. ldrivers/sqlcipher'
    7.  
    8. mingw32-make[1]: *** No rule to make target '.moc/release/smain.moc', needed by
    9. '.obj/release/smain.o'. Stop.
    10.  
    11. mingw32-make[1]: Leaving directory 'C:/Qt/Qt5.4.2/5.4/Src/qtbase/src/plugins/sql
    12. drivers/sqlcipher'
    13.  
    14. makefile:38: recipe for target 'release-all' failed
    15.  
    16. mingw32-make: *** [release-all] Error 2
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Nov 2011
    Location
    India
    Posts
    22
    Thanks
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Trying to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension

    I got a clue when running qmake, it don't make the 'smain.moc' file in the dir .moc/release, so run
    Qt Code:
    1. qmke -d
    To copy to clipboard, switch view to plain text mode 
    option at the end of execution I got the message 'DEBUG 1: C:/Qt/Qt5.4.2/5.4/Src/qtbase/mkspecs/features/moc.prf:38: flow control
    statement 'return', aborting block'
    Last edited by breakthecode; 26th July 2015 at 10:55.

Similar Threads

  1. Problem using the SqlCipher Driver
    By doublebyte in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2016, 09:26
  2. Build driver plugin QIBASE Qt 5.0.2
    By insdo in forum Installation and Deployment
    Replies: 0
    Last Post: 25th April 2013, 19:43
  3. Encrypting an existing sqlite database in sqlcipher
    By thefatladysingsopera in forum Newbie
    Replies: 5
    Last Post: 21st October 2011, 19:47
  4. AES-256 encrypted SQLite databases with SQLCipher
    By Lykurg in forum Installation and Deployment
    Replies: 10
    Last Post: 29th July 2011, 04:22
  5. Replies: 4
    Last Post: 22nd July 2010, 16:46

Tags for this Thread

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.