Le Sat, Apr 16, 2022 at 08:44:58AM +0000, Yifei Zhan a écrit :
> Here is an update to bring ghostwriter to the latest version, tested
> on amd64 and arm64. I have to comment out a few lines regarding to a
> 3rd party dep (font awesome for qt) in pre-build stage to make it
> compile properly. fonts from fontawesome are fine after this change.
looking at the generated Makefile in build-amd64/Makefile, the matching lines
are
build/release/qrc_QtAwesomeFree.cpp:
../3rdparty/QtAwesome/QtAwesomeFree.qrc \
/usr/local/lib/qt5/bin/rcc \
../3rdparty/QtAwesome/fonts/Font\ Awesome\ 5 Brands-Regular-400.otf \
../3rdparty/QtAwesome/fonts/Font\ Awesome\ 5 Free-Regular-400.otf \
../3rdparty/QtAwesome/fonts/Font\ Awesome\ 5 Free-Solid-900.otf
/usr/local/lib/qt5/bin/rcc -name QtAwesomeFree
./3rdparty/QtAwesome/QtAwesomeFree.qrc -o build/release/qrc_QtAwesomeFree.cpp
which fail with
make: don't know how to make ../3rdparty/QtAwesome/fonts/Font\ (prerequisite
of: build/release/qrc_QtAwesomeFree.cpp)
i dont think our make handles that (or maybe with some quoting in the
Makefile generator?), but USE_GMAKE=Yes seems to help instead of
patching a generated Makefile.