Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. SQLCipher driver
Forum Updated to NodeBB v4.3 + New Features

SQLCipher driver

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    Ucn_
    wrote on last edited by Ucn_
    #1

    Hello. I would like to use sqlcipher in place of sqlite because of the password protection. This is what I have done.
    1- I have downloaded sqlcipher sources and modified the file Makefile.msc to include OpenSSL include and lib path and changed some lines to include sqlcipher
    2-Compiled with msv2017 using this command nmake /f Makefile.msc
    It compiled and generated some of these files:
    libsqlite3.lib
    sqlite3.c
    sqlite3.dll
    sqlite3.exe
    sqlite3.h
    sqlite3.lib
    sqlite3.obj
    sqlite3.pdb

    There are many files in sqlcipher folder, so I am not sure what other files were generated. I would like to know:
    -How do I output the generated files to a specific file? I tried this:
    cd mkdir && nmake /f ../Makefile.msc but it won't find the file
    -For those who compiled before which files do I need?
    For using in Qt do I only need to include the libs to the path or build?
    And last does anyone has an example on using in Qt. Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      There's a plugin you can find on Github.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      U 1 Reply Last reply
      4
      • SGaistS SGaist

        Hi,

        There's a plugin you can find on Github.

        U Offline
        U Offline
        Ucn_
        wrote on last edited by
        #3

        @SGaist Thanks, but do I need to build it before using?

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Ucn_ said in SQLCipher driver:

          but do I need to build it before using?

          It's source code ... so I would guess yes.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          U 1 Reply Last reply
          1
          • Christian EhrlicherC Christian Ehrlicher

            @Ucn_ said in SQLCipher driver:

            but do I need to build it before using?

            It's source code ... so I would guess yes.

            U Offline
            U Offline
            Ucn_
            wrote on last edited by
            #5

            @Christian-Ehrlicher When trying to build it says "sqlcipher development package not found"

            1 Reply Last reply
            0
            • Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Ucn_ said in SQLCipher driver:

              When trying to build it says

              Did you actually read the instructions: "Also, if pkg-config is not available you should edit the qsqlcipher.pro and set the INCLUDEPATH and LIBS variables."

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              U 1 Reply Last reply
              1
              • Christian EhrlicherC Christian Ehrlicher

                @Ucn_ said in SQLCipher driver:

                When trying to build it says

                Did you actually read the instructions: "Also, if pkg-config is not available you should edit the qsqlcipher.pro and set the INCLUDEPATH and LIBS variables."

                U Offline
                U Offline
                Ucn_
                wrote on last edited by
                #7

                @Christian-Ehrlicher I read, but what does it mean by "The SQLCipher headers and libraries should be installed" The source does not have libs.

                1 Reply Last reply
                0
                • Christian EhrlicherC Online
                  Christian EhrlicherC Online
                  Christian Ehrlicher
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Ucn_ said in SQLCipher driver:

                  The source does not have libs.

                  ...

                  It compiled and generated some of these files

                  You said you already compiled the sqlcipher lib - so what's the problem?

                  Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                  Visit the Qt Academy at https://academy.qt.io/catalog

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved