Life has been pretty hectic lately. But I am finally getting around to porting lfhex to Qt 4.0. This is my second 3.x to 4.x port and I have to say that it is a real pain. This one is made more difficult because I am also porting the build system to use qmake. It should be easy, but the source includes Flex/Bison source which only seems remotely supported by qmake.
I expect to finish the port and testing within the week!
For most *nix systems, all that should be required is:
lfhex uses a standard "configure" script for build setup. The following commands should work for most *nix systems.
% ./configure --prefix=/path/to/bin/dir % make % make install
If the link stage fails complaining about a missing "-lqt", you might be using libqt-mt.so. If this is the case then you have to manually modify src/Makefile to select lib "qt-mt" as opposed to "qt" (look for the LIBRARIES variable).
lfhex supports basic X11 command line options supported through Qt's
QApplication class. Here are some options I find useful:
-fg
Set foreground color.
-bg
Set background color.
A full list of supported X11 options can be found in the Qt documentation
for the QApplication class.
The command line option "-c" is used to start lfhex in "compare" mode.