![]() path/to/qmake "WXSQLITE_LIB=-lwxcode_gtk2u_wxsqlite3-3.0" path/to/Plugins.pro To link dynamically with system-provided wxsqlite3 use qmake like this, when executing it for Plugins.pro: This will exclude sqlcipher.c from compilation and will link against system library. path/to/qmake "SQLCIPHER_LIB=-lsqlcipher" path/to/Plugins.pro To link dynamically with system-provided SQLCipher use qmake like this, when executing it for Plugins.pro: This is a common practive under unix systems to re-use shared libraries. It's possible to link DbSqliteCipher and DbSqliteWx plugins with appropriate SQLCipher and wxSQLite3 libraries provided by system. Preparing source code Source code layoutīy changing LIBDIR you are also changing a default path for PLUGINS_DIR defined at Compile-time directories definition, so the plugins dir will be a sqlitestudio subdirectory in LIBDIR, unless you overwrite PLUGINS_DIR by your custom path. Remember, that this is unstable code, being developed per daily basis.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |