DEPENDS+=+qt4-scripttools
endef
-TARGET_CFLAGS+="-I$(STAGING_DIR)/usr/include/freetype2"
+TARGET_CFLAGS+="-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include"
define Build/Configure
# demos/examples: which demos are going to be built depends on which features are going to to be compiled into qt
endef
define Build/Compile
+ # just passing <make install> results in not building 3rdparty/webkit/JavaScriptCore
+ $(MAKE) -C $(PKG_BUILD_DIR)
INSTALL_ROOT=$(PKG_INSTALL_DIR) \
$(MAKE) -C $(PKG_BUILD_DIR) install
endef