Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10834 closed defect (fixed)

qt4 fails to build due to missing directfb.h [patch]

Reported by: bas@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


When building qt4, i have this error:

In file included from qdirectfbscreen.cpp:42:0:
qdirectfbscreen.h:48:22: fatal error: directfb.h: No such file or directory
compilation terminated.

./staging_dir/target-mipsel_uClibc-0.9.32/usr/include/directfb/directfb.h is in place though

Here's the patch to make qt4 build:

Index: lib/qt4/Makefile
--- lib/qt4/Makefile	(revision 29838)
+++ lib/qt4/Makefile	(working copy)
@@ -266,7 +266,7 @@
 TARGET_INCDIRS+=$(STAGING_DIR)/include $(STAGING_DIR)/usr/include $(TOOLCHAIN_DIR)/include $(TOOLCHAIN_DIR)/usr/include
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include
+TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include/freetype2 -I$(PKG_BUILD_DIR)/include -I$(STAGING_DIR)/usr/include/directfb
 ifeq ($(CONFIG_QT4_WS_QWS),y)

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by mirko

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r31076 - thanks

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.