how to use sqlcipher in QT6 on linux ?
-
wrote on 18 Jun 2024, 08:03 last edited by
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 ?
-
Hi,
You might want to check the sqlcipher-qt5 project. They have Qt 6 branches. That might be a starting point.
-
Hi,
You might want to check the sqlcipher-qt5 project. They have Qt 6 branches. That might be a starting point.
wrote on 19 Jun 2024, 00:36 last edited by@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
-
@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
wrote on 19 Jun 2024, 04:06 last edited byNeither 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. -
5/5