Created attachment 364782 [details, diff] Patch that fixes the build issue #ifdef in sources/database.cpp is set differently then in database.h. Patch attached.
Hello Franz, thank you the patch fixing the inconsistency. I just committed this to revision 1391 of qpdfview's trunk, noting your help in the change log. (However, I moved the #ifdef in the header since I did not intend the method declaration to be defined conditionally.) Best regards, Adam.
I applied the patch myself. Hopefully the Qt will don't mind. Thanks for fixing it! + 14 Dec 2013; Markos Chandras <hwoarang@gentoo.org> + +files/qpdfview-0.4.7-fix-sqlite-build.patch, qpdfview-0.4.7.ebuild: + Add upstream patch to fix build with USE=-sqlite. Bug #493514. Patch by Franz + Fellner <alpine.art.de@googlemail.com> +