Reputation: 11248
For building this sample on Windows, the .pro file saying harfbuzz, freetype2 is needed. I know these are available on qtbase on third_party but seems are not exposed for Qt projects. So how I should use or install these dependencies on Windows or use them from qtbase third party if is possible?
Upvotes: 1
Views: 2237
Reputation: 29
you can writer the code in *.pro to use freetype on Linux
LIBS += -lfreetype
INCLUDEPATH += /usr/include/freetype2
Upvotes: 1
Reputation: 720
I do not work with pkgconfig
even do not know Qt has support it or not;
On my opinion the best way in yours case build Harfbuzz
and FreeType
separately from Qt
. And then include it in project as libraries.
Example how I make include Boost
library in *.pro:
BOOST_DIR = c:/Dev/boost_1_55_0
INCLUDEPATH += $$quote($${BOOST_DIR}/include)
LIBS += \
-L$${BOOST_DIR}/lib \
-lboost_filesystem-mgw48-mt-d-1_55.dll \
-lboost_system-mgw48-mt-d-1_55.dll
Upvotes: 2