Results 1 to 3 of 3

Thread: Using NCReport with SQLCipher

  1. #1
    Join Date
    Feb 2011
    Posts
    64
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Using NCReport with SQLCipher

    Is it possible to use NCReport with SQLCipher? I am now getting a message from it saying file is encrypted or is not a database.

  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: Using NCReport with SQLCipher

    ... then set the key on the database.

  3. #3
    Join Date
    Feb 2011
    Posts
    64
    Thanks
    16
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Using NCReport with SQLCipher

    ... then set the key on the database.
    it is not about setting key, rather then it is how to pass the connection name from application to the report engine.
    In NCReport Designer, open your report, then go to Report menu, chose Data sources, you will find Connection ID in the middle, type your connection name, default connection name in qt is qt_sql_default_connection, in the second tab "Database connection", un-check Use private connection. Problem solved.

Similar Threads

  1. Replies: 2
    Last Post: 16th November 2011, 23:19
  2. Encrypting an existing sqlite database in sqlcipher
    By thefatladysingsopera in forum Newbie
    Replies: 5
    Last Post: 21st October 2011, 19:47
  3. AES-256 encrypted SQLite databases with SQLCipher
    By Lykurg in forum Installation and Deployment
    Replies: 10
    Last Post: 29th July 2011, 04:22
  4. Qt App and NCReport
    By Kclark in forum Qt Programming
    Replies: 1
    Last Post: 11th January 2011, 10:42
  5. Qt and NCReport
    By alphajoseph in forum Qt Programming
    Replies: 1
    Last Post: 20th February 2009, 11:29

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.