Solved sqlcipher installation for qt using Ubuntu 14.04
-
I follow the steps to install the sqlcipher for qt on Ubuntu 14.04,
http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html
but I got error at the time of compilation (Step 6, qmake or make).
It gives following error when i gives a command $qmake.
WARNING: /home/pramod/Qt5.5.1/5.5/Src/qtbase/src/plugins/sqldrivers/qsqldriverbase.pri:4: Unable to find file for inclusion qt_plugin
Project MESSAGE: Warning: unknown QT: core-private
Project MESSAGE: Warning: unknown QT: sql-private& $make
make: *** No rule to make target
smain.moc', needed by
smain.o'. Stop.Any help will be appreciated.
Thanks & Regards,
Pramod Jadhav. -
Custom SQL Driver: The Non-Plugin Way
qtsimplify.blogspot.com/2013/04/custom-sql-driver-non-plugin-way.htmlIt's very simple to use
-
Thanks for giving me reply.
I am using QT5.5 with Ubuntu 14.04
I have not a Qt version in "static" mode. Is their another way to run the given program?
When I follow the given steps to compile the program then it gives me the following error.
/home/pramod/Qt5.5.1/5.5/gcc_64/include/QtSql/qsqldatabase.h:61: error: undefined reference to `QSQLiteCipherDriver::QSQLiteCipherDriver(QObject*)'
-
Problem is solved
-
I follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,
http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html
but I got error at the time of compilation.
It gives error when i gives a command $qmake.
Another One Link not working-->
Custom SQL Driver: The Non-Plugin Wayqtsimplify.blogspot.com/2013/04/custom-sql-driver-non-plugin-way.html
Anybody can help me to install sqlcipher in qt ubuntu 16.04LTS.
Thanking you -
@RaguSweety And what error do you get?
-
Hello pramod-jadhav ,
We follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,
http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html.-- In this link we don't know where to copy.
###################################################
File 3: sqlcipher.json
{
"Keys": [ "QSQLCIPHER" ]
}
2. Copy directory
\Qt5.3.1\5.3\Src\qtbase\src\sql\drivers\sqlite to -----? (Where to copy)
- Customize file
The content of the file shall be like:
####################################################
- Customize file
-
@jsulm
Hello jsulm,Hello pramod-jadhav ,
We follow the steps to install the sqlcipher for qt on Ubuntu 16.04LTS,
http://gssivasankari.blogspot.in/2015/11/building-qt-sqlcipher-driver-plugin.html.-- In this link we don't know where to copy.
###################################################
File 3: sqlcipher.json
{
"Keys": [ "QSQLCIPHER" ]
}
2. Copy directory\Qt5.3.1\5.3\Src\qtbase\src\sql\drivers\sqlite to -----? (Where to copy)
- Customize file
The content of the file shall be like:
####################################################
- Customize file