Image 01
profile-image

buchendor

buchendor buchendor
Hathi Download Helper

Browser 24 comments

Score 54%
54 Likes
46 Dislikes
Sep 06 2016
confirmed working

I built without pains this qt application using qt 4.7.3 (I made a static compilation since I built qt statically) 31 MB unstripped, 25 MB stripped

strip --strip-unneeded

and about 9 MB compressed with upx

- May 27 2013
failed to build in linux using QT 4.7.3. This is the log

# qmake
Project MESSAGE: Warning: unknown QT: webkitwidgets
RCC: Error in 'images.qrc': Cannot find file 'images/elephant.png'
RCC: Error in 'images.qrc': Cannot find file 'images/elephant_leeching.gif'
RCC: Error in 'images.qrc': Cannot find file 'images/elephant_leeching.png'
RCC: Error in 'images.qrc': Cannot find file 'images/elephant_reading.gif'
RCC: Error in 'images.qrc': Cannot find file 'images/elephant.ico'

I managed to fix this moving all images into proper directory and re-started

-----------------------------------------------------------
# qmake
Project MESSAGE: Warning: unknown QT: webkitwidgets

--------------------------------------------------
# make
/usr/bin/uic hathidownloadhelper.ui -o ui_hathidownloadhelper.h
/usr/bin/uic proxydialog.ui -o ui_proxydialog.h
/usr/bin/uic fileselectdialog.ui -o ui_fileselectdialog.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -I. -I. -o main.o main.cpp
main.cpp:2:21: error: QtWidgets: No such file or directory
In file included from hathidownloadhelper.h:6,
from main.cpp:5:
fileselectdialog.h:5:23: error: QStringlist: No such file or directory
In file included from hathidownloadhelper.h:6,
from main.cpp:5:
fileselectdialog.h:18: error: extra qualification ‘fileselectdialog::’ on member ‘getFileList’
In file included from main.cpp:5:
hathidownloadhelper.h:52: error: ‘QTextDocument’ has not been declared
main.cpp: In function ‘int main(int, char**)’:
main.cpp:10: error: variable ‘QApplication a’ has initializer but incomplete type
main.cpp:14: error: ‘QStyleFactory’ has not been declared
make: *** [main.o] Error 1 - May 18 2013