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. how to use sqlcipher in QT6 on linux ?
Forum Updated to NodeBB v4.3 + New Features

how to use sqlcipher in QT6 on linux ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 612 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.
  • C Offline
    C Offline
    carpenter 0
    wrote on 18 Jun 2024, 08:03 last edited by
    #1

    I am using arch linux and QT6.7,

    how can I use sqlcipher with qt?

    it seems that I need compile a sqlcipher driver plugin ? how difficult to do it ! just don't know where to start.

    anyone has the experience ?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Jun 2024, 20:48 last edited by
      #2

      Hi,

      You might want to check the sqlcipher-qt5 project. They have Qt 6 branches. That might be a starting point.

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

      C 1 Reply Last reply 19 Jun 2024, 00:36
      1
      • S SGaist
        18 Jun 2024, 20:48

        Hi,

        You might want to check the sqlcipher-qt5 project. They have Qt 6 branches. That might be a starting point.

        C Offline
        C Offline
        carpenter 0
        wrote on 19 Jun 2024, 00:36 last edited by
        #3

        @SGaist said in how to use sqlcipher in QT6 on linux ?:

        Hi,

        You might want to check the sqlcipher-qt5 project. They have Qt 6 branches. That might be a starting point.

        yes, I find a qt6 plugin https://github.com/manfredipist/qsqlcipher-qt6, but can't compile it, many errors occur, I am learning, life is not easy

        C 1 Reply Last reply 19 Jun 2024, 04:06
        0
        • C carpenter 0
          19 Jun 2024, 00:36

          @SGaist said in how to use sqlcipher in QT6 on linux ?:

          Hi,

          You might want to check the sqlcipher-qt5 project. They have Qt 6 branches. That might be a starting point.

          yes, I find a qt6 plugin https://github.com/manfredipist/qsqlcipher-qt6, but can't compile it, many errors occur, I am learning, life is not easy

          C Offline
          C Offline
          ChrisW67
          wrote on 19 Jun 2024, 04:06 last edited by
          #4

          Neither source code compiles for me:

          chrisw@newton:~/workspace/qsqlcipher-qt6/build$ make
          cd qsqlcipher/ && ( test -e Makefile || /home/chrisw/Qt/6.7.2/gcc_64/bin/qmake -o Makefile /home/chrisw/workspace/qsqlcipher-qt6/qsqlcipher/qsqlcipher.pro ) && make -f Makefile 
          /home/chrisw/workspace/qsqlcipher-qt6/qsqlcipher/.qmake.conf:1: Cannot find feature qt_build_config
          /home/chrisw/workspace/qsqlcipher-qt6/qsqlcipher/.qmake.conf:1: Cannot find feature qt_build_config
          Info: creating stash file /home/chrisw/workspace/qsqlcipher-qt6/build/qsqlcipher/.qmake.stash
          Project ERROR: Could not find feature posix_fallocate.
          

          Indeed, the qt_build_config.prf file is absent in my 6.7.0 and 6.7.2 installs. This may be deliberate:
          Porting Qt Plugins and Additional Libraries
          Neither set of sources includes CMake equivalents of the qmake method. At this point I do not have a handy CMake solution.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on 23 Jun 2024, 08:52 last edited by
            #5

            See https://github.com/chehrlic/qsqlcipher-qt6

            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

            1/5

            18 Jun 2024, 08:03

            • Login

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