breakthecode
25th July 2015, 02:30
I want to encrypt my SQLite-DB, I searched in google and found this link
Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension (http://stackoverflow.com/questions/29196087/step-by-step-guide-to-build-qt-sql-driver-plugin-for-sqlite-db-with-sqlcipher-ex)
but when following the steps I found a problem in step-6 section 'Compile the QSQLCIPHER-driver-plugin for Qt'
executing mingw32-make I got an error message.
C:\Qt\Qt5.4.2\5.4\Src\qtbase\src\plugins\sqldriver s\sqlcipher>mingw32-make
mingw32-make -f Makefile.Release all
mingw32-make[1]: Entering directory 'C:/Qt/Qt5.4.2/5.4/Src/qtbase/src/plugins/sq
ldrivers/sqlcipher'
mingw32-make[1]: *** No rule to make target '.moc/release/smain.moc', needed by
'.obj/release/smain.o'. Stop.
mingw32-make[1]: Leaving directory 'C:/Qt/Qt5.4.2/5.4/Src/qtbase/src/plugins/sql
drivers/sqlcipher'
makefile:38: recipe for target 'release-all' failed
mingw32-make: *** [release-all] Error 2
Step-by-step guide to build Qt-SQL-driver-plugin for SQLite-DB with SQLCipher-extension (http://stackoverflow.com/questions/29196087/step-by-step-guide-to-build-qt-sql-driver-plugin-for-sqlite-db-with-sqlcipher-ex)
but when following the steps I found a problem in step-6 section 'Compile the QSQLCIPHER-driver-plugin for Qt'
executing mingw32-make I got an error message.
C:\Qt\Qt5.4.2\5.4\Src\qtbase\src\plugins\sqldriver s\sqlcipher>mingw32-make
mingw32-make -f Makefile.Release all
mingw32-make[1]: Entering directory 'C:/Qt/Qt5.4.2/5.4/Src/qtbase/src/plugins/sq
ldrivers/sqlcipher'
mingw32-make[1]: *** No rule to make target '.moc/release/smain.moc', needed by
'.obj/release/smain.o'. Stop.
mingw32-make[1]: Leaving directory 'C:/Qt/Qt5.4.2/5.4/Src/qtbase/src/plugins/sql
drivers/sqlcipher'
makefile:38: recipe for target 'release-all' failed
mingw32-make: *** [release-all] Error 2