Skip to content

qsqlcipher uses sqlite instead of sqlcipher #9

@tux-mind

Description

@tux-mind

first of all: thanks for aswering me on the PR and spending your time for this software 😊

I followed your instruction and made the following steps:

tests will fail.

whe I run ldd against libqsqlcipher.so i see that it has been linked with sqlite, not sqlcipher.

compiling it in verbose mode I saw that the linker it's executed with -lsqlite.
running again the linker with -lsqlcipher will solve the problem and make tests to pass.

I hope that this will help you 😊

CMake output:

-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.9.3
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'sqlcipher'
--   found sqlcipher, version 2.2.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nino/Documenti/qt5-sqlcipher/build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions