summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/qt/qt.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 4b6876ff0..a3a466ae3 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -48,6 +48,11 @@ else
QT_CONFIGURE+= -no-qt3support
endif
+# ensure glib is built first if enabled for Qt's glib support
+ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
+QT_DEP_LIBS+=libglib2
+endif
+
### Pixel depths
QT_PIXEL_DEPTHS := # empty