QTOPIA4_QMAKE_CONF:=$(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf
+QTOPIA4_QMAKE_AR:=$(TARGET_AR) cqs
+
# Variable for other Qt applications to use
QTOPIA4_QMAKE:=$(STAGING_DIR)/usr/bin/qmake -spec qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++
$(call QTOPIA4_QMAKE_SET,CXX,$(TARGET_CXX))
$(call QTOPIA4_QMAKE_SET,LINK,$(TARGET_CXX))
$(call QTOPIA4_QMAKE_SET,LINK_SHLIB,$(TARGET_CXX))
- $(call QTOPIA4_QMAKE_SET,AR,$(TARGET_AR))
+ $(call QTOPIA4_QMAKE_SET,AR,$(QTOPIA4_QMAKE_AR))
$(call QTOPIA4_QMAKE_SET,OBJCOPY,$(TARGET_OBJCOPY))
$(call QTOPIA4_QMAKE_SET,RANLIB,$(TARGET_RANLIB))
$(call QTOPIA4_QMAKE_SET,STRIP,$(TARGET_STRIP))