Building the eBook Tools

It’s come to my attention that while I’ve posted a few eBook formating 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 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).

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.

3 thoughts on “Building the eBook Tools

  1. Thanks for this. The tools still won’t build. I’ve got the dependencies but your includes weren’t escaped so didn’t make it onto the code listings.

    I’ve managed to work out what the missing includes are, but I still can’t build. I have a new Qt 4.5 install on Mac OS X and I already had a working xcode & dev tools install.

    I’ll work it out, but you need to amend your listings.

    1. Thanks for letting me know about the includes. I had changed the code syntax highlighting plugin I was using and those posts needed updating to use it. It’s fix now.

  2. So I’ve fixed the includes and I now have a sufficient grasp of the specifics of Qt on Mac OS X, to be able to get the tools to build properly.

Comments are closed.