It’s come to my attention that while I’ve posted a few eBook formatting tools I
wrote and use I never posted how to build them. Since I’m using Qt the easiest
way to build them is to use qmake
and make
.
The build process is simple. Create a pro file for the project say
fix_end_ebook_txt
.pro. Run qmake then run make. You will end up with an
executable. Just remember that this requires Qt, make, and a C++ complier (g++
on *nix or mingw on Windows).
fix_end_ebook_txt.pro
SOURCES += fix_end_ebook_txt.cpp
CONFIG += qt
TARGET = fix_end_ebook_txt
The above pro is very minimal and can be further tuned for the specific project but at the very least it shows how to build the Qt eBook tools I’ve posted.