Using private Qt API breaks compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The commit "Fix text rendering by using private Qt APIs" introduces a build dependency on private Qt headers (especially: private/
The issue results in this:
####### Building extension qt_hack #######
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/
mkspecs/linux-g++ -I. -I/usr/
re/ebooks/
t_hack.cpp
../../.
directory
compilation terminated.
make: *** [qt_hack.o] Error 1
Error while executing: make -f Makefile
Please find a better solution that does not involve using private APIs.
There is no better solution. Complain to Qt, or install the private Qt
headers, on my linux distro (Gentoo) they are installed by default.
status wontfix