Remove references to obsolete platforms
ultrix and reliant have not seen a release since 1995. dgux not since 2001. bsdi not since 2003. irix not since 2006. osf not since 2010. dynix... unclear, but no later than 2002. symbian needs no mention. All considered obsolete, all gone. sco and unixware are effectively obsolete. Remove them until someone expresses a real need. Change-Id: Ia3d9d370016adce9213ae5ad0ef965ef8de2a3ff Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
5418c8764f
commit
cd542a82b0
4
configure
vendored
4
configure
vendored
@ -732,10 +732,6 @@ setBootstrapVariable()
|
||||
EXTRA_CXXFLAGS="\$(QMAKE_CXXFLAGS) \$(QMAKE_CXXFLAGS_CXX11) \$(QMAKE_CXXFLAGS_SPLIT_SECTIONS)"
|
||||
EXTRA_LFLAGS="\$(QMAKE_LFLAGS) \$(QMAKE_LFLAGS_GCSECTIONS)"
|
||||
|
||||
if [ "$PLATFORM" = "irix-cc" ] || [ "$PLATFORM" = "irix-cc-64" ]; then
|
||||
EXTRA_LFLAGS="$EXTRA_LFLAGS -lm"
|
||||
fi
|
||||
|
||||
[ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
|
||||
setBootstrapVariable QMAKE_CC CC "$CC_TRANSFORM"
|
||||
setBootstrapVariable QMAKE_CXX CXX "$CC_TRANSFORM"
|
||||
|
@ -53,7 +53,7 @@ QT_REQUIRE_CONFIG(iconv);
|
||||
|
||||
// unistd.h is needed for the _XOPEN_UNIX macro
|
||||
#include <unistd.h>
|
||||
#if defined(_XOPEN_UNIX) && !defined(Q_OS_QNX) && !defined(Q_OS_OSF)
|
||||
#if defined(_XOPEN_UNIX) && !defined(Q_OS_QNX)
|
||||
# include <langinfo.h>
|
||||
#endif
|
||||
|
||||
@ -447,7 +447,7 @@ iconv_t QIconvCodec::createIconv_t(const char *to, const char *from) const
|
||||
char *codeset = 0;
|
||||
#endif
|
||||
|
||||
#if defined(_XOPEN_UNIX) && !defined(Q_OS_QNX) && !defined(Q_OS_OSF)
|
||||
#if defined(_XOPEN_UNIX) && !defined(Q_OS_QNX)
|
||||
if (cd == (iconv_t) -1) {
|
||||
codeset = nl_langinfo(CODESET);
|
||||
if (codeset)
|
||||
|
@ -88,7 +88,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#if defined (_XOPEN_UNIX) && !defined(Q_OS_QNX) && !defined(Q_OS_OSF) && !defined(Q_OS_ANDROID)
|
||||
#if defined (_XOPEN_UNIX) && !defined(Q_OS_QNX) && !defined(Q_OS_ANDROID)
|
||||
# include <langinfo.h>
|
||||
#endif
|
||||
|
||||
@ -180,7 +180,7 @@ static QTextCodec *setupLocaleMapper()
|
||||
// This is because the builtin utf8 codec is around 5 times faster
|
||||
// then the using QIconvCodec
|
||||
|
||||
#if defined (_XOPEN_UNIX) && !defined(Q_OS_OSF)
|
||||
#if defined (_XOPEN_UNIX)
|
||||
char *charset = nl_langinfo(CODESET);
|
||||
if (charset)
|
||||
locale = QTextCodec::codecForName(charset);
|
||||
|
@ -10,7 +10,6 @@ CONFIG += $$MODULE_CONFIG
|
||||
DEFINES += $$MODULE_DEFINES
|
||||
DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH
|
||||
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x67000000
|
||||
irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
|
||||
|
||||
CONFIG += optimize_full
|
||||
|
||||
|
@ -1427,13 +1427,6 @@ bool qSharedBuild() Q_DECL_NOTHROW
|
||||
Defined on HP-UX.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_ULTRIX
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on DEC Ultrix.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_LINUX
|
||||
\relates <QtGlobal>
|
||||
@ -1469,41 +1462,6 @@ bool qSharedBuild() Q_DECL_NOTHROW
|
||||
Defined on OpenBSD.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_BSDI
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on BSD/OS.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_IRIX
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on SGI Irix.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_OSF
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on HP Tru64 UNIX.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_SCO
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on SCO OpenServer 5.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_UNIXWARE
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on UnixWare 7, Open UNIX 8.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_AIX
|
||||
\relates <QtGlobal>
|
||||
@ -1518,27 +1476,6 @@ bool qSharedBuild() Q_DECL_NOTHROW
|
||||
Defined on GNU Hurd.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_DGUX
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on DG/UX.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_RELIANT
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on Reliant UNIX.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_DYNIX
|
||||
\relates <QtGlobal>
|
||||
|
||||
Defined on DYNIX/ptx.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\macro Q_OS_QNX
|
||||
\relates <QtGlobal>
|
||||
|
@ -3077,9 +3077,8 @@
|
||||
it is displayed regardless of device type.
|
||||
The keypad is used to implement a virtual cursor, unless
|
||||
the device has an analog mouse type of input device (e.g. touchpad)
|
||||
|
||||
\note In 4.6, cursor navigation is only implemented for Symbian OS.
|
||||
On other platforms, it behaves as NavigationModeNone.
|
||||
\note Cursor navigation is not currently implemented on any platform
|
||||
and behaves as NavigationModeNone.
|
||||
\sa QApplication::setNavigationMode()
|
||||
\sa QApplication::navigationMode()
|
||||
*/
|
||||
|
@ -52,30 +52,18 @@
|
||||
IOS - iOS
|
||||
WATCHOS - watchOS
|
||||
TVOS - tvOS
|
||||
MSDOS - MS-DOS and Windows
|
||||
OS2 - OS/2
|
||||
OS2EMX - XFree86 on OS/2 (not PM)
|
||||
WIN32 - Win32 (Windows 2000/XP/Vista/7 and Windows Server 2003/2008)
|
||||
WINRT - WinRT (Windows 8 Runtime)
|
||||
WINRT - WinRT (Windows Runtime)
|
||||
CYGWIN - Cygwin
|
||||
SOLARIS - Sun Solaris
|
||||
HPUX - HP-UX
|
||||
ULTRIX - DEC Ultrix
|
||||
LINUX - Linux [has variants]
|
||||
FREEBSD - FreeBSD [has variants]
|
||||
NETBSD - NetBSD
|
||||
OPENBSD - OpenBSD
|
||||
BSDI - BSD/OS
|
||||
INTERIX - Interix
|
||||
IRIX - SGI Irix
|
||||
OSF - HP Tru64 UNIX
|
||||
SCO - SCO OpenServer 5
|
||||
UNIXWARE - UnixWare 7, Open UNIX 8
|
||||
AIX - AIX
|
||||
HURD - GNU Hurd
|
||||
DGUX - DG/UX
|
||||
RELIANT - Reliant UNIX
|
||||
DYNIX - DYNIX/ptx
|
||||
QNX - QNX [has variants]
|
||||
QNX6 - QNX RTP 6.1
|
||||
LYNX - LynxOS
|
||||
@ -147,10 +135,6 @@
|
||||
# define Q_OS_SOLARIS
|
||||
#elif defined(hpux) || defined(__hpux)
|
||||
# define Q_OS_HPUX
|
||||
#elif defined(__ultrix) || defined(ultrix)
|
||||
# define Q_OS_ULTRIX
|
||||
#elif defined(sinix)
|
||||
# define Q_OS_RELIANT
|
||||
#elif defined(__native_client__)
|
||||
# define Q_OS_NACL
|
||||
#elif defined(__linux__) || defined(__linux)
|
||||
@ -167,34 +151,17 @@
|
||||
#elif defined(__OpenBSD__)
|
||||
# define Q_OS_OPENBSD
|
||||
# define Q_OS_BSD4
|
||||
#elif defined(__bsdi__)
|
||||
# define Q_OS_BSDI
|
||||
# define Q_OS_BSD4
|
||||
#elif defined(__INTERIX)
|
||||
# define Q_OS_INTERIX
|
||||
# define Q_OS_BSD4
|
||||
#elif defined(__sgi)
|
||||
# define Q_OS_IRIX
|
||||
#elif defined(__osf__)
|
||||
# define Q_OS_OSF
|
||||
#elif defined(_AIX)
|
||||
# define Q_OS_AIX
|
||||
#elif defined(__Lynx__)
|
||||
# define Q_OS_LYNX
|
||||
#elif defined(__GNU__)
|
||||
# define Q_OS_HURD
|
||||
#elif defined(__DGUX__)
|
||||
# define Q_OS_DGUX
|
||||
#elif defined(__QNXNTO__)
|
||||
# define Q_OS_QNX
|
||||
#elif defined(_SEQUENT_)
|
||||
# define Q_OS_DYNIX
|
||||
#elif defined(_SCO_DS) /* SCO OpenServer 5 + GCC */
|
||||
# define Q_OS_SCO
|
||||
#elif defined(__USLC__) /* all SCO platforms + UDK or OUDK */
|
||||
# define Q_OS_UNIXWARE
|
||||
#elif defined(__svr4__) && defined(i386) /* Open UNIX 8 + GCC */
|
||||
# define Q_OS_UNIXWARE
|
||||
#elif defined(__INTEGRITY)
|
||||
# define Q_OS_INTEGRITY
|
||||
#elif defined(VXWORKS) /* there is no "real" VxWorks define - this has to be set in the mkspec! */
|
||||
|
@ -487,9 +487,6 @@ int QThread::idealThreadCount() Q_DECL_NOTHROW
|
||||
if (sysctl(mib, 2, &cores, &len, NULL, 0) != 0) {
|
||||
perror("sysctl");
|
||||
}
|
||||
#elif defined(Q_OS_IRIX)
|
||||
// IRIX
|
||||
cores = (int)sysconf(_SC_NPROC_ONLN);
|
||||
#elif defined(Q_OS_INTEGRITY)
|
||||
#if (__INTEGRITY_MAJOR_VERSION >= 10)
|
||||
// Integrity V10+ does support multicore CPUs
|
||||
|
@ -235,10 +235,6 @@ typedef long long int int64_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
#endif /* __arch64__ */
|
||||
#endif /* __STDC__ */
|
||||
#elif defined( __VMS ) || defined(__sgi)
|
||||
#include <inttypes.h>
|
||||
#elif defined(__SCO__) || defined(__USLC__)
|
||||
#include <stdint.h>
|
||||
#elif defined(__UNIXOS2__) || defined(__SOL64__)
|
||||
typedef long int int32_t;
|
||||
typedef long long int int64_t;
|
||||
|
@ -1405,10 +1405,6 @@ typedef long long int int64_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
#endif /* __arch64__ */
|
||||
#endif /* __STDC__ */
|
||||
#elif defined( __VMS ) || defined(__sgi)
|
||||
#include <inttypes.h>
|
||||
#elif defined(__SCO__) || defined(__USLC__)
|
||||
#include <stdint.h>
|
||||
#elif defined(__UNIXOS2__) || defined(__SOL64__)
|
||||
typedef long int int32_t;
|
||||
typedef long long int int64_t;
|
||||
|
@ -78,7 +78,6 @@ QT_BEGIN_NAMESPACE
|
||||
# define QT_SOCKOPTLEN_T QT_SOCKLEN_T
|
||||
#endif
|
||||
|
||||
// UnixWare 7 redefines socket -> _socket
|
||||
static inline int qt_safe_socket(int domain, int type, int protocol, int flags = 0)
|
||||
{
|
||||
Q_ASSERT((flags & ~O_NONBLOCK) == 0);
|
||||
@ -105,7 +104,6 @@ static inline int qt_safe_socket(int domain, int type, int protocol, int flags =
|
||||
#endif
|
||||
}
|
||||
|
||||
// Tru64 redefines accept -> _accept with _XOPEN_SOURCE_EXTENDED
|
||||
static inline int qt_safe_accept(int s, struct sockaddr *addr, QT_SOCKLEN_T *addrlen, int flags = 0)
|
||||
{
|
||||
Q_ASSERT((flags & ~O_NONBLOCK) == 0);
|
||||
@ -137,7 +135,6 @@ static inline int qt_safe_accept(int s, struct sockaddr *addr, QT_SOCKLEN_T *add
|
||||
#endif
|
||||
}
|
||||
|
||||
// UnixWare 7 redefines listen -> _listen
|
||||
static inline int qt_safe_listen(int s, int backlog)
|
||||
{
|
||||
return ::listen(s, backlog);
|
||||
|
@ -5,7 +5,6 @@ DEFINES += QT_NO_USING_NAMESPACE QT_NO_FOREACH
|
||||
|
||||
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x63000000
|
||||
solaris-cc*:QMAKE_CXXFLAGS_RELEASE -= -O2
|
||||
irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
|
||||
|
||||
QMAKE_DOCS = $$PWD/doc/qtopengl.qdocconf
|
||||
|
||||
|
@ -65,9 +65,6 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define XMD_H // shut JPEGlib up
|
||||
#if defined(Q_OS_UNIXWARE)
|
||||
# define HAVE_BOOLEAN // libjpeg under Unixware seems to need this
|
||||
#endif
|
||||
#include <jpeglib.h>
|
||||
#ifdef const
|
||||
# undef const // remove crazy C hackery in jconfig.h
|
||||
|
17
src/testlib/3rdparty/cycle_p.h
vendored
17
src/testlib/3rdparty/cycle_p.h
vendored
@ -493,21 +493,4 @@ INLINE_ELAPSED(inline)
|
||||
#define HAVE_TICK_COUNTER
|
||||
#endif
|
||||
|
||||
/*----------------------------------------------------------------*/
|
||||
/* Symbian */
|
||||
#if defined(__SYMBIAN32__) && !defined(HAVE_TICK_COUNTER)
|
||||
#include <e32std.h>
|
||||
|
||||
typedef TUint32 CycleCounterTicks;
|
||||
|
||||
static inline CycleCounterTicks getticks(void)
|
||||
{
|
||||
return User::FastCounter();
|
||||
}
|
||||
|
||||
INLINE_ELAPSED(inline)
|
||||
|
||||
#define HAVE_TICK_COUNTER
|
||||
#endif
|
||||
|
||||
#endif // QBENCHLIB_CYCLE_H
|
||||
|
@ -239,7 +239,6 @@ void QInputDialogPrivate::ensureLayout()
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), q, SLOT(reject()));
|
||||
|
||||
mainLayout = new QVBoxLayout(q);
|
||||
//we want to let the input dialog grow to available size on Symbian.
|
||||
mainLayout->setSizeConstraint(QLayout::SetMinAndMaxSize);
|
||||
mainLayout->addWidget(label);
|
||||
mainLayout->addWidget(inputWidget);
|
||||
|
@ -5,7 +5,6 @@ MODULE_CONFIG = uic
|
||||
CONFIG += $$MODULE_CONFIG
|
||||
DEFINES += QT_NO_USING_NAMESPACE
|
||||
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x65000000
|
||||
irix-cc*:QMAKE_CXXFLAGS += -no_prelink -ptused
|
||||
|
||||
QMAKE_DOCS = $$PWD/doc/qtwidgets.qdocconf
|
||||
|
||||
|
@ -68,8 +68,6 @@ QT_END_NAMESPACE
|
||||
#elif defined(Q_OS_FREEBSD)
|
||||
# include <sys/param.h>
|
||||
# include <sys/mount.h>
|
||||
#elif defined(Q_OS_IRIX)
|
||||
# include <sys/statfs.h>
|
||||
#elif defined(Q_OS_VXWORKS)
|
||||
# include <fcntl.h>
|
||||
#if defined(_WRS_KERNEL)
|
||||
@ -1905,10 +1903,6 @@ void tst_QFile::largeFileSupport()
|
||||
if (::GetDiskFreeSpaceEx((wchar_t*)QDir::currentPath().utf16(), &free, 0, 0))
|
||||
freespace = free.QuadPart;
|
||||
if (freespace != 0) {
|
||||
#elif defined(Q_OS_IRIX)
|
||||
struct statfs info;
|
||||
if (statfs(QDir::currentPath().local8Bit(), &info, sizeof(struct statfs), 0) == 0) {
|
||||
freespace = qlonglong(info.f_bfree * info.f_bsize);
|
||||
#else
|
||||
struct statfs info;
|
||||
if (statfs(const_cast<char *>(QDir::currentPath().toLocal8Bit().constData()), &info) == 0) {
|
||||
|
@ -1873,9 +1873,6 @@ void tst_QSortFilterProxyModel::changeFilter()
|
||||
QCOMPARE(args.at(2).toInt(), finalRemoveIntervals.at(i).second);
|
||||
}
|
||||
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("filter (2)", "Not reliable on IRIX", Abort);
|
||||
#endif
|
||||
QCOMPARE(finalInsertSpy.count(), insertIntervals.count());
|
||||
for (int i = 0; i < finalInsertSpy.count(); ++i) {
|
||||
QList<QVariant> args = finalInsertSpy.at(i);
|
||||
|
@ -756,13 +756,7 @@ void tst_QByteArray::qvsnprintf()
|
||||
QCOMPARE(static_cast<const char *>(buf), "bub****************");
|
||||
# endif
|
||||
#else
|
||||
#ifdef Q_OS_IRIX
|
||||
// Irix reports back the amount of characters written without the \0
|
||||
QCOMPARE(::qsnprintf(buf, 3, "%s", "bubu"), 2);
|
||||
#else
|
||||
// Every other system in this world reports the amount of data that could have been written
|
||||
QCOMPARE(::qsnprintf(buf, 3, "%s", "bubu"), 4);
|
||||
#endif
|
||||
QCOMPARE(static_cast<const char*>(buf), "bu");
|
||||
#endif
|
||||
QCOMPARE(buf[4], char(42));
|
||||
|
@ -1263,9 +1263,6 @@ void tst_QDateTime::addSecs()
|
||||
QFETCH(QDateTime, dt);
|
||||
QFETCH(int, nsecs);
|
||||
QFETCH(QDateTime, result);
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("cet4", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QDateTime test = dt.addSecs(nsecs);
|
||||
QCOMPARE(test, result);
|
||||
QCOMPARE(test.timeSpec(), dt.timeSpec());
|
||||
@ -1285,9 +1282,6 @@ void tst_QDateTime::addMSecs()
|
||||
QFETCH(int, nsecs);
|
||||
QFETCH(QDateTime, result);
|
||||
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("cet4", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QDateTime test = dt.addMSecs(qint64(nsecs) * 1000);
|
||||
QCOMPARE(test, result);
|
||||
QCOMPARE(test.timeSpec(), dt.timeSpec());
|
||||
@ -1373,9 +1367,6 @@ void tst_QDateTime::toTimeSpec()
|
||||
QCOMPARE(localToLocal.time(), fromLocal.time());
|
||||
QCOMPARE(localToLocal.timeSpec(), Qt::LocalTime);
|
||||
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("summer2", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QCOMPARE(utcToLocal, fromLocal);
|
||||
QCOMPARE(utcToLocal.date(), fromLocal.date());
|
||||
QCOMPARE(utcToLocal.time(), fromLocal.time());
|
||||
@ -1427,9 +1418,6 @@ void tst_QDateTime::toLocalTime()
|
||||
QFETCH(QDateTime, fromLocal);
|
||||
|
||||
QCOMPARE(fromLocal.toLocalTime(), fromLocal);
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("summer2", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QCOMPARE(fromUtc.toLocalTime(), fromLocal);
|
||||
QCOMPARE(fromUtc.toLocalTime(), fromLocal.toLocalTime());
|
||||
} else {
|
||||
@ -1449,9 +1437,6 @@ void tst_QDateTime::toUTC()
|
||||
QFETCH(QDateTime, fromLocal);
|
||||
|
||||
QCOMPARE(fromUtc.toUTC(), fromUtc);
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("summer2", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QCOMPARE(fromLocal.toUTC(), fromUtc);
|
||||
QCOMPARE(fromUtc.toUTC(), fromLocal.toUTC());
|
||||
} else {
|
||||
@ -1512,9 +1497,6 @@ void tst_QDateTime::secsTo()
|
||||
QFETCH(QDateTime, result);
|
||||
|
||||
if (dt.isValid()) {
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("cet4", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QCOMPARE(dt.secsTo(result), (qint64)nsecs);
|
||||
QCOMPARE(result.secsTo(dt), (qint64)-nsecs);
|
||||
QVERIFY((dt == result) == (0 == nsecs));
|
||||
@ -1541,9 +1523,6 @@ void tst_QDateTime::msecsTo()
|
||||
QFETCH(QDateTime, result);
|
||||
|
||||
if (dt.isValid()) {
|
||||
#ifdef Q_OS_IRIX
|
||||
QEXPECT_FAIL("cet4", "IRIX databases say 1970 had DST", Abort);
|
||||
#endif
|
||||
QCOMPARE(dt.msecsTo(result), qint64(nsecs) * 1000);
|
||||
QCOMPARE(result.msecsTo(dt), -qint64(nsecs) * 1000);
|
||||
QVERIFY((dt == result) == (0 == (qint64(nsecs) * 1000)));
|
||||
|
@ -121,14 +121,6 @@ typedef QList<int> IntList;
|
||||
#if defined(Q_OS_SOLARIS)
|
||||
# include <ieeefp.h>
|
||||
#endif
|
||||
#if defined(Q_OS_OSF) && (defined(__DECC) || defined(__DECCXX))
|
||||
# define INFINITY DBL_INFINITY
|
||||
# define NAN DBL_QNAN
|
||||
#endif
|
||||
#if defined(Q_OS_IRIX) && defined(Q_CC_GNU)
|
||||
# include <ieeefp.h>
|
||||
# define isnan(d) isnand(d)
|
||||
#endif
|
||||
|
||||
enum {
|
||||
LittleEndian,
|
||||
|
@ -1423,9 +1423,6 @@ void tst_QColor::achromaticHslHue()
|
||||
#if 0 // Used to be included in Qt4 for Q_WS_X11
|
||||
void tst_QColor::setallowX11ColorNames()
|
||||
{
|
||||
#if defined(Q_OS_IRIX)
|
||||
QSKIP("This fails due to the gamma settings in the SGI X server");
|
||||
#endif
|
||||
RGBData x11RgbTbl[] = {
|
||||
// a few standard X11 color names
|
||||
{ "DodgerBlue1", qRgb(30, 144, 255) },
|
||||
|
@ -2826,7 +2826,7 @@ void tst_QPainter::monoImages()
|
||||
}
|
||||
}
|
||||
|
||||
#if !defined(Q_OS_IRIX) && !defined(Q_OS_AIX) && !defined(Q_CC_MSVC) && !defined(Q_OS_SOLARIS) && !defined(__UCLIBC__)
|
||||
#if !defined(Q_OS_AIX) && !defined(Q_CC_MSVC) && !defined(Q_OS_SOLARIS) && !defined(__UCLIBC__)
|
||||
#include <fenv.h>
|
||||
|
||||
static const QString fpeExceptionString(int exception)
|
||||
|
@ -87,10 +87,8 @@ void tst_QCssParser::scanner_data()
|
||||
|
||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_WINRT)
|
||||
QDir d(":/");
|
||||
#elif !defined(Q_OS_IRIX)
|
||||
QDir d(SRCDIR);
|
||||
#else
|
||||
QDir d(QDir::current());
|
||||
QDir d(SRCDIR);
|
||||
#endif
|
||||
d.cd("testdata");
|
||||
d.cd("scanner");
|
||||
|
@ -346,10 +346,6 @@ void tst_QFocusEvent::checkReason_ActiveWindow()
|
||||
d->hide();
|
||||
QTest::qWait(100);
|
||||
|
||||
#if defined(Q_OS_IRIX)
|
||||
QEXPECT_FAIL("", "IRIX requires explicit activateWindow(), so this test does not make any sense.", Abort);
|
||||
#endif
|
||||
|
||||
if (!QGuiApplication::platformName().compare(QLatin1String("offscreen"), Qt::CaseInsensitive)
|
||||
|| !QGuiApplication::platformName().compare(QLatin1String("minimal"), Qt::CaseInsensitive)) {
|
||||
// Activate window of testFocusWidget, focus in that window goes to childFocusWidgetOne
|
||||
|
@ -32,7 +32,7 @@ HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-n
|
||||
namespace.h cxx17-namespaces.h
|
||||
|
||||
|
||||
if(*-g++*|*-icc*|*-clang*|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
|
||||
if(*-g++*|*-icc*|*-clang*|*-llvm):!win32-*: HEADERS += os9-newlines.h win-newlines.h
|
||||
if(*-g++*|*-clang*): HEADERS += dollars.h
|
||||
SOURCES += tst_moc.cpp
|
||||
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "pure-virtual-signals.h"
|
||||
#include "qinvokable.h"
|
||||
// msvc and friends crap out on it
|
||||
#if !defined(Q_CC_GNU) || defined(Q_OS_IRIX) || defined(Q_OS_WIN)
|
||||
#if !defined(Q_CC_GNU) || defined(Q_OS_WIN)
|
||||
#define SKIP_NEWLINE_TEST
|
||||
#endif
|
||||
#if !defined(SKIP_NEWLINE_TEST)
|
||||
|
@ -243,7 +243,7 @@ void tst_QDialog::showMaximized()
|
||||
dialog.showMaximized();
|
||||
QVERIFY(dialog.isMaximized());
|
||||
QVERIFY(dialog.isVisible());
|
||||
#if QT_CONFIG(sizegrip) && !defined(Q_OS_DARWIN) && !defined(Q_OS_IRIX) && !defined(Q_OS_HPUX)
|
||||
#if QT_CONFIG(sizegrip) && !defined(Q_OS_DARWIN) && !defined(Q_OS_HPUX)
|
||||
QVERIFY(!sizeGrip->isVisible());
|
||||
#endif
|
||||
|
||||
|
@ -2661,9 +2661,6 @@ void tst_QGraphicsProxyWidget::childPos_data()
|
||||
|
||||
void tst_QGraphicsProxyWidget::childPos()
|
||||
{
|
||||
#ifdef Q_OS_IRIX
|
||||
QSKIP("This test is not reliable on IRIX.");
|
||||
#endif
|
||||
QFETCH(bool, moveCombo);
|
||||
QFETCH(QPoint, comboPos);
|
||||
QFETCH(QPointF, proxyPos);
|
||||
|
@ -20,7 +20,3 @@ SUBDIRS=\
|
||||
!qtConfig(private_tests): SUBDIRS -= \
|
||||
qcolumnview \
|
||||
qlistwidget \
|
||||
|
||||
# This test takes too long to run on IRIX, so skip it on that platform
|
||||
irix-*:SUBDIRS -= qitemview
|
||||
|
||||
|
@ -614,7 +614,7 @@ void tst_QCompleter::directoryModel_data()
|
||||
QTest::newRow("(/et)") << "/et" << "" << "etc" << "/etc";
|
||||
#else
|
||||
QTest::newRow("()") << "" << "" << "/" << "/";
|
||||
#if !defined(Q_OS_IRIX) && !defined(Q_OS_AIX) && !defined(Q_OS_HPUX) && !defined(Q_OS_QNX)
|
||||
#if !defined(Q_OS_AIX) && !defined(Q_OS_HPUX) && !defined(Q_OS_QNX)
|
||||
QTest::newRow("(/h)") << "/h" << "" << "home" << "/home";
|
||||
#endif
|
||||
QTest::newRow("(/et)") << "/et" << "" << "etc" << "/etc";
|
||||
@ -660,7 +660,7 @@ void tst_QCompleter::fileSystemModel_data()
|
||||
QTest::newRow("(/et)") << "/et" << "" << "etc" << "/etc";
|
||||
#else
|
||||
QTest::newRow("()") << "" << "" << "/" << "/";
|
||||
#if !defined(Q_OS_IRIX) && !defined(Q_OS_AIX) && !defined(Q_OS_HPUX) && !defined(Q_OS_QNX)
|
||||
#if !defined(Q_OS_AIX) && !defined(Q_OS_HPUX) && !defined(Q_OS_QNX)
|
||||
QTest::newRow("(/h)") << "/h" << "" << "home" << "/home";
|
||||
#endif
|
||||
QTest::newRow("(/et)") << "/et" << "" << "etc" << "/etc";
|
||||
|
@ -30,24 +30,6 @@
|
||||
#include <QUndoStack>
|
||||
#include <QAction>
|
||||
|
||||
// Temporarily disabling IRIX due to build issuues with GCC
|
||||
#if defined(__sgi) && defined(__GNUC__)
|
||||
|
||||
class tst_QUndoGroup : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
tst_QUndoGroup() {}
|
||||
|
||||
private slots:
|
||||
void setActive() { QSKIP( "Not tested on irix-g++"); }
|
||||
void addRemoveStack() { QSKIP( "Not tested on irix-g++"); }
|
||||
void deleteStack() { QSKIP( "Not tested on irix-g++"); }
|
||||
void checkSignals() { QSKIP( "Not tested on irix-g++"); }
|
||||
void addStackAndDie() { QSKIP( "Not tested on irix-g++"); }
|
||||
};
|
||||
#else
|
||||
|
||||
/******************************************************************************
|
||||
** Commands
|
||||
*/
|
||||
@ -652,7 +634,6 @@ void tst_QUndoGroup::commandTextFormat()
|
||||
qApp->removeTranslator(&translator);
|
||||
#endif
|
||||
}
|
||||
#endif // !(SGI && GCC)
|
||||
|
||||
QTEST_MAIN(tst_QUndoGroup)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user