Hi,
I'm using "qt-everywhere-opensource-src-4.6.0"
configured with:
./configure -embedded sh -xplatform qws/linux-sh4-g++

in "qt-everywhere-opensource-src-4.6.0/mkspecs/qws" I added the directory "linux-sh4-g++" with the following:
in "qmake.conf"
#
# qmake configuration for linux-g++ using the sh4-linux-g++ crosscompiler
#

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

QMAKE = $$[QT_INSTALL_BINS]/sh4-linux-qmake

# modifications to g++.conf
QMAKE_CC = sh4-linux-gcc
QMAKE_CXX = sh4-linux-g++
QMAKE_LINK = sh4-linux-g++
QMAKE_LINK_SHLIB = sh4-linux-g++
QMAKE_CFLAGS_RELEASE = -Os
QMAKE_CXXFLAGS_RELEASE = -Os

# modifications to linux.conf
QMAKE_AR = sh4-linux-ar cqs
QMAKE_OBJCOPY = sh4-linux-objcopy
QMAKE_RANLIB = sh4-linux-ranlib
QMAKE_STRIP = true
QMAKE_MOC = $$[QT_INSTALL_BINS]/sh4-linux-moc
QMAKE_UIC = $$[QT_INSTALL_BINS]/sh4-linux-uic

QMAKE_RCC = $$[QT_INSTALL_BINS]/sh4-linux-rcc

load(qt_config)


and in "qplatformdefs.h":
#include "../../linux-g++/qplatformdefs.h"

when I execute "make" I obtain the following error:

sh4-linux-g++ -pipe -fno-exceptions -Os -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-sh4-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-sh -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-sh -x c++-header -c global/qt_pch.h -o .pch/release-shared-emb-sh/QtCore.gch/c++
sh4-linux-g++ -c -include .pch/release-shared-emb-sh/QtCore -pipe -fno-exceptions -Os -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-sh4-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-sh -Iglobal -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-sh -o .obj/release-shared-emb-sh/qabstractanimation.o animation/qabstractanimation.cpp
{standard input}: Assembler messages:
{standard input}:313: Error: tas.b use
{standard input}:418: Error: tas.b use
{standard input}:2128: Error: tas.b use
make[1]: *** [.obj/release-shared-emb-sh/qabstractanimation.o] Error 1
make[1]: Leaving directory `/home/stefano/Qt/qt-everywhere-opensource-src-4.6.0/src/corelib'
make: *** [sub-corelib-make_default-ordered] Error 2


Can someone help me?