* Building the eBook Tools
Posted on December 23rd, 2008 by John. Filed under programming.
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 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.
3 Responses to “Building the eBook Tools”
Leave a Reply
Tags
bash
batteries
bookeen
c++
calibre
cats
cover
cybook
device interfaces
ebook
electronics
epub
eReader
ezreader pocket pro
fb2
gadgets
GeR2
google
GUI
image
json
KDocker
kindle
Linux
markdown
mobi
N770
nook
palmdoc
pdb
pdf
pgm
pml
pmlz
pocket pro
pyqt
python
qt
rb
release
thumbnail
txt
x11
xlib
ztxt
Archives
- July 2010 (4)
- June 2010 (1)
- May 2010 (2)
- March 2010 (1)
- January 2010 (8)
- December 2009 (5)
- November 2009 (6)
- October 2009 (4)
- September 2009 (2)
- August 2009 (6)
- July 2009 (6)
- June 2009 (4)
- May 2009 (6)
- April 2009 (4)
- March 2009 (2)
- February 2009 (4)
- January 2009 (4)
- December 2008 (7)
- November 2008 (2)
September 10th, 2009 at 5:41 am
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.
September 10th, 2009 at 11:30 am
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.
September 10th, 2009 at 4:19 pm
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.