@@ -67,13 +67,6 @@ export OE_QMAKE_CXX="${CXX}"
export OE_QMAKE_AR="${AR}"
export OE_QMAKE_STRIP="${STRIP}"
-# Must we differentiate here?
-if [[ $CURRENT_OS == Linux* ]] ; then
- export QMAKESPEC="${SYS}usr/share/qt5/mkspecs/linux-oe-g++"
-else
- export QMAKESPEC="linux-oe-g++"
-fi
-
QT_CONF_FILE=${TOOL}/qt.conf
touch ${QT_CONF_FILE} || exit 1
@@ -96,3 +89,5 @@ echo "TargetSpec = ${SYS_REL_TOOL}/usr/share/qt5/mkspecs/linux-oe-g++" >> ${QT_C
# Set the paths to the config file
export QT_CONF_PATH="${QT_CONF_FILE}"
+# And Specs for target
+export QMAKESPEC="linux-oe-g++"