Hi all,
I'm trying to compile calibre for my armv7 board with debian.
I'm stuck on this step :
Code:
####### Building headless QPA plugin #######
WARNING: /home/vision/calibre-2.31.0/build/headless/headless.pro:4: Unable to find file for inclusion qt_plugin
Project MESSAGE: Warning: unknown QT: core-private
Project MESSAGE: Warning: unknown QT: gui-private
Project MESSAGE: Warning: unknown QT: platformsupport-private
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/freetype2 -I. -o fontconfig_database.o ../../src/calibre/headless/fontconfig_database.cpp
In file included from ../../src/calibre/headless/fontconfig_database.cpp:34:0:
../../src/calibre/headless/fontconfig_database.h:9:39: fatal error: qpa/qplatformfontdatabase.h: File o directory non esistente
compilation terminated.
make: *** [fontconfig_database.o] Error 1
Error while executing: make -j4
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/home/vision/calibre-2.31.0/setup/__init__.py", line 181, in run_all
self.run_cmd(self, opts)
File "/home/vision/calibre-2.31.0/setup/__init__.py", line 175, in run_cmd
self.run_cmd(scmd, opts)
File "/home/vision/calibre-2.31.0/setup/__init__.py", line 178, in run_cmd
cmd.run(opts)
File "/home/vision/calibre-2.31.0/setup/extensions.py", line 430, in run
self.build_headless()
File "/home/vision/calibre-2.31.0/setup/extensions.py", line 566, in build_headless
self.check_call([make] + ['-j%d'%(cpu_count or 1)])
File "/home/vision/calibre-2.31.0/setup/extensions.py", line 502, in check_call
subprocess.check_call(*args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2
I also noticed at this point that it is still using QT4 instead of QT5.
Any one could help me to point it to Qt5 ?
Any one could help me in general ?
Thanks in advance