summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL4
-rw-r--r--PLATFORMS5
-rw-r--r--README.Qt33
-rwxr-xr-xconfig.tests/x11/xinput.test2
-rwxr-xr-xconfigure94
-rw-r--r--doc/abouttqt.doc2
-rw-r--r--doc/faq.doc2
-rw-r--r--doc/html/abouttqt.html2
-rw-r--r--doc/html/faq.html2
-rw-r--r--doc/html/qmake-manual-2.html2
-rw-r--r--doc/html/tqglobal-h.html17
-rw-r--r--doc/html/tqtabletevent.html5
-rw-r--r--doc/man/man3/tqtabletevent.3qt4
-rw-r--r--mkspecs/irix-cc-64/qmake.conf104
-rw-r--r--mkspecs/irix-cc-64/qplatformdefs.h64
-rw-r--r--mkspecs/irix-cc-o32/qmake.conf88
-rw-r--r--mkspecs/irix-cc-o32/qplatformdefs.h60
-rw-r--r--mkspecs/irix-cc/qmake.conf104
-rw-r--r--mkspecs/irix-cc/qplatformdefs.h64
-rw-r--r--mkspecs/irix-g++/qmake.conf85
-rw-r--r--mkspecs/irix-g++/qplatformdefs.h69
-rw-r--r--qmake/book/qmake-install.leaf4
-rw-r--r--src/3rdparty/libmng/acinclude.m44
-rw-r--r--src/3rdparty/libmng/aclocal.m493
-rwxr-xr-xsrc/3rdparty/libmng/config.guess9
-rwxr-xr-xsrc/3rdparty/libmng/config.sub23
-rwxr-xr-xsrc/3rdparty/libmng/configure95
-rw-r--r--src/3rdparty/libmng/ltmain.sh25
-rwxr-xr-xsrc/3rdparty/libmng/missing2
-rw-r--r--src/3rdparty/libpng/INSTALL2
-rw-r--r--src/3rdparty/libpng/README4
-rw-r--r--src/3rdparty/libpng/scripts/makefile.sggcc211
-rw-r--r--src/3rdparty/libpng/scripts/makefile.sgi217
-rwxr-xr-xsrc/3rdparty/zlib/configure3
-rw-r--r--src/kernel/tqapplication.cpp2
-rw-r--r--src/kernel/tqapplication_x11.cpp101
-rw-r--r--src/kernel/tqevent.cpp7
-rw-r--r--src/kernel/tqt_x11_p.h7
-rw-r--r--src/tools/qt_tools.pri6
-rw-r--r--src/tools/tqglobal.h16
-rw-r--r--src/tools/tqlibrary.cpp3
41 files changed, 21 insertions, 1595 deletions
diff --git a/INSTALL b/INSTALL
index 5b9615689..373ce3180 100644
--- a/INSTALL
+++ b/INSTALL
@@ -30,10 +30,6 @@ the directories where you choose to install Qt.
MANPATH - to access the TQt man pages
LD_LIBRARY_PATH - for the shared TQt library
- Note that under IRIX the additional LD_LIBRARYN32_PATH and
- LD_LIBRARY64_PATH variables are used for specifying library
- search paths. Set the variable that matches your configuration, or
- see the rld(5) man page for more information.
On AIX set LIBPATH instead of LD_LIBRARY_PATH.
This is done like this:
diff --git a/PLATFORMS b/PLATFORMS
index 80dfc98e5..036af8af5 100644
--- a/PLATFORMS
+++ b/PLATFORMS
@@ -10,9 +10,6 @@ aix-xlc
aix-xlc-64
freebsd-g++
freebsd-icc
-irix-cc
-irix-cc-64
-irix-g++
linux-ecc-64
linux-g++
linux-g++-64
@@ -30,7 +27,7 @@ win32-msvc.net
Example:
- ./configure -platform irix-cc-64 -shared -debug
+ ./configure -platform linux-g++-64 -shared -debug
Customization:
diff --git a/README.Qt3 b/README.Qt3
index 391f84ba6..5090d95a1 100644
--- a/README.Qt3
+++ b/README.Qt3
@@ -24,9 +24,6 @@ aix-xlc
aix-xlc-64
freebsd-g++
freebsd-icc
-irix-cc
-irix-cc-64
-irix-g++
linux-ecc-64
linux-g++
linux-g++-64
diff --git a/config.tests/x11/xinput.test b/config.tests/x11/xinput.test
index c31388bd1..c2cb14f34 100755
--- a/config.tests/x11/xinput.test
+++ b/config.tests/x11/xinput.test
@@ -42,7 +42,7 @@ if [ -z "$F" ]; then
[ "$VERBOSE" = "yes" ] && echo " Could not find XInput lib anywhere in $LIBDIRS"
fi
-# check for XInput.h and the IRIX wacom.h
+# check for XInput.h and wacom.h
if [ "$XINPUT" = "yes" ]; then
INCS="X11/extensions/XInput.h wacom.h"
XDIRS=`sed -n -e '/^QMAKE_INCDIR_X11[ ]*=/ { s/[^=]*=[ ]*//; s/-I/ /g; p; }' $XCONFIG`
diff --git a/configure b/configure
index ddba22fb0..ea07eb7ab 100755
--- a/configure
+++ b/configure
@@ -407,18 +407,6 @@ while [ "$#" -gt 0 ]; do
aix-64)
PLATFORM=aix-xlc-64
;;
- irix-o32)
- PLATFORM=irix-cc-o32
- ;;
- irix-n32)
- PLATFORM=irix-cc
- ;;
- irix-64)
- PLATFORM=irix-cc-64
- ;;
- irix-cc-n64)
- PLATFORM=irix-cc-64
- ;;
solaris-64)
PLATFORM=solaris-cc-64
;;
@@ -1135,14 +1123,6 @@ if [ -z "$PLATFORM" ]; then
BSD/OS:*|BSD/386:*)
PLATFORM=bsdi-g++
;;
- IRIX*:*)
- #PLATFORM=irix-g++
- PLATFORM=irix-cc
- #PLATFORM=irix-cc-64
- PLATFORM_NOTES="
- - Also available for IRIX: irix-g++ irix-cc-64
- "
- ;;
Linux:*|GNU:*|GNU/*:*)
PLATFORM=linux-g++
PLATFORM_NOTES="
@@ -1538,30 +1518,7 @@ if [ "$PLATFORM_X11" = "yes" ]; then
CFG_XINERAMA=yes
fi
fi
- # auto-detect tablet support (currenlty only in IRIX)
- if [ "$CFG_TABLET" = "auto" ]; then
- case $PLATFORM in
- irix-*)
- if $x11tests/xinput.test $XQMAKESPEC $OPT_VERBOSE $L_FLAGS $I_FLAGS; then
- if [ "$CFG_TABLET" = "yes" ] && [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
- echo "Tablet support cannot be enabled due to functionality tests!"
- echo " Turn on verbose messaging (-v) to $0 to see the final report."
- echo " If you believe this message is in error you may use the continue"
- echo " switch (-continue) to $0 to continue."
- exit 101
- else
- CFG_TABLET=no
- fi
- else
- CFG_TABLET=yes
- fi
- ;;
- *)
- CFG_TABLET=no
- ### add error message for the "yes" case on non-IRIX systems
- ;;
- esac
- fi
+ CFG_TABLET=no # Was supported only on IRIX
# auto-detect XKB support
if [ "$CFG_XKB" != "no" ]; then
if $x11tests/xkb.test $XQMAKESPEC $OPT_VERBOSE $L_FLAGS $I_FLAGS; then
@@ -1943,11 +1900,6 @@ Qt/X11 only:
$XFTY -xft ............... Compile Xft support.
Requires X11/Xft/Xft.h and libXft.
- $XIN -no-tablet ......... Do not compile Tablet support.
- $XIY -tablet ............ Compile Tablet support.
- Requires IRIX with wacom.h and libXi or
- XFree86 with X11/extensions/XInput.h and libXi.
-
$XKN -no-xkb ............ Do not compile XKB (X KeyBoard extension) support.
$XKY -xkb ............... Compile XKB support.
@@ -2021,22 +1973,6 @@ echo "You are licensed to use this software under the terms of"
echo "the GNU General Public License (GPL) versions 2 or 3."
echo
-# work around for broken system header files in IRIX 6.5.18 - 6.5.22
-case "$PLATFORM" in
-irix-cc*)
- IRIX_VERSION=`uname -R | awk '{FS=".";print $4}' | sed s/\[m\|f\]//g`
- MIPSPRO_MINOR_VERSION=`CC -version 2>&1 | awk '{FS=".";print $2}'`
- if [ "$MIPSPRO_MINOR_VERSION" -gt "3" -a "$IRIX_VERSION" -ge "18" \
- -a "$IRIX_VERSION" -le "22" ]; then
- QMAKE_VARS="$QMAKE_VARS \"QMAKE_CXXFLAGS+=-LANG:libc_in_namespace_std=off\""
- fi
- ;;
-*)
- IRIX_VERSION=-1
- MIPSPRO_MINOR_VERSION=-1
- ;;
-esac
-
# -----------------------------------------------------------------------------
# build qmake
# -----------------------------------------------------------------------------
@@ -2116,10 +2052,6 @@ if true; then ###[ '!' -f "$outpath/bin/tqmake" ];
EXTRA_CFLAGS="$EXTRA_CFLAGS -D${DEF}"
done
fi
- if [ "$MIPSPRO_MINOR_VERSION" -gt "3" \
- -a "$IRIX_VERSION" -ge "18" -a "$IRIX_VERSION" -le "22" ]; then
- EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -LANG:libc_in_namespace_std=off"
- fi
QMAKE_BIN_DIR="$QT_INSTALL_BINS"
[ -z "$QMAKE_BIN_DIR" ] && QMAKE_BIN_DIR="${QT_INSTALL_PREFIX}/bin"
QMAKE_DATA_DIR="$QT_INSTALL_DATA"
@@ -2477,11 +2409,6 @@ if [ "$CFG_EXCEPTION_SUPPORT" = "no" ]; then
;;
cc*)
case "$PLATFORM" in
- irix-cc*)
- QMAKE_VARS="$QMAKE_VARS \"QMAKE_CFLAGS+=-LANG:exceptions=off\""
- QMAKE_VARS="$QMAKE_VARS \"QMAKE_CXXFLAGS+=-LANG:exceptions=off\""
- QMAKE_VARS="$QMAKE_VARS \"QMAKE_LFLAGS+=-LANG:exceptions=off\""
- ;;
*) ;;
esac
;;
@@ -2860,25 +2787,6 @@ g++*)
EOF
fi
;;
-cc*)
- case "$PLATFORM" in
- irix-cc*)
- if [ "$CFG_EXCEPTION_SUPPORT" != "no" ]; then
- cat <<EOF
-
- This target is using the MIPSpro C++ compiler ($PLATFORM).
-
- You may choose to re-run `basename $0` with the -no-exceptions
- option to compile TQt without exceptions. This will make the
- size of the TQt library smaller and reduce the amount of memory
- taken by your applications.
-
-EOF
- fi
- ;;
- *) ;;
- esac
- ;;
*) ;;
esac
diff --git a/doc/abouttqt.doc b/doc/abouttqt.doc
index ffe3da477..6c1fabf51 100644
--- a/doc/abouttqt.doc
+++ b/doc/abouttqt.doc
@@ -25,7 +25,7 @@ Qt is supported on the following platforms:
\list
\i <b>MS/Windows</b> -- 95, 98, NT 4.0, ME, 2000, and XP
\i <b>Unix/X11</b> -- Linux, Sun Solaris,
- IBM AIX, SGI IRIX and a wide range of others
+ IBM AIX and a wide range of others
\i <b>Macintosh</b> -- Mac OS X
\endlist
diff --git a/doc/faq.doc b/doc/faq.doc
index 6a0fb03fc..72c9cdf77 100644
--- a/doc/faq.doc
+++ b/doc/faq.doc
@@ -25,7 +25,7 @@ Qt is supported on the following platforms:
\list
\i <b>MS/Windows</b> -- 95, 98, NT 4.0, ME, 2000, and XP
\i <b>Unix/X11</b> -- Linux, Sun Solaris,
- IBM AIX, SGI IRIX and a wide range of others
+ IBM AIX and a wide range of others
\i <b>Macintosh</b> -- Mac OS X
\endlist
diff --git a/doc/html/abouttqt.html b/doc/html/abouttqt.html
index a9f0cdb54..26f8acd2b 100644
--- a/doc/html/abouttqt.html
+++ b/doc/html/abouttqt.html
@@ -47,7 +47,7 @@ development.
<ul>
<li> <b>MS/Windows</b> -- 95, 98, NT 4.0, ME, 2000, and XP
<li> <b>Unix/X11</b> -- Linux, Sun Solaris,
-IBM AIX, SGI IRIX and a wide range of others
+IBM AIX and a wide range of others
<li> <b>Macintosh</b> -- Mac OS X
</ul>
<p> TQt is released in following edition(s):
diff --git a/doc/html/faq.html b/doc/html/faq.html
index f248d4000..c34174635 100644
--- a/doc/html/faq.html
+++ b/doc/html/faq.html
@@ -162,7 +162,7 @@ extensible, and allows true component programming.
<p> <ul>
<li> <b>MS/Windows</b> -- 95, 98, NT 4.0, ME, 2000, and XP
<li> <b>Unix/X11</b> -- Linux, Sun Solaris,
-IBM AIX, SGI IRIX and a wide range of others
+IBM AIX and a wide range of others
<li> <b>Macintosh</b> -- Mac OS X
</ul>
<p> It has become the emerging standard development
diff --git a/doc/html/qmake-manual-2.html b/doc/html/qmake-manual-2.html
index 404024f9b..8e7792971 100644
--- a/doc/html/qmake-manual-2.html
+++ b/doc/html/qmake-manual-2.html
@@ -37,7 +37,7 @@ body { background: #ffffff; color: black; }
<p>Before building TQt manually the following environment variables must be set:</p>
<ul><li><p>QMAKESPEC <br> This must be set to the platform and compiler combination that you are using on your system. <br> For example, if you are using Windows and Microsoft Visual Studio, you would set this environment variable to <em>win32-msvc</em>. If you are using Solaris and g++, you would set this environment variable to <em>solaris-g++</em>.</p>
<p>The following is a list of environment variables available to choose from when setting QMAKESPEC:</p>
-<p>aix-64 irix-032 netbsd-g++ solaris-cc unixware7-g++ aix-g++ linux-cxx openbsd-g++ solaris-g++ aix-xlc linux-g++ openunix-cc sunos-g++ win32-g++ bsdi-g++ linux-icc qnx-g++ tru64-cxx win32-msvc hurd-g++ linux-kcc tru64-g++ win32-watc freebsd-g++ irix-64 macx-pbuilder ultrix-g++ win32-visa irix-g++ macx-g++ unixware-g irix-n32 solaris-64 unixware7-cc</p>
+<p>aix-64 netbsd-g++ solaris-cc unixware7-g++ aix-g++ linux-cxx openbsd-g++ solaris-g++ aix-xlc linux-g++ openunix-cc sunos-g++ win32-g++ bsdi-g++ linux-icc qnx-g++ tru64-cxx win32-msvc hurd-g++ linux-kcc tru64-g++ win32-watc freebsd-g++ macx-pbuilder ultrix-g++ win32-visa macx-g++ unixware-g solaris-64 unixware7-cc</p>
<li><p>TQTDIR <br> This must be set to where TQt is (or will be) installed. For example, <em>c:\qt</em> and <em>\local\qt</em></p>
</ul><p>Once the environment variables are set go into the qmake directory, <em>$TQTDIR/qmake</em>, e.g. <em>C:\qt\qmake</em>. Now run <em>make</em> or <em>nmake</em> depending on your compiler.</p>
<p>When the make has completed, <em>qmake</em> is ready for use.</p>
diff --git a/doc/html/tqglobal-h.html b/doc/html/tqglobal-h.html
index 4a37f1803..9f8610b3d 100644
--- a/doc/html/tqglobal-h.html
+++ b/doc/html/tqglobal-h.html
@@ -100,7 +100,6 @@ body { background: #ffffff; color: black; }
NETBSD - NetBSD
OPENBSD - OpenBSD
BSDI - BSD/OS
- IRIX - SGI Irix
UNIXWARE - UnixWare 7, Open UNIX 8
AIX - AIX
HURD - GNU Hurd
@@ -153,8 +152,6 @@ body { background: #ffffff; color: black; }
#elif defined(__bsdi__)
# define Q_OS_BSDI
# define Q_OS_BSD4
-#elif defined(__sgi)
-# define Q_OS_IRIX
#elif defined(_AIX)
# define Q_OS_AIX
#elif defined(__Lynx__)
@@ -363,20 +360,6 @@ body { background: #ffffff; color: black; }
# elif defined(CENTERLINE_CLPP) || defined(OBJECTCENTER)
# define Q_CC_OC
# define Q_NO_USING_KEYWORD
-
-/* The MIPSpro compiler in o32 mode is based on EDG but disables features
- such as template specialization nevertheless */
-# elif defined(__sgi)
-# define Q_CC_MIPS
-# if defined(_MIPS_SIM) &amp;&amp; (_MIPS_SIM == _ABIO32) /* o32 ABI */
-# define TQ_TYPENAME
-# elif defined(_COMPILER_VERSION) &amp;&amp; (_COMPILER_VERSION &lt; 730) /* 7.2 */
-# define TQ_TYPENAME
-# endif
-# define Q_NO_USING_KEYWORD /* ### check "using" status */
-# if defined(_COMPILER_VERSION) &amp;&amp; (_COMPILER_VERSION &gt;= 740)
-# pragma set woff 3624,3625, 3649 /* turn off some harmless warnings */
-# endif
# endif
/* The older UnixWare 2.X compiler? */
diff --git a/doc/html/tqtabletevent.html b/doc/html/tqtabletevent.html
index e1c29ef42..0fd1f3428 100644
--- a/doc/html/tqtabletevent.html
+++ b/doc/html/tqtabletevent.html
@@ -104,8 +104,6 @@ int <em>pos</em> and <em>globalPos</em>. <em>device</em> contains the <a href="
<em>pressure</em> contains the pressure exerted on the <em>device</em>, <em>xTilt</em> and <em>yTilt</em> contain
<em>device</em>'s degree of tilt from the X and Y axis respectively. The <em>uId</em> contains an
event id.
-<p> On Irix, <em>globalPos</em> will contain the high-resolution coordinates received from the
-tablet device driver, instead of from the windowing system.
<p> <p>See also <a href="#pos">pos</a>(), <a href="#globalPos">globalPos</a>(), <a href="#device">device</a>(), <a href="#pressure">pressure</a>(), <a href="#xTilt">xTilt</a>(), and <a href="#yTilt">yTilt</a>().
<h3 class=fn><a name="TQTabletEvent-2"></a>TQTabletEvent::TQTabletEvent ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;globalPos, int&nbsp;device, int&nbsp;pressure, int&nbsp;xTilt, int&nbsp;yTilt, const&nbsp;<a href="tqpair.html">TQPair</a>&lt;int,&nbsp;int&gt;&nbsp;&amp;&nbsp;uId )
@@ -117,9 +115,6 @@ occurred is is given in <em>pos</em> and <em>globalPos</em>. <em>device</em>
contains the <a href="#TabletDevice-enum">device type</a>, <em>pressure</em>
contains the pressure exerted on the <em>device</em>, <em>xTilt</em> and <em>yTilt</em> contain the <em>device</em>'s degrees of tilt from the X and Y
axis respectively. The <em>uId</em> contains an event id.
-<p> On Irix, <em>globalPos</em> will contain the high-resolution coordinates
-received from the tablet device driver, instead of from the
-windowing system.
<p> <p>See also <a href="#pos">pos</a>(), <a href="#globalPos">globalPos</a>(), <a href="#device">device</a>(), <a href="#pressure">pressure</a>(), <a href="#xTilt">xTilt</a>(), and <a href="#yTilt">yTilt</a>().
<h3 class=fn>void <a name="accept"></a>TQTabletEvent::accept ()
diff --git a/doc/man/man3/tqtabletevent.3qt b/doc/man/man3/tqtabletevent.3qt
index 73df57b7a..a92926152 100644
--- a/doc/man/man3/tqtabletevent.3qt
+++ b/doc/man/man3/tqtabletevent.3qt
@@ -94,16 +94,12 @@ This enum defines what type of device is generating the event.
.SH "TQTabletEvent::TQTabletEvent ( Type t, const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
Construct a tablet event of type \fIt\fR. The position of when the event occurred is given int \fIpos\fR and \fIglobalPos\fR. \fIdevice\fR contains the device type, \fIpressure\fR contains the pressure exerted on the \fIdevice\fR, \fIxTilt\fR and \fIyTilt\fR contain \fIdevice\fR's degree of tilt from the X and Y axis respectively. The \fIuId\fR contains an event id.
.PP
-On Irix, \fIglobalPos\fR will contain the high-resolution coordinates received from the tablet device driver, instead of from the windowing system.
-.PP
See also pos(), globalPos(), device(), pressure(), xTilt(), and yTilt().
.SH "TQTabletEvent::TQTabletEvent ( const TQPoint & pos, const TQPoint & globalPos, int device, int pressure, int xTilt, int yTilt, const TQPair<int, int> & uId )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Constructs a tablet event object. The position when the event occurred is is given in \fIpos\fR and \fIglobalPos\fR. \fIdevice\fR contains the device type, \fIpressure\fR contains the pressure exerted on the \fIdevice\fR, \fIxTilt\fR and \fIyTilt\fR contain the \fIdevice\fR's degrees of tilt from the X and Y axis respectively. The \fIuId\fR contains an event id.
.PP
-On Irix, \fIglobalPos\fR will contain the high-resolution coordinates received from the tablet device driver, instead of from the windowing system.
-.PP
See also pos(), globalPos(), device(), pressure(), xTilt(), and yTilt().
.SH "void TQTabletEvent::accept ()"
Sets the accept flag of the tablet event object.
diff --git a/mkspecs/irix-cc-64/qmake.conf b/mkspecs/irix-cc-64/qmake.conf
deleted file mode 100644
index 11d18976f..000000000
--- a/mkspecs/irix-cc-64/qmake.conf
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-#
-# qmake configuration for irix-cc-64
-#
-# From cc(1):
-# -64
-# Generates a 64-bit object. This defaults to -mips4 if -mips3 has
-# not been specified.
-# -LANG: ...
-# The language feature option group controls the source language
-# interpretation assumed by the compiler. The individual controls
-# in this group are as follows:
-# ansi-for-init-scope [ = ( ON|OFF ) ]
-# Enables or disables the ANSI scoping rules for for-init
-# declarations (the scope of the name declared extends to
-# the end of the for statement). This enables the behavior
-# that is required by the C++ standard. The default value
-# is OFF, which is the ARM behavior (the scope of the name
-# declared extends to the end of the block enclosing the for
-# statement).
-# std
-# Enables use of the standard C++ library and standard-
-# conforming iostream library. Specifying this flag also
-# triggers other standard-conforming behavior, such as the
-# new rules for the scope of for loop initializers.
-#
-
-MAKEFILE_GENERATOR = UNIX
-TEMPLATE = app
-CONFIG += qt warn_on release link_prl
-
-QMAKE_CC = cc
-QMAKE_LEX = flex
-QMAKE_LEXFLAGS =
-QMAKE_YACC = yacc
-QMAKE_YACCFLAGS = -d
-QMAKE_CFLAGS = -64 -signed -woff 1021,1209,1233,1314,1355,1375,1506
-QMAKE_CFLAGS_DEPS = -M
-QMAKE_CFLAGS_WARN_ON = -fullwarn
-QMAKE_CFLAGS_WARN_OFF =
-QMAKE_CFLAGS_RELEASE = -O2 -OPT:Olimit=3000
-QMAKE_CFLAGS_DEBUG = -g
-QMAKE_CFLAGS_SHLIB =
-QMAKE_CFLAGS_YACC = -woff 1110,1174,3262
-QMAKE_CFLAGS_THREAD =
-
-QMAKE_CXX = CC
-QMAKE_CXXFLAGS = -64 -signed -woff 1021,1209,1233,1314,1355,1375,1424,1506,1681,1682,3496
-QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
-QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
-QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
-QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
-QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
-QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
-QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
-QMAKE_CXXFLAGS_THREAD =
-
-QMAKE_INCDIR =
-QMAKE_LIBDIR =
-QMAKE_INCDIR_X11 =
-QMAKE_LIBDIR_X11 =
-QMAKE_INCDIR_TQT = $(TQTDIR)/include
-QMAKE_LIBDIR_TQT = $(TQTDIR)/lib
-QMAKE_INCDIR_OPENGL =
-QMAKE_LIBDIR_OPENGL =
-
-QMAKE_LINK = CC
-QMAKE_LINK_SHLIB = CC
-QMAKE_LFLAGS = -64
-QMAKE_LFLAGS_RELEASE =
-QMAKE_LFLAGS_DEBUG =
-QMAKE_LFLAGS_SHLIB = -shared
-QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
-QMAKE_LFLAGS_SONAME = -Wl,-soname,
-QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
-
-QMAKE_LIBS =
-QMAKE_LIBS_DYNLOAD =
-QMAKE_LIBS_X11 = -lXext -lX11 -lm
-QMAKE_LIBS_X11SM = -lSM -lICE
-QMAKE_LIBS_QT = -lqt
-QMAKE_LIBS_QT_THREAD = -ltqt-mt
-QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu -lm
-QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
-QMAKE_LIBS_THREAD = -lpthread
-
-QMAKE_MOC = $(TQTDIR)/bin/tqmoc
-QMAKE_UIC = $(TQTDIR)/bin/tquic
-
-QMAKE_AR = CC -ar -o
-QMAKE_RANLIB =
-
-QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
-
-QMAKE_TAR = tar -cf
-QMAKE_GZIP = gzip -9f
-
-QMAKE_COPY = cp -f
-QMAKE_MOVE = mv -f
-QMAKE_DEL_FILE = rm -f
-QMAKE_DEL_DIR = rmdir
-QMAKE_CHK_DIR_EXISTS = test -d
-QMAKE_MKDIR = mkdir -p
diff --git a/mkspecs/irix-cc-64/qplatformdefs.h b/mkspecs/irix-cc-64/qplatformdefs.h
deleted file mode 100644
index 5c7e122ad..000000000
--- a/mkspecs/irix-cc-64/qplatformdefs.h
+++ /dev/null
@@ -1,64 +0,0 @@
-#ifndef TQPLATFORMDEFS_H
-#define TQPLATFORMDEFS_H
-
-// Get TQt defines/settings
-
-#include "tqglobal.h"
-
-// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
-
-#include <unistd.h>
-
-
-// We are hot - unistd.h should have turned on the specific APIs we requested
-
-
-#ifdef TQT_THREAD_SUPPORT
-#include <pthread.h>
-#endif
-
-#include <dirent.h>
-#include <fcntl.h>
-#include <grp.h>
-#include <pwd.h>
-#include <signal.h>
-#include <dlfcn.h>
-
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <sys/ipc.h>
-#include <sys/time.h>
-#include <sys/shm.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-
-// DNS header files are not fully covered by X/Open specifications.
-// In particular nothing is said about res_* :/
-// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
-// included by <resolv.h>. Note that <arpa/nameser.h> must be included
-// before <resolv.h>.
-#include <netinet/in.h>
-#include <arpa/nameser.h>
-#include <resolv.h>
-
-
-#define QT_SIGNAL_RETTYPE void
-#define QT_SIGNAL_ARGS int
-#define QT_SIGNAL_IGNORE SIG_IGN
-
-#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
-#define QT_SOCKLEN_T size_t
-#else
-#define QT_SOCKLEN_T int
-#endif
-
-#if 0
-// on Irix 6.5 and better only - but how to check for it?
-#if defined(_SGIAPI)
-#define QT_SNPRINTF ::snprintf
-#define QT_VSNPRINTF ::vsnprintf
-#endif
-#endif
-
-#endif // TQPLATFORMDEFS_H
diff --git a/mkspecs/irix-cc-o32/qmake.conf b/mkspecs/irix-cc-o32/qmake.conf
deleted file mode 100644
index ffd8124a4..000000000
--- a/mkspecs/irix-cc-o32/qmake.conf
+++ /dev/null
@@ -1,88 +0,0 @@
-#
-#
-# qmake configuration for irix-cc-o32
-#
-# From cc(1):
-# -o32 or -32
-# Generates an (old) 32-bit object. See the o32(5) man page for
-# option descriptions and details. This defaults to -mips2 if
-# -mips1 has not been specified.
-#
-
-MAKEFILE_GENERATOR = UNIX
-TEMPLATE = app
-CONFIG += qt warn_on release link_prl
-
-QMAKE_CC = cc
-QMAKE_LEX = flex
-QMAKE_LEXFLAGS =
-QMAKE_YACC = yacc
-QMAKE_YACCFLAGS = -d
-QMAKE_CFLAGS_DEPS = -M
-QMAKE_CFLAGS = -o32 -signed -woff 3115,3203,3260,3672,3937
-QMAKE_CFLAGS_WARN_ON = -fullwarn
-QMAKE_CFLAGS_WARN_OFF =
-QMAKE_CFLAGS_RELEASE = -O2 -Olimit 3000
-QMAKE_CFLAGS_DEBUG = -g
-QMAKE_CFLAGS_SHLIB =
-QMAKE_CFLAGS_YACC = -woff 3203,3262
-QMAKE_CFLAGS_THREAD =
-
-QMAKE_CXX = CC
-QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
-QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
-QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
-QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
-QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
-QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
-QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
-QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
-QMAKE_CXXFLAGS_THREAD =
-
-QMAKE_INCDIR =
-QMAKE_LIBDIR =
-QMAKE_INCDIR_X11 =
-QMAKE_LIBDIR_X11 =
-QMAKE_INCDIR_TQT = $(TQTDIR)/include
-QMAKE_LIBDIR_TQT = $(TQTDIR)/lib
-QMAKE_INCDIR_OPENGL =
-QMAKE_LIBDIR_OPENGL =
-
-QMAKE_LINK = CC
-QMAKE_LINK_SHLIB = CC
-QMAKE_LFLAGS = -o32
-QMAKE_LFLAGS_RELEASE =
-QMAKE_LFLAGS_DEBUG =
-QMAKE_LFLAGS_SHLIB = -shared
-QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
-QMAKE_LFLAGS_SONAME = -Wl,-soname,
-QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
-
-QMAKE_LIBS =
-QMAKE_LIBS_DYNLOAD =
-QMAKE_LIBS_X11 = -lXext -lX11 -lm
-QMAKE_LIBS_X11SM = -lSM -lICE
-QMAKE_LIBS_QT = -lqt
-QMAKE_LIBS_QT_THREAD = -ltqt-mt
-QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu -lm
-QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
-QMAKE_LIBS_THREAD = -lpthread
-
-QMAKE_MOC = $(TQTDIR)/bin/tqmoc
-QMAKE_UIC = $(TQTDIR)/bin/tquic
-
-QMAKE_AR = ar cq
-QMAKE_RANLIB =
-
-QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
-
-QMAKE_TAR = tar -cf
-QMAKE_GZIP = gzip -9f
-
-QMAKE_COPY = cp -f
-QMAKE_MOVE = mv -f
-QMAKE_DEL_FILE = rm -f
-QMAKE_DEL_DIR = rmdir
-QMAKE_CHK_DIR_EXISTS = test -d
-QMAKE_MKDIR = mkdir -p
diff --git a/mkspecs/irix-cc-o32/qplatformdefs.h b/mkspecs/irix-cc-o32/qplatformdefs.h
deleted file mode 100644
index 815699bb4..000000000
--- a/mkspecs/irix-cc-o32/qplatformdefs.h
+++ /dev/null
@@ -1,60 +0,0 @@
-#ifndef TQPLATFORMDEFS_H
-#define TQPLATFORMDEFS_H
-
-// Get TQt defines/settings
-
-#include "tqglobal.h"
-
-// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
-
-#include <unistd.h>
-
-
-// We are hot - unistd.h should have turned on the specific APIs we requested
-
-
-#ifdef TQT_THREAD_SUPPORT
-#include <pthread.h>
-#endif
-
-#include <dirent.h>
-#include <fcntl.h>
-#include <grp.h>
-#include <pwd.h>
-#include <signal.h>
-#include <dlfcn.h>
-
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <sys/ipc.h>
-#include <sys/time.h>
-#include <sys/shm.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-
-// DNS header files are not fully covered by X/Open specifications.
-// In particular nothing is said about res_* :/
-// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
-// included by <resolv.h>. Note that <arpa/nameser.h> must be included
-// before <resolv.h>.
-#include <netinet/in.h>
-#include <arpa/nameser.h>
-#include <resolv.h>
-
-
-#define QT_SIGNAL_RETTYPE void
-#define QT_SIGNAL_ARGS int
-#define QT_SIGNAL_IGNORE SIG_IGN
-
-#define QT_SOCKLEN_T int
-
-#if 0
-// on Irix 6.5 and better only - but how to check for it?
-#if defined(_SGIAPI)
-#define QT_SNPRINTF ::snprintf
-#define QT_VSNPRINTF ::vsnprintf
-#endif
-#endif
-
-#endif // TQPLATFORMDEFS_H
diff --git a/mkspecs/irix-cc/qmake.conf b/mkspecs/irix-cc/qmake.conf
deleted file mode 100644
index be826006f..000000000
--- a/mkspecs/irix-cc/qmake.conf
+++ /dev/null
@@ -1,104 +0,0 @@
-#
-#
-# qmake configuration for irix-cc
-#
-# From cc(1):
-# -n32
-# Generates a (new) 32-bit object. This defaults to -mips3 if
-# -mips4 has not been specified.
-# -LANG: ...
-# The language feature option group controls the source language
-# interpretation assumed by the compiler. The individual controls
-# in this group are as follows:
-# ansi-for-init-scope [ = ( ON|OFF ) ]
-# Enables or disables the ANSI scoping rules for for-init
-# declarations (the scope of the name declared extends to
-# the end of the for statement). This enables the behavior
-# that is required by the C++ standard. The default value
-# is OFF, which is the ARM behavior (the scope of the name
-# declared extends to the end of the block enclosing the for
-# statement).
-# std
-# Enables use of the standard C++ library and standard-
-# conforming iostream library. Specifying this flag also
-# triggers other standard-conforming behavior, such as the
-# new rules for the scope of for loop initializers.
-#
-
-MAKEFILE_GENERATOR = UNIX
-TEMPLATE = app
-CONFIG += qt warn_on release link_prl
-
-QMAKE_CC = cc
-QMAKE_LEX = flex
-QMAKE_LEXFLAGS =
-QMAKE_YACC = yacc
-QMAKE_YACCFLAGS = -d
-QMAKE_CFLAGS = -n32 -signed -woff 1021,1209,1233,1314,1355,1375,1506
-QMAKE_CFLAGS_DEPS = -M
-QMAKE_CFLAGS_WARN_ON = -fullwarn
-QMAKE_CFLAGS_WARN_OFF =
-QMAKE_CFLAGS_RELEASE = -O2 -OPT:Olimit=3000
-QMAKE_CFLAGS_DEBUG = -g
-QMAKE_CFLAGS_SHLIB =
-QMAKE_CFLAGS_YACC = -woff 1110,1174,3262
-QMAKE_CFLAGS_THREAD =
-
-QMAKE_CXX = CC
-QMAKE_CXXFLAGS = -n32 -signed -woff 1021,1209,1233,1314,1355,1375,1424,1506,1681,1682,3496
-QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
-QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
-QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
-QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
-QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
-QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
-QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
-QMAKE_CXXFLAGS_THREAD =
-
-QMAKE_INCDIR =
-QMAKE_LIBDIR =
-QMAKE_INCDIR_X11 =
-QMAKE_LIBDIR_X11 =
-QMAKE_INCDIR_TQT = $(TQTDIR)/include
-QMAKE_LIBDIR_TQT = $(TQTDIR)/lib
-QMAKE_INCDIR_OPENGL =
-QMAKE_LIBDIR_OPENGL =
-
-QMAKE_LINK = CC
-QMAKE_LINK_SHLIB = CC
-QMAKE_LFLAGS = -n32
-QMAKE_LFLAGS_RELEASE =
-QMAKE_LFLAGS_DEBUG =
-QMAKE_LFLAGS_SHLIB = -shared
-QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
-QMAKE_LFLAGS_SONAME = -Wl,-soname,
-QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
-
-QMAKE_LIBS =
-QMAKE_LIBS_DYNLOAD =
-QMAKE_LIBS_X11 = -lXext -lX11 -lm
-QMAKE_LIBS_X11SM = -lSM -lICE
-QMAKE_LIBS_QT = -lqt
-QMAKE_LIBS_QT_THREAD = -ltqt-mt
-QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu -lm
-QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
-QMAKE_LIBS_THREAD = -lpthread
-
-QMAKE_MOC = $(TQTDIR)/bin/tqmoc
-QMAKE_UIC = $(TQTDIR)/bin/tquic
-
-QMAKE_AR = CC -ar -o
-QMAKE_RANLIB =
-
-QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
-
-QMAKE_TAR = tar -cf
-QMAKE_GZIP = gzip -9f
-
-QMAKE_COPY = cp -f
-QMAKE_MOVE = mv -f
-QMAKE_DEL_FILE = rm -f
-QMAKE_DEL_DIR = rmdir
-QMAKE_CHK_DIR_EXISTS = test -d
-QMAKE_MKDIR = mkdir -p
diff --git a/mkspecs/irix-cc/qplatformdefs.h b/mkspecs/irix-cc/qplatformdefs.h
deleted file mode 100644
index 5c7e122ad..000000000
--- a/mkspecs/irix-cc/qplatformdefs.h
+++ /dev/null
@@ -1,64 +0,0 @@
-#ifndef TQPLATFORMDEFS_H
-#define TQPLATFORMDEFS_H
-
-// Get TQt defines/settings
-
-#include "tqglobal.h"
-
-// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
-
-#include <unistd.h>
-
-
-// We are hot - unistd.h should have turned on the specific APIs we requested
-
-
-#ifdef TQT_THREAD_SUPPORT
-#include <pthread.h>
-#endif
-
-#include <dirent.h>
-#include <fcntl.h>
-#include <grp.h>
-#include <pwd.h>
-#include <signal.h>
-#include <dlfcn.h>
-
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <sys/ipc.h>
-#include <sys/time.h>
-#include <sys/shm.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-
-// DNS header files are not fully covered by X/Open specifications.
-// In particular nothing is said about res_* :/
-// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
-// included by <resolv.h>. Note that <arpa/nameser.h> must be included
-// before <resolv.h>.
-#include <netinet/in.h>
-#include <arpa/nameser.h>
-#include <resolv.h>
-
-
-#define QT_SIGNAL_RETTYPE void
-#define QT_SIGNAL_ARGS int
-#define QT_SIGNAL_IGNORE SIG_IGN
-
-#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
-#define QT_SOCKLEN_T size_t
-#else
-#define QT_SOCKLEN_T int
-#endif
-
-#if 0
-// on Irix 6.5 and better only - but how to check for it?
-#if defined(_SGIAPI)
-#define QT_SNPRINTF ::snprintf
-#define QT_VSNPRINTF ::vsnprintf
-#endif
-#endif
-
-#endif // TQPLATFORMDEFS_H
diff --git a/mkspecs/irix-g++/qmake.conf b/mkspecs/irix-g++/qmake.conf
deleted file mode 100644
index 03da1bc91..000000000
--- a/mkspecs/irix-g++/qmake.conf
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-#
-# qmake configuration for irix-g++
-#
-
-MAKEFILE_GENERATOR = UNIX
-TEMPLATE = app
-CONFIG += qt warn_on release link_prl
-
-QMAKE_CC = gcc
-QMAKE_LEX = flex
-QMAKE_LEXFLAGS =
-QMAKE_YACC = yacc
-QMAKE_YACCFLAGS = -d
-QMAKE_CFLAGS =
-QMAKE_CFLAGS_DEPS = -M
-QMAKE_CFLAGS_WARN_ON = -Wall -W
-QMAKE_CFLAGS_WARN_OFF = -w
-QMAKE_CFLAGS_RELEASE = -O2
-QMAKE_CFLAGS_DEBUG = -g
-QMAKE_CFLAGS_SHLIB = -fPIC
-QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
-QMAKE_CFLAGS_THREAD =
-
-QMAKE_CXX = g++
-QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
-QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
-QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
-QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
-QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
-QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
-QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
-QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
-QMAKE_CXXFLAGS_THREAD =
-
-QMAKE_INCDIR =
-QMAKE_LIBDIR =
-QMAKE_INCDIR_X11 =
-QMAKE_LIBDIR_X11 =
-QMAKE_INCDIR_TQT = $(TQTDIR)/include
-QMAKE_LIBDIR_TQT = $(TQTDIR)/lib
-QMAKE_INCDIR_OPENGL =
-QMAKE_LIBDIR_OPENGL =
-
-QMAKE_LINK = g++
-QMAKE_LINK_SHLIB = g++
-QMAKE_LFLAGS =
-QMAKE_LFLAGS_RELEASE =
-QMAKE_LFLAGS_DEBUG =
-QMAKE_LFLAGS_SHLIB = -shared -Wl,-LD_LAYOUT:lgot_buffer=1000
-QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
-QMAKE_LFLAGS_SONAME = -Wl,-soname,
-QMAKE_LFLAGS_THREAD =
-QMAKE_RPATH = -Wl,-rpath,
-
-QMAKE_LIBS = -lC
-QMAKE_LIBS_DYNLOAD =
-QMAKE_LIBS_X11 = -lXext -lX11 -lm
-QMAKE_LIBS_X11SM = -lSM -lICE
-QMAKE_LIBS_QT = -lqt
-QMAKE_LIBS_QT_THREAD = -ltqt-mt
-# libGLU is using the SGI C++ library internally and this somehow clashes
-# with the GNU C++ library (similar name mangling and symbol names?)
-# so we add -lC so that the SGI C++ library is used first...
-QMAKE_LIBS_OPENGL = -lGLU -lGL -lXmu
-QMAKE_LIBS_OPENGL_QT = -lGL -lXmu
-QMAKE_LIBS_THREAD = -lpthread
-
-QMAKE_MOC = $(TQTDIR)/bin/tqmoc
-QMAKE_UIC = $(TQTDIR)/bin/tquic
-
-QMAKE_AR = ar cq
-QMAKE_RANLIB =
-
-QMAKE_CLEAN = so_locations
-
-QMAKE_TAR = tar -cf
-QMAKE_GZIP = gzip -9f
-
-QMAKE_COPY = cp -f
-QMAKE_MOVE = mv -f
-QMAKE_DEL_FILE = rm -f
-QMAKE_DEL_DIR = rmdir
-QMAKE_CHK_DIR_EXISTS = test -d
-QMAKE_MKDIR = mkdir -p
diff --git a/mkspecs/irix-g++/qplatformdefs.h b/mkspecs/irix-g++/qplatformdefs.h
deleted file mode 100644
index 583bc76b5..000000000
--- a/mkspecs/irix-g++/qplatformdefs.h
+++ /dev/null
@@ -1,69 +0,0 @@
-#ifndef TQPLATFORMDEFS_H
-#define TQPLATFORMDEFS_H
-
-// Get TQt defines/settings
-
-#include "tqglobal.h"
-
-// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
-
-#include <unistd.h>
-
-
-// We are hot - unistd.h should have turned on the specific APIs we requested
-
-
-#ifdef TQT_THREAD_SUPPORT
-#include <pthread.h>
-#endif
-
-#include <dirent.h>
-#include <fcntl.h>
-#include <grp.h>
-#include <pwd.h>
-#include <signal.h>
-#include <dlfcn.h>
-
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <sys/ipc.h>
-#include <sys/time.h>
-#include <sys/shm.h>
-#include <sys/socket.h>
-#include <sys/stat.h>
-#include <sys/wait.h>
-
-// DNS header files are not fully covered by X/Open specifications.
-// In particular nothing is said about res_* :/
-// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
-// included by <resolv.h>. Note that <arpa/nameser.h> must be included
-// before <resolv.h>.
-#include <netinet/in.h>
-#include <arpa/nameser.h>
-#include <resolv.h>
-
-
-#define QT_SIGNAL_RETTYPE void
-#if defined(_LANGUAGE_C_PLUS_PLUS) || !defined(_SGIAPI)
-#define QT_SIGNAL_ARGS int
-#else
-#define QT_SIGNAL_ARGS void
-#endif
-#define QT_SIGNAL_IGNORE SIG_IGN
-
-#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500)
-#define QT_SOCKLEN_T size_t
-#else
-#define QT_SOCKLEN_T int
-#endif
-
-#if 0
-// on Irix 6.5 and better only - but how to check for it?
-#if defined(_SGIAPI)
-#define QT_SNPRINTF ::snprintf
-#define QT_VSNPRINTF ::vsnprintf
-#endif
-#endif
-
-#endif // TQPLATFORMDEFS_H
-
diff --git a/qmake/book/qmake-install.leaf b/qmake/book/qmake-install.leaf
index 7a1569f15..69a322eaf 100644
--- a/qmake/book/qmake-install.leaf
+++ b/qmake/book/qmake-install.leaf
@@ -28,10 +28,6 @@ aix-xlc
bsdi-g++
freebsd-g++
hurd-g++
-irix-032
-irix-64
-irix-g++
-irix-n32
linux-cxx
linux-g++
linux-icc
diff --git a/src/3rdparty/libmng/acinclude.m4 b/src/3rdparty/libmng/acinclude.m4
index f3cb3c95c..c2baeb453 100644
--- a/src/3rdparty/libmng/acinclude.m4
+++ b/src/3rdparty/libmng/acinclude.m4
@@ -43,8 +43,8 @@ AC_DEFUN(AC_SYS_LARGEFILE,
ac_cv_sys_largefile_CC,
[ac_cv_sys_largefile_CC=no
if test "$GCC" != yes; then
- # IRIX 6.2 and later do not support large files by default,
- # so use the C compiler's -n32 option if that helps.
+ # If the OS does not support large files by default,
+ # use the C compiler's -n32 option if that helps.
AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , ,
[ac_save_CC="$CC"
CC="$CC -n32"
diff --git a/src/3rdparty/libmng/aclocal.m4 b/src/3rdparty/libmng/aclocal.m4
index a0f9e41af..552f9a883 100644
--- a/src/3rdparty/libmng/aclocal.m4
+++ b/src/3rdparty/libmng/aclocal.m4
@@ -55,8 +55,8 @@ AC_DEFUN(AC_SYS_LARGEFILE,
ac_cv_sys_largefile_CC,
[ac_cv_sys_largefile_CC=no
if test "$GCC" != yes; then
- # IRIX 6.2 and later do not support large files by default,
- # so use the C compiler's -n32 option if that helps.
+ # If the OS does not support large files by default,
+ # use the C compiler's -n32 option if that helps.
AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , ,
[ac_save_CC="$CC"
CC="$CC -n32"
@@ -369,25 +369,6 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case $host in
-*-*-irix6*)
- # Find out which ABI we are using.
- echo '[#]line __oline__ "configure"' > conftest.$ac_ext
- if AC_TRY_EVAL(ac_compile); then
- case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -32"
- ;;
- *N32*)
- LD="${LD-ld} -n32"
- ;;
- *64-bit*)
- LD="${LD-ld} -64"
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-
ifdef([AC_PROVIDE_AC_LIBTOOL_WIN32_DLL],
[*-*-cygwin* | *-*-mingw* | *-*-pw32*)
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
@@ -487,9 +468,6 @@ aix*)
cygwin* | mingw* | pw32*)
symcode='[[ABCDGISTW]]'
;;
-irix*)
- symcode='[[BCDEGRST]]'
- ;;
solaris* | sysv5*)
symcode='[[BDT]]'
;;
@@ -1126,8 +1104,8 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
# like `-m68040'.
lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
;;
- beos* | irix5* | irix6*)
- # PIC is the default for these OSes.
+ beos*)
+ # PIC is the default for this OS
;;
darwin* | rhapsody*)
# PIC is the default on this platform
@@ -1162,12 +1140,6 @@ AC_CACHE_VAL(lt_cv_prog_cc_pic,
fi
;;
- irix5* | irix6*)
- lt_cv_prog_cc_wl='-Wl,'
- lt_cv_prog_cc_static='-non_shared'
- # PIC (with -KPIC) is the default.
- ;;
-
cygwin* | mingw* | pw32* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
@@ -1831,17 +1803,6 @@ else
hardcode_shlibpath_var=no
;;
- irix5* | irix6*)
- if test "$GCC" = yes; then
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- link_all_deplibs=yes
- ;;
-
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
@@ -2244,31 +2205,6 @@ gnu*)
hardcode_into_libs=yes
;;
-irix5* | irix6*)
- version_type=irix
- need_lib_prefix=no
- need_version=no
- soname_spec='${libname}${release}.so$major'
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
- case $host_os in
- irix5*)
- libsuff= shlibsuff=
- ;;
- *)
- case $LD in # libtool.m4 will add one of these switches to LD
- *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
- *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
- *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
- *) libsuff= shlibsuff= libmagic=never-match;;
- esac
- ;;
- esac
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- shlibpath_overrides_runpath=no
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- ;;
-
# No shared lib support for Linux oldld, aout, or coff.
linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
dynamic_linker=no
@@ -3419,27 +3355,6 @@ gnu*)
lt_cv_deplibs_check_method=pass_all
;;
-irix5* | irix6*)
- case $host_os in
- irix5*)
- # this will be overridden with pass_all, but let us keep it just in case
- lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
- ;;
- *)
- case $LD in
- *-32|*"-32 ") libmagic=32-bit;;
- *-n32|*"-n32 ") libmagic=N32;;
- *-64|*"-64 ") libmagic=64-bit;;
- *) libmagic=never-match;;
- esac
- # this will be overridden with pass_all, but let us keep it just in case
- lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1"
- ;;
- esac
- lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
- lt_cv_deplibs_check_method=pass_all
- ;;
-
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
diff --git a/src/3rdparty/libmng/config.guess b/src/3rdparty/libmng/config.guess
index 1c66e983f..d23eba0a7 100755
--- a/src/3rdparty/libmng/config.guess
+++ b/src/3rdparty/libmng/config.guess
@@ -196,9 +196,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
- sgi:OpenBSD:*:*)
- echo mips-unknown-openbsd${UNAME_RELEASE}
- exit 0 ;;
wgrisc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
@@ -380,9 +377,6 @@ EOF
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
echo m68k-tektronix-bsd
exit 0 ;;
- *:IRIX*:*:*)
- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
- exit 0 ;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
@@ -877,9 +871,6 @@ EOF
NSR-[KW]:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE}
exit 0 ;;
- *:NonStop-UX:*:*)
- echo mips-compaq-nonstopux
- exit 0 ;;
BS2000:POSIX*:*:*)
echo bs2000-siemens-sysv
exit 0 ;;
diff --git a/src/3rdparty/libmng/config.sub b/src/3rdparty/libmng/config.sub
index c23cdec33..fb9dfc911 100755
--- a/src/3rdparty/libmng/config.sub
+++ b/src/3rdparty/libmng/config.sub
@@ -137,7 +137,7 @@ case $os in
-sun*os*)
# Prevent following clause from handling this invalid input.
;;
- -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sony* | \
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
@@ -534,16 +534,6 @@ case $basic_machine in
basic_machine=i386-unknown
os=-vsta
;;
- iris | iris4d)
- basic_machine=mips-sgi
- case $os in
- -irix*)
- ;;
- *)
- os=-irix4
- ;;
- esac
- ;;
isi68 | isi)
basic_machine=m68k-isi
os=-sysv
@@ -657,10 +647,6 @@ case $basic_machine in
basic_machine=i960-intel
os=-mon960
;;
- nonstopux)
- basic_machine=mips-compaq
- os=-nonstopux
- ;;
np1)
basic_machine=np1-gould
;;
@@ -1019,7 +1005,7 @@ case $os in
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* \
| -*vms* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -unos* | -luna* | -solaris* | -sym* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
@@ -1034,7 +1020,7 @@ case $os in
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -openstep* | -oskit* | -conix* | -pw32* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos*)
# Remember, each alternative MUST END IN *, to match a version number.
@@ -1251,9 +1237,6 @@ case $basic_machine in
*-encore)
os=-bsd
;;
- *-sgi)
- os=-irix
- ;;
*-siemens)
os=-sysv4
;;
diff --git a/src/3rdparty/libmng/configure b/src/3rdparty/libmng/configure
index 8cc3b336b..7b1fe034d 100755
--- a/src/3rdparty/libmng/configure
+++ b/src/3rdparty/libmng/configure
@@ -733,7 +733,6 @@ ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
-# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
@@ -1976,27 +1975,6 @@ gnu*)
lt_cv_deplibs_check_method=pass_all
;;
-irix5* | irix6*)
- case $host_os in
- irix5*)
- # this will be overridden with pass_all, but let us keep it just in case
- lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
- ;;
- *)
- case $LD in
- *-32|*"-32 ") libmagic=32-bit;;
- *-n32|*"-n32 ") libmagic=N32;;
- *-64|*"-64 ") libmagic=64-bit;;
- *) libmagic=never-match;;
- esac
- # this will be overridden with pass_all, but let us keep it just in case
- lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
- ;;
- esac
- lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
- lt_cv_deplibs_check_method=pass_all
- ;;
-
# This must be Linux ELF.
linux-gnu*)
case $host_cpu in
@@ -2169,9 +2147,6 @@ aix*)
cygwin* | mingw* | pw32*)
symcode='[ABCDGISTW]'
;;
-irix*)
- symcode='[BCDEGRST]'
- ;;
solaris* | sysv5*)
symcode='[BDT]'
;;
@@ -2638,29 +2613,6 @@ fi
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case $host in
-*-*-irix6*)
- # Find out which ABI we are using.
- echo '#line 2676 "configure"' > conftest.$ac_ext
- if { (eval echo configure:2677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- case `/usr/bin/file conftest.$ac_objext` in
- *32-bit*)
- LD="${LD-ld} -32"
- ;;
- *N32*)
- LD="${LD-ld} -n32"
- ;;
- *64-bit*)
- LD="${LD-ld} -64"
- ;;
- esac
- fi
- rm -rf conftest*
- ;;
-esac
-
# Sed substitution that helps us do robust quoting. It backslashifies
# metacharacters that are still active within double-quoted strings.
Xsed='sed -e s/^X//'
@@ -2810,8 +2762,8 @@ else
# like `-m68040'.
lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
;;
- beos* | irix5* | irix6*)
- # PIC is the default for these OSes.
+ beos*)
+ # PIC is the default for this OS
;;
darwin* | rhapsody*)
# PIC is the default on this platform
@@ -2846,12 +2798,6 @@ else
fi
;;
- irix5* | irix6*)
- lt_cv_prog_cc_wl='-Wl,'
- lt_cv_prog_cc_static='-non_shared'
- # PIC (with -KPIC) is the default.
- ;;
-
cygwin* | mingw* | pw32* | os2*)
# This hack is so that the source file can tell whether it is being
# built for inclusion in a dll (and should export symbols for example).
@@ -3600,17 +3546,6 @@ else
hardcode_shlibpath_var=no
;;
- irix5* | irix6*)
- if test "$GCC" = yes; then
- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
- else
- archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
- fi
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
- hardcode_libdir_separator=:
- link_all_deplibs=yes
- ;;
-
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
@@ -4016,31 +3951,6 @@ gnu*)
hardcode_into_libs=yes
;;
-irix5* | irix6*)
- version_type=irix
- need_lib_prefix=no
- need_version=no
- soname_spec='${libname}${release}.so$major'
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
- case $host_os in
- irix5*)
- libsuff= shlibsuff=
- ;;
- *)
- case $LD in # libtool.m4 will add one of these switches to LD
- *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
- *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
- *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
- *) libsuff= shlibsuff= libmagic=never-match;;
- esac
- ;;
- esac
- shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
- shlibpath_overrides_runpath=no
- sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
- sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
- ;;
-
# No shared lib support for Linux oldld, aout, or coff.
linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
dynamic_linker=no
@@ -5357,7 +5267,6 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# incompatible versions:
# SysV /etc/install, /usr/sbin/install
# SunOS /usr/etc/install
-# IRIX /sbin/install
# AIX /bin/install
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
diff --git a/src/3rdparty/libmng/ltmain.sh b/src/3rdparty/libmng/ltmain.sh
index 244554861..45e445b74 100644
--- a/src/3rdparty/libmng/ltmain.sh
+++ b/src/3rdparty/libmng/ltmain.sh
@@ -988,15 +988,7 @@ compiler."
continue
;;
- # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:*
- # so, if we see these flags be careful not to treat them like -L
-L[A-Z][A-Z]*:*)
- case $with_gcc/$host in
- no/*-*-irix*)
- compile_command="$compile_command $arg"
- finalize_command="$finalize_command $arg"
- ;;
- esac
continue
;;
@@ -2273,23 +2265,6 @@ compiler."
versuffix=".$current";
;;
- irix)
- major=`expr $current - $age + 1`
- verstring="sgi$major.$revision"
-
- # Add in all the interfaces that we are compatible with.
- loop=$revision
- while test "$loop" -ne 0; do
- iface=`expr $revision - $loop`
- loop=`expr $loop - 1`
- verstring="sgi$major.$iface:$verstring"
- done
-
- # Before this point, $major must not contain `.'.
- major=.$major
- versuffix="$major.$revision"
- ;;
-
linux)
major=.`expr $current - $age`
versuffix="$major.$age.$revision"
diff --git a/src/3rdparty/libmng/missing b/src/3rdparty/libmng/missing
index d46f79f64..0b54a0e07 100755
--- a/src/3rdparty/libmng/missing
+++ b/src/3rdparty/libmng/missing
@@ -173,7 +173,7 @@ WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
- DU, IRIX). You might want to install the \`Texinfo' package or
+ DU). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
diff --git a/src/3rdparty/libpng/INSTALL b/src/3rdparty/libpng/INSTALL
index b4437d22a..90325f1ff 100644
--- a/src/3rdparty/libpng/INSTALL
+++ b/src/3rdparty/libpng/INSTALL
@@ -83,8 +83,6 @@ include
makefile.netbsd => NetBSD/cc makefile, uses PNGGCCRD, makes libpng.so.
makefile.ne0bsd => NetBSD/cc makefile, uses PNGGCCRD, makes libpng0.so
makefile.openbsd => OpenBSD makefile
- makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib)
- makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.5)
makefile.sunos => Sun makefile
makefile.solaris => Solaris 2.X makefile (gcc, creates libpng12.so.0.1.2.5)
makefile.so9 => Solaris 9 makefile (gcc, creates libpng12.so.0.1.2.5)
diff --git a/src/3rdparty/libpng/README b/src/3rdparty/libpng/README
index 18e148fe5..0a4a9d246 100644
--- a/src/3rdparty/libpng/README
+++ b/src/3rdparty/libpng/README
@@ -205,8 +205,6 @@ Files in this distribution:
makefile.netbsd => NetBSD/cc makefile, PNGGCCRD, makes libpng.so.
makefile.ne0bsd => NetBSD/cc makefile, PNGGCCRD, makes libpng0.so
makefile.openbsd => OpenBSD makefile
- makefile.sgi => Silicon Graphics IRIX (cc, creates static lib)
- makefile.sggcc => Silicon Graphics (gcc, creates libpng12.so.0.1.2.5)
makefile.sunos => Sun makefile
makefile.solaris => Solaris 2.X makefile
(gcc, creates libpng12.so.0.1.2.5)
@@ -241,8 +239,6 @@ Files in this distribution:
makefile.gcmmx => Linux/ELF makefile (gcc, creates
libpng12.so.0m.1.2.5, uses assembler code
tuned for Intel MMX platform)
- makefile.sgi => Silicon Graphics (cc, creates libpng12m.so)
- makefile.sggcc => Silicon Graphics (gcc, creates libpng12m.so)
Good luck, and happy coding.
diff --git a/src/3rdparty/libpng/scripts/makefile.sggcc b/src/3rdparty/libpng/scripts/makefile.sggcc
deleted file mode 100644
index 082de1b89..000000000
--- a/src/3rdparty/libpng/scripts/makefile.sggcc
+++ /dev/null
@@ -1,211 +0,0 @@
-# makefile for libpng.a and libpng12.so, SGI IRIX with 'cc'
-# Copyright (C) 2001-2002 Glenn Randers-Pehrson
-# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
-# For conditions of distribution and use, see copyright notice in png.h
-
-# Where make install puts libpng.a, libpng12.so, and libpng12/png.h
-# Prefix must be a full pathname.
-
-prefix=/usr/local
-
-# Where the zlib library and include files are located
-#ZLIBLIB=/usr/local/lib32
-#ZLIBINC=/usr/local/include
-#ZLIBLIB=/usr/local/lib
-#ZLIBINC=/usr/local/include
-ZLIBLIB=../zlib
-ZLIBINC=../zlib
-
-LIBNAME=libpng12
-PNGMAJ = 0
-PNGMIN = 1.2.5
-PNGVER = $(PNGMAJ).$(PNGMIN)
-CC=gcc
-
-# ABI can be blank to use default for your system, -32, -o32, -n32, or -64
-# See "man abi". zlib must be built with the same ABI.
-ABI=
-
-WARNMORE= # -g -DPNG_DEBUG=5
-CFLAGS=$(ABI) -I$(ZLIBINC) -O2 $(WARNMORE) -fPIC -mabi=n32
-LDFLAGS=$(ABI) -L. -L$(ZLIBLIB) -lpng -lz -lm
-LDSHARED=cc $(ABI) -shared -soname $(LIBNAME).so.$(PNGMAJ) \
- -set_version sgi$(PNGMAJ).0
-LDLEGACY=cc $(ABI) -shared -soname libpng.so.3 \
- -set_version sgi$3.0
-# See "man dso" for info about shared objects
-
-RANLIB=echo
-#RANLIB=ranlib
-
-INCPATH=$(prefix)/include
-LIBPATH=$(prefix)/lib
-#LIBPATH=$(prefix)/lib32
-MANPATH=$(prefix)/man
-BINPATH=$(prefix)/bin
-
-# override DESTDIR= on the make install command line to easily support
-# installing into a temporary location. Example:
-#
-# make install DESTDIR=/tmp/build/libpng
-#
-# If you're going to install into a temporary location
-# via DESTDIR, $(DESTDIR)$(prefix) must already exist before
-# you execute make install.
-DESTDIR=
-
-DB=$(DESTDIR)$(BINPATH)
-DI=$(DESTDIR)$(INCPATH)
-DL=$(DESTDIR)$(LIBPATH)
-DM=$(DESTDIR)$(MANPATH)
-
-OBJS = pnggccrd.o png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
- pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
- pngwtran.o pngmem.o pngerror.o pngpread.o
-
-all: libpng.a pngtest shared libpng.pc libpng-config
-
-libpng.a: $(OBJS)
- ar rc $@ $(OBJS)
- $(RANLIB) $@
-
-shared: $(LIBNAME).so.$(PNGVER)
-
-libpng.pc:
- cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
-
-libpng-config:
- ( cat scripts/libpng-config-head.in; \
- echo prefix=\"$(prefix)\"; \
- echo I_opts=\"-I$(INCPATH)/$(LIBNAME)\"; \
- echo ccopts=\"$(ABI)\"; \
- echo ldopts=\"$(ABI)\"; \
- echo L_opts=\"-L$(LIBPATH)\"; \
- echo libdir=\"$(LIBPATH)\"; \
- echo libs=\"-lpng12 -lz -lm\"; \
- cat scripts/libpng-config-body.in ) > libpng-config
- chmod +x libpng-config
-
-$(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
- ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
-
-$(LIBNAME).so.$(PNGMAJ): $(LIBNAME).so.$(PNGVER)
- ln -sf $(LIBNAME).so.$(PNGVER) $(LIBNAME).so.$(PNGMAJ)
-
-$(LIBNAME).so.$(PNGVER): $(OBJS)
- $(LDSHARED) -o $@ $(OBJS)
- rm -f $(LIBNAME).so $(LIBNAME).so.$(PNGMAJ)
-
-libpng.so.3.$(PNGMIN): $(OBJS)
- $(LDLEGACY) -o $@ $(OBJS)
-
-pngtest: pngtest.o libpng.a
- $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
-
-test: pngtest
- echo
- echo Testing local static library.
- ./pngtest
-
-install-headers: png.h pngconf.h
- -@if [ ! -d $(DI) ]; then mkdir $(DI); fi
- -@if [ ! -d $(DI)/$(LIBNAME) ]; then mkdir $(DI)/$(LIBNAME); fi
- cp png.h pngconf.h $(DI)/$(LIBNAME)
- chmod 644 $(DI)/$(LIBNAME)/png.h $(DI)/$(LIBNAME)/pngconf.h
- -@/bin/rm -f $(DI)/png.h $(DI)/pngconf.h
- -@/bin/rm -f $(DI)/libpng
- (cd $(DI); ln -sf $(LIBNAME) libpng; ln -sf $(LIBNAME)/* .)
-
-install-static: install-headers libpng.a
- -@if [ ! -d $(DL) ]; then mkdir $(DL); fi
- cp libpng.a $(DL)/$(LIBNAME).a
- chmod 644 $(DL)/$(LIBNAME).a
- -@/bin/rm -f $(DL)/libpng.a
- (cd $(DL); ln -sf $(LIBNAME).a libpng.a)
-
-install-shared: install-headers $(LIBNAME).so.$(PNGVER) libpng.pc \
- libpng.so.3.$(PNGMIN)
- -@if [ ! -d $(DL) ]; then mkdir $(DL); fi
- -@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGVER)* $(DL)/$(LIBNAME).so
- -@/bin/rm -f $(DL)/libpng.so
- -@/bin/rm -f $(DL)/libpng.so.3
- -@/bin/rm -f $(DL)/libpng.so.3.$(PNGMIN)*
- cp $(LIBNAME).so.$(PNGVER) $(DL)
- cp libpng.so.3.$(PNGMIN) $(DL)
- chmod 755 $(DL)/$(LIBNAME).so.$(PNGVER)
- chmod 755 $(DL)/libpng.so.3.$(PNGMIN)
- (cd $(DL); \
- ln -sf libpng.so.3.$(PNGMIN) libpng.so.3; \
- ln -sf libpng.so.3 libpng.so; \
- ln -sf $(LIBNAME).so.$(PNGVER) $(LIBNAME).so.$(PNGMAJ); \
- ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so)
- -@if [ ! -d $(DL)/pkgconfig ]; then mkdir $(DL)/pkgconfig; fi
- -@/bin/rm -f $(DL)/pkgconfig/$(LIBNAME).pc
- -@/bin/rm -f $(DL)/pkgconfig/libpng.pc
- cp libpng.pc $(DL)/pkgconfig/$(LIBNAME).pc
- chmod 644 $(DL)/pkgconfig/$(LIBNAME).pc
- (cd $(DL)/pkgconfig; ln -sf $(LIBNAME).pc libpng.pc)
-
-install-man: libpng.3 libpngpf.3 png.5
- -@if [ ! -d $(DM) ]; then mkdir $(DM); fi
- -@if [ ! -d $(DM)/man3 ]; then mkdir $(DM)/man3; fi
- -@/bin/rm -f $(DM)/man3/libpng.3
- -@/bin/rm -f $(DM)/man3/libpngpf.3
- cp libpng.3 $(DM)/man3
- cp libpngpf.3 $(DM)/man3
- -@if [ ! -d $(DM)/man5 ]; then mkdir $(DM)/man5; fi
- -@/bin/rm -f $(DM)/man5/png.5
- cp png.5 $(DM)/man5
-
-install-config: libpng-config
- -@if [ ! -d $(DB) ]; then mkdir $(DB); fi
- -@/bin/rm -f $(DB)/libpng-config
- -@/bin/rm -f $(DB)/$(LIBNAME)-config
- cp libpng-config $(DB)/$(LIBNAME)-config
- chmod 755 $(DB)/$(LIBNAME)-config
- (cd $(DB); ln -sf $(LIBNAME)-config libpng-config)
-
-install: install-static install-shared install-man install-config
-
-# If you installed in $(DESTDIR), test-installed won't work until you
-# move the library to its final location.
-
-test-installed:
- echo
- echo Testing installed dynamic shared library.
- $(CC) -I$(ZLIBINC) \
- `$(BINPATH)/libpng12-config --cflags` pngtest.c \
- -L$(ZLIBLIB) -rpath $(ZLIBLIB):`$(BINPATH)/libpng12-config --libdir` \
- -o pngtesti `$(BINPATH)/libpng12-config --ldflags`
- ./pngtesti pngtest.png
-
-clean:
- rm -f *.o libpng.a pngtest pngtesti pngout.png libpng.pc libpng-config \
- $(LIBNAME).so $(LIBNAME).so.$(PNGMAJ)* \
- libpng.so.3.$(PNGMIN) \
- so_locations
-
-DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
-writelock:
- chmod a-w *.[ch35] $(DOCS) scripts/*
-
-# DO NOT DELETE THIS LINE -- make depend depends on it.
-
-png.o: png.h pngconf.h
-pngerror.o: png.h pngconf.h
-pngrio.o: png.h pngconf.h
-pngwio.o: png.h pngconf.h
-pngmem.o: png.h pngconf.h
-pngset.o: png.h pngconf.h
-pngget.o: png.h pngconf.h
-pngread.o: png.h pngconf.h
-pngrtran.o: png.h pngconf.h
-pngrutil.o: png.h pngconf.h
-pngtest.o: png.h pngconf.h
-pngtrans.o: png.h pngconf.h
-pngwrite.o: png.h pngconf.h
-pngwtran.o: png.h pngconf.h
-pngwutil.o: png.h pngconf.h
-pngpread.o: png.h pngconf.h
-pnggccrd.o: png.h pngconf.h
-
diff --git a/src/3rdparty/libpng/scripts/makefile.sgi b/src/3rdparty/libpng/scripts/makefile.sgi
deleted file mode 100644
index 219b8adfb..000000000
--- a/src/3rdparty/libpng/scripts/makefile.sgi
+++ /dev/null
@@ -1,217 +0,0 @@
-# makefile for libpng.a and libpng12.so, SGI IRIX with 'cc'
-# Copyright (C) 2001-2002 Glenn Randers-Pehrson
-# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
-# For conditions of distribution and use, see copyright notice in png.h
-
-LIBNAME=libpng12
-PNGMAJ = 0
-PNGMIN = 1.2.5
-PNGVER = $(PNGMAJ).$(PNGMIN)
-
-# Where make install puts libpng.a, libpng12.so, and libpng12/png.h
-# Prefix must be a full pathname.
-
-prefix=/usr/local
-
-# Where the zlib library and include files are located
-#ZLIBLIB=/usr/local/lib32
-#ZLIBINC=/usr/local/include
-#ZLIBLIB=/usr/local/lib
-#ZLIBINC=/usr/local/include
-ZLIBLIB=../zlib
-ZLIBINC=../zlib
-
-CC=cc
-
-# ABI can be blank to use default for your system, -32, -o32, -n32, or -64
-# See "man abi". zlib must be built with the same ABI.
-ABI=
-
-WARNMORE=-fullwarn
-# Note: -KPIC is the default anyhow
-#CFLAGS= $(ABI) -I$(ZLIBINC) -O $(WARNMORE) -KPIC -DPNG_USE_PNGGCCRD # -g -DPNG_DEBUG=5
-CFLAGS=$(ABI) -I$(ZLIBINC) -O $(WARNMORE) -DPNG_USE_PNGGCCRD \
- -DPNG_NO_ASSEMBLER_CODE
-LDFLAGS_A=$(ABI) -L. -L$(ZLIBLIB) -lpng12 -lz -lm
-LDFLAGS=$(ABI) -L. -L$(ZLIBLIB) -lpng -lz -lm
-LDSHARED=cc $(ABI) -shared -soname $(LIBNAME).so.$(PNGMAJ) \
- -set_version sgi$(PNGMAJ).0
-LDLEGACY=cc $(ABI) -shared -soname libpng.so.3 \
- -set_version sgi$3.0
-# See "man dso" for info about shared objects
-
-RANLIB=echo
-#RANLIB=ranlib
-
-INCPATH=$(prefix)/include
-LIBPATH=$(prefix)/lib
-#LIBPATH=$(prefix)/lib32
-MANPATH=$(prefix)/man
-BINPATH=$(prefix)/bin
-
-# override DESTDIR= on the make install command line to easily support
-# installing into a temporary location. Example:
-#
-# make install DESTDIR=/tmp/build/libpng
-#
-# If you're going to install into a temporary location
-# via DESTDIR, $(DESTDIR)$(prefix) must already exist before
-# you execute make install.
-DESTDIR=
-
-DB=$(DESTDIR)$(BINPATH)
-DI=$(DESTDIR)$(INCPATH)
-DL=$(DESTDIR)$(LIBPATH)
-DM=$(DESTDIR)$(MANPATH)
-
-OBJS = pnggccrd.o png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
- pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
- pngwtran.o pngmem.o pngerror.o pngpread.o
-
-all: libpng.a pngtest shared libpng.pc libpng-config
-
-libpng.a: $(OBJS)
- ar rc $@ $(OBJS)
- $(RANLIB) $@
-
-shared: $(LIBNAME).so.$(PNGVER)
-
-libpng.pc:
- cat scripts/libpng.pc.in | sed -e s\!@PREFIX@!$(prefix)! > libpng.pc
-
-libpng-config:
- ( cat scripts/libpng-config-head.in; \
- echo prefix=\"$(prefix)\"; \
- echo I_opts=\"-I$(INCPATH)/$(LIBNAME)\"; \
- echo cppflags=\"-DPNG_USE_PNGGCCRD -DPNG_NO_ASSEMBLER_CODE\"; \
- echo ccopts=\"$(ABI)\"; \
- echo ldopts=\"$(ABI)\"; \
- echo L_opts=\"-L$(LIBPATH)\"; \
- echo libdir=\"$(LIBPATH)\"; \
- echo libs=\"-lpng12 -lz -lm\"; \
- cat scripts/libpng-config-body.in ) > libpng-config
- chmod +x libpng-config
-
-$(LIBNAME).so: $(LIBNAME).so.$(PNGMAJ)
- ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so
-
-$(LIBNAME).so.$(PNGMAJ): $(LIBNAME).so.$(PNGVER)
- ln -sf $(LIBNAME).so.$(PNGVER) $(LIBNAME).so.$(PNGMAJ)
-
-$(LIBNAME).so.$(PNGVER): $(OBJS)
- $(LDSHARED) -o $@ $(OBJS)
- rm -f $(LIBNAME).so $(LIBNAME).so.$(PNGMAJ)
-
-libpng.so.3.$(PNGMIN): $(OBJS)
- $(LDLEGACY) -o $@ $(OBJS)
-
-pngtest: pngtest.o libpng.a
- $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
-
-test: pngtest
- echo
- echo Testing local static library.
- ./pngtest
-
-install-headers: png.h pngconf.h
- -@if [ ! -d $(DI) ]; then mkdir $(DI); fi
- -@if [ ! -d $(DI)/$(LIBNAME) ]; then mkdir $(DI)/$(LIBNAME); fi
- cp png.h pngconf.h $(DI)/$(LIBNAME)
- chmod 644 $(DI)/$(LIBNAME)/png.h $(DI)/$(LIBNAME)/pngconf.h
- -@/bin/rm -f $(DI)/png.h $(DI)/pngconf.h
- -@/bin/rm -f $(DI)/libpng
- (cd $(DI); ln -sf $(LIBNAME) libpng; ln -sf $(LIBNAME)/* .)
-
-install-static: install-headers libpng.a
- -@if [ ! -d $(DL) ]; then mkdir $(DL); fi
- cp libpng.a $(DL)/$(LIBNAME).a
- chmod 644 $(DL)/$(LIBNAME).a
- -@/bin/rm -f $(DL)/libpng.a
- (cd $(DL); ln -sf $(LIBNAME).a libpng.a)
-
-install-shared: install-headers $(LIBNAME).so.$(PNGVER) libpng.pc \
- libpng.so.3.$(PNGMIN)
- -@if [ ! -d $(DL) ]; then mkdir $(DL); fi
- -@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGVER)* $(DL)/$(LIBNAME).so
- -@/bin/rm -f $(DL)/libpng.so
- -@/bin/rm -f $(DL)/libpng.so.3
- -@/bin/rm -f $(DL)/libpng.so.3.$(PNGMIN)*
- cp $(LIBNAME).so.$(PNGVER) $(DL)
- cp libpng.so.3.$(PNGMIN) $(DL)
- chmod 755 $(DL)/$(LIBNAME).so.$(PNGVER)
- chmod 755 $(DL)/libpng.so.3.$(PNGMIN)
- (cd $(DL); \
- ln -sf libpng.so.3.$(PNGMIN) libpng.so.3; \
- ln -sf libpng.so.3 libpng.so; \
- ln -sf $(LIBNAME).so.$(PNGVER) $(LIBNAME).so.$(PNGMAJ); \
- ln -sf $(LIBNAME).so.$(PNGMAJ) $(LIBNAME).so)
- -@if [ ! -d $(DL)/pkgconfig ]; then mkdir $(DL)/pkgconfig; fi
- -@/bin/rm -f $(DL)/pkgconfig/$(LIBNAME).pc
- -@/bin/rm -f $(DL)/pkgconfig/libpng.pc
- cp libpng.pc $(DL)/pkgconfig/$(LIBNAME).pc
- chmod 644 $(DL)/pkgconfig/$(LIBNAME).pc
- (cd $(DL)/pkgconfig; ln -sf $(LIBNAME).pc libpng.pc)
-
-install-man: libpng.3 libpngpf.3 png.5
- -@if [ ! -d $(DM) ]; then mkdir $(DM); fi
- -@if [ ! -d $(DM)/man3 ]; then mkdir $(DM)/man3; fi
- -@/bin/rm -f $(DM)/man3/libpng.3
- -@/bin/rm -f $(DM)/man3/libpngpf.3
- cp libpng.3 $(DM)/man3
- cp libpngpf.3 $(DM)/man3
- -@if [ ! -d $(DM)/man5 ]; then mkdir $(DM)/man5; fi
- -@/bin/rm -f $(DM)/man5/png.5
- cp png.5 $(DM)/man5
-
-install-config: libpng-config
- -@if [ ! -d $(DB) ]; then mkdir $(DB); fi
- -@/bin/rm -f $(DB)/libpng-config
- -@/bin/rm -f $(DB)/$(LIBNAME)-config
- cp libpng-config $(DB)/$(LIBNAME)-config
- chmod 755 $(DB)/$(LIBNAME)-config
- (cd $(DB); ln -sf $(LIBNAME)-config libpng-config)
-
-install: install-static install-shared install-man install-config
-
-# If you installed in $(DESTDIR), test-installed won't work until you
-# move the library to its final location.
-
-test-installed:
- echo
- echo Testing installed dynamic shared library.
- $(CC) -I$(ZLIBINC) \
- `$(BINPATH)/libpng12-config --cflags` pngtest.c \
- -L$(ZLIBLIB) -rpath $(ZLIBLIB):`$(BINPATH)/libpng12-config --libdir` \
- -o pngtesti `$(BINPATH)/libpng12-config --ldflags`
- ./pngtesti pngtest.png
-
-clean:
- rm -f *.o libpng.a pngtest pngtesti pngout.png libpng.pc libpng-config \
- $(LIBNAME).so $(LIBNAME).so.$(PNGMAJ)* \
- libpng.so.3.$(PNGMIN) \
- so_locations
-
-DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
-writelock:
- chmod a-w *.[ch35] $(DOCS) scripts/*
-
-# DO NOT DELETE THIS LINE -- make depend depends on it.
-
-png.o: png.h pngconf.h
-pngerror.o: png.h pngconf.h
-pngrio.o: png.h pngconf.h
-pngwio.o: png.h pngconf.h
-pngmem.o: png.h pngconf.h
-pngset.o: png.h pngconf.h
-pngget.o: png.h pngconf.h
-pngread.o: png.h pngconf.h
-pngrtran.o: png.h pngconf.h
-pngrutil.o: png.h pngconf.h
-pngtest.o: png.h pngconf.h
-pngtrans.o: png.h pngconf.h
-pngwrite.o: png.h pngconf.h
-pngwtran.o: png.h pngconf.h
-pngwutil.o: png.h pngconf.h
-pngpread.o: png.h pngconf.h
-pnggccrd.o: png.h pngconf.h
-
diff --git a/src/3rdparty/zlib/configure b/src/3rdparty/zlib/configure
index d36abb38a..7dab28f86 100755
--- a/src/3rdparty/zlib/configure
+++ b/src/3rdparty/zlib/configure
@@ -93,9 +93,6 @@ else
# find system name and corresponding cc options
CC=${CC-cc}
case `(uname -sr || echo unknown) 2>/dev/null` in
- IRIX*) SFLAGS=${CFLAGS-"-ansi -O2 -rpath ."}
- CFLAGS=${CFLAGS-"-ansi -O2"}
- LDSHARED=${LDSHARED-"cc -shared"};;
QNX*) SFLAGS=${CFLAGS-"-4 -O"}
CFLAGS=${CFLAGS-"-4 -O"}
LDSHARED=${LDSHARED-"cc"}
diff --git a/src/kernel/tqapplication.cpp b/src/kernel/tqapplication.cpp
index 97368b0c6..6f9e2872a 100644
--- a/src/kernel/tqapplication.cpp
+++ b/src/kernel/tqapplication.cpp
@@ -1434,8 +1434,6 @@ TQStyle& TQApplication::style()
style = "Windows"; // default styles for Windows
#elif defined(TQ_WS_X11) && defined(Q_OS_SOLARIS)
style = "CDE"; // default style for X11 on Solaris
-#elif defined(TQ_WS_X11) && defined(Q_OS_IRIX)
- style = "SGI"; // default style for X11 on IRIX
#elif defined(TQ_WS_X11)
style = "Motif"; // default style for X11
#elif defined(TQ_WS_MAC)
diff --git a/src/kernel/tqapplication_x11.cpp b/src/kernel/tqapplication_x11.cpp
index eeb5e0e36..5b0bba96e 100644
--- a/src/kernel/tqapplication_x11.cpp
+++ b/src/kernel/tqapplication_x11.cpp
@@ -2272,12 +2272,10 @@ void tqt_init_internal( int *argcptr, char **argv,
XEventClass *ev_class;
int curr_event_count;
-#if !defined(Q_OS_IRIX)
// XFree86 divides a stylus and eraser into 2 devices, so we must do for both...
const TQString XFREENAMESTYLUS = "stylus";
const TQString XFREENAMEPEN = "pen";
const TQString XFREENAMEERASER = "eraser";
-#endif
devices = XListInputDevices( appDpy, &ndev);
if ( devices == NULL ) {
@@ -2287,11 +2285,6 @@ void tqt_init_internal( int *argcptr, char **argv,
dev = NULL;
for ( devs = devices, i = 0; i < ndev; i++, devs++ ) {
gotEraser = false;
-#if defined(Q_OS_IRIX)
-
- gotStylus = ( !strncmp(devs->name,
- WACOM_NAME, sizeof(WACOM_NAME) - 1) );
-#else
TQString devName = devs->name;
devName = devName.lower();
gotStylus = ( devName.startsWith(XFREENAMEPEN)
@@ -2299,7 +2292,6 @@ void tqt_init_internal( int *argcptr, char **argv,
if ( !gotStylus )
gotEraser = devName.startsWith( XFREENAMEERASER );
-#endif
if ( gotStylus || gotEraser ) {
// I only wanted to do this once, so wrap pointers around these
curr_event_count = 0;
@@ -2358,11 +2350,7 @@ void tqt_init_internal( int *argcptr, char **argv,
v = (XValuatorInfoPtr) any;
a = (XAxisInfoPtr) ((char *) v +
sizeof (XValuatorInfo));
-#if defined (Q_OS_IRIX)
- max_pressure = a[WAC_PRESSURE_I].max_value;
-#else
max_pressure = a[2].max_value;
-#endif
// got the max pressure no need to go further...
break;
}
@@ -2373,11 +2361,7 @@ void tqt_init_internal( int *argcptr, char **argv,
}
// at this point we are assuming there is only one
// wacom device...
-#if defined (Q_OS_IRIX)
- if ( devStylus != NULL ) {
-#else
if ( devStylus != NULL && devEraser != NULL ) {
-#endif
break;
}
}
@@ -4237,18 +4221,6 @@ bool TQETWidget::translateMouseEvent( const XEvent *event )
case 9: button = HistoryForwardButton; break;
}
if ( event->type == ButtonPress ) { // mouse button pressed
-#if defined(Q_OS_IRIX) && defined(QT_TABLET_SUPPORT)
- XEvent myEv;
- if ( XCheckTypedEvent( appDpy, xinput_button_press, &myEv ) ) {
- if ( translateXinputEvent( &myEv ) ) {
- //Spontaneous event sent. Check if we need to continue.
- if ( chokeMouse ) {
- chokeMouse = false;
- return false;
- }
- }
- }
-#endif
qt_button_down = childAt( pos ); //magic for masked widgets
if ( !qt_button_down || !qt_button_down->testWFlags(WMouseNoMask) )
qt_button_down = this;
@@ -4270,18 +4242,6 @@ bool TQETWidget::translateMouseEvent( const XEvent *event )
mouseGlobalXPos = globalPos.x();
mouseGlobalYPos = globalPos.y();
} else { // mouse button released
-#if defined(Q_OS_IRIX) && defined(QT_TABLET_SUPPORT)
- XEvent myEv;
- if ( XCheckTypedEvent( appDpy, xinput_button_release, &myEv ) ) {
- if ( translateXinputEvent( &myEv ) ) {
- //Spontaneous event sent. Check if we need to continue.
- if ( chokeMouse ) {
- chokeMouse = false;
- return false;
- }
- }
- }
-#endif
if ( manualGrab ) { // release manual grab
manualGrab = false;
XUngrabPointer( x11Display(), CurrentTime );
@@ -4456,15 +4416,6 @@ bool TQETWidget::translateWheelEvent( int global_x, int global_y, int delta, int
#if defined (QT_TABLET_SUPPORT)
bool TQETWidget::translateXinputEvent( const XEvent *ev )
{
-#if defined (Q_OS_IRIX)
- // Wacom has put defines in their wacom.h file so it would be quite wise
- // to use them, need to think of a decent way of not using
- // it when it doesn't exist...
- XDeviceState *s;
- XInputClass *iClass;
- XValuatorState *vs;
- int j;
-#endif
TQWidget *w = this;
TQPoint global,
curr;
@@ -4475,9 +4426,6 @@ bool TQETWidget::translateXinputEvent( const XEvent *ev )
TQPair<int, int> tId;
XEvent xinputMotionEvent;
XEvent mouseMotionEvent;
-#if defined (Q_OS_IRIX)
- XDevice *dev;
-#endif
const XDeviceMotionEvent *motion = 0;
XDeviceButtonEvent *button = 0;
TQEvent::Type t;
@@ -4527,10 +4475,6 @@ bool TQETWidget::translateXinputEvent( const XEvent *ev )
*/
curr = TQPoint( button->x, button->y );
}
-#if defined(Q_OS_IRIX)
- // default...
- dev = devStylus;
-#else
if ( ev->type == xinput_motion ) {
if ( motion->deviceid == devStylus->device_id ) {
deviceType = TQTabletEvent::Stylus;
@@ -4544,7 +4488,6 @@ bool TQETWidget::translateXinputEvent( const XEvent *ev )
deviceType = TQTabletEvent::Eraser;
}
}
-#endif
const int PRESSURE_LEVELS = 255;
// we got the maximum pressure at start time, since various tablets have
@@ -4557,49 +4500,6 @@ bool TQETWidget::translateXinputEvent( const XEvent *ev )
else
scaleFactor = PRESSURE_LEVELS / max_pressure;
}
-#if defined (Q_OS_IRIX)
- s = XQueryDeviceState( appDpy, dev );
- if ( s == NULL )
- return false;
- iClass = s->data;
- for ( j = 0; j < s->num_classes; j++ ) {
- if ( iClass->c_class == ValuatorClass ) {
- vs = (XValuatorState *)iClass;
- // figure out what device we have, based on bitmasking...
- if ( vs->valuators[WAC_TRANSDUCER_I]
- & WAC_TRANSDUCER_PROX_MSK ) {
- switch ( vs->valuators[WAC_TRANSDUCER_I]
- & WAC_TRANSDUCER_MSK ) {
- case WAC_PUCK_ID:
- deviceType = TQTabletEvent::Puck;
- break;
- case WAC_STYLUS_ID:
- deviceType = TQTabletEvent::Stylus;
- break;
- case WAC_ERASER_ID:
- deviceType = TQTabletEvent::Eraser;
- break;
- }
- // Get a Unique Id for the device, Wacom gives us this ability
- tId.first = vs->valuators[WAC_TRANSDUCER_I] & WAC_TRANSDUCER_ID_MSK;
- tId.second = vs->valuators[WAC_SERIAL_NUM_I];
- } else
- deviceType = TQTabletEvent::NoDevice;
- // apparently Wacom needs a cast for the +/- values to make sense
- xTilt = short(vs->valuators[WAC_XTILT_I]);
- yTilt = short(vs->valuators[WAC_YTILT_I]);
- if ( max_pressure > PRESSURE_LEVELS )
- pressure = vs->valuators[WAC_PRESSURE_I] / scaleFactor;
- else
- pressure = vs->valuators[WAC_PRESSURE_I] * scaleFactor;
- global = TQPoint( vs->valuators[WAC_XCOORD_I],
- vs->valuators[WAC_YCOORD_I] );
- break;
- }
- iClass = (XInputClass*)((char*)iClass + iClass->length);
- }
- XFreeDeviceState( s );
-#else
if ( motion ) {
xTilt = short(motion->axis_data[3]);
yTilt = short(motion->axis_data[4]);
@@ -4619,7 +4519,6 @@ bool TQETWidget::translateXinputEvent( const XEvent *ev )
}
// The only way to get these Ids is to scan the XFree86 log, which I'm not going to do.
tId.first = tId.second = -1;
-#endif
TQTabletEvent e( t, curr, global, deviceType, pressure, xTilt, yTilt, tId );
TQApplication::sendSpontaneousEvent( w, &e );
diff --git a/src/kernel/tqevent.cpp b/src/kernel/tqevent.cpp
index d1cf09fe9..053c00223 100644
--- a/src/kernel/tqevent.cpp
+++ b/src/kernel/tqevent.cpp
@@ -1970,9 +1970,6 @@ TQContextMenuEvent::TQContextMenuEvent( Reason reason, const TQPoint &pos, int s
\a device's degree of tilt from the X and Y axis respectively. The \a uId contains an
event id.
- On Irix, \a globalPos will contain the high-resolution coordinates received from the
- tablet device driver, instead of from the windowing system.
-
\sa pos(), globalPos(), device(), pressure(), xTilt(), yTilt()
*/
@@ -2002,10 +1999,6 @@ TQTabletEvent::TQTabletEvent( Type t, const TQPoint &pos, const TQPoint &globalP
yTilt contain the \a device's degrees of tilt from the X and Y
axis respectively. The \a uId contains an event id.
- On Irix, \a globalPos will contain the high-resolution coordinates
- received from the tablet device driver, instead of from the
- windowing system.
-
\sa pos(), globalPos(), device(), pressure(), xTilt(), yTilt()
*/
diff --git a/src/kernel/tqt_x11_p.h b/src/kernel/tqt_x11_p.h
index aeb120203..b84bfca4b 100644
--- a/src/kernel/tqt_x11_p.h
+++ b/src/kernel/tqt_x11_p.h
@@ -88,9 +88,6 @@
// the wacom tablet (currently just the IRIX version)
#if defined (QT_TABLET_SUPPORT)
# include <X11/extensions/XInput.h>
-#if defined (Q_OS_IRIX)
-# include <wacom.h> // wacom driver defines for IRIX (quite handy)
-#endif
#endif // QT_TABLET_SUPPORT
@@ -190,10 +187,6 @@ typedef char *XPointer;
#elif defined(Q_OS_AIX)
// broken in Xlib up to what version of AIX?
#define TQT_NO_XIM
-#elif defined(TQT_NO_DEBUG) && defined(Q_OS_IRIX)
-// XmbLookupString broken on IRIX
-// XCreateIC broken when compiling -64 on IRIX 6.5.2
-#define TQT_NO_XIM
#endif // TQT_NO_XIM
diff --git a/src/tools/qt_tools.pri b/src/tools/qt_tools.pri
index 702e575f7..a01835953 100644
--- a/src/tools/qt_tools.pri
+++ b/src/tools/qt_tools.pri
@@ -138,11 +138,5 @@ tools {
$$TOOLS_CPP/tqunicodetables.cpp \
$$TOOLS_CPP/tqucom.cpp \
$$TOOLS_CPP/tquuid.cpp
-
- irix-cc* {
- CXXFLAGS_PRELINK = $$QMAKE_CXXFLAGS
- CXXFLAGS_PRELINK -= -O2
- QMAKE_PRE_LINK = $(CXX) -c $$CXXFLAGS_PRELINK -O1 $(INCPATH) -o $(OBJECTS_DIR)/tqlocale.o tools/tqlocale.cpp
- }
}
diff --git a/src/tools/tqglobal.h b/src/tools/tqglobal.h
index ff0d7d835..1f98a5d85 100644
--- a/src/tools/tqglobal.h
+++ b/src/tools/tqglobal.h
@@ -65,7 +65,6 @@
NETBSD - NetBSD
OPENBSD - OpenBSD
BSDI - BSD/OS
- IRIX - SGI Irix
UNIXWARE - UnixWare 7, Open UNIX 8
AIX - AIX
HURD - GNU Hurd
@@ -120,8 +119,6 @@
#elif defined(__bsdi__)
# define Q_OS_BSDI
# define Q_OS_BSD4
-#elif defined(__sgi)
-# define Q_OS_IRIX
#elif defined(_AIX)
# define Q_OS_AIX
#elif defined(__Lynx__)
@@ -331,19 +328,6 @@
# define Q_CC_OC
# define Q_NO_USING_KEYWORD
-/* The MIPSpro compiler in o32 mode is based on EDG but disables features
- such as template specialization nevertheless */
-# elif defined(__sgi)
-# define Q_CC_MIPS
-# if defined(_MIPS_SIM) && (_MIPS_SIM == _ABIO32) /* o32 ABI */
-# define TQ_TYPENAME
-# elif defined(_COMPILER_VERSION) && (_COMPILER_VERSION < 730) /* 7.2 */
-# define TQ_TYPENAME
-# endif
-# define Q_NO_USING_KEYWORD /* ### check "using" status */
-# if defined(_COMPILER_VERSION) && (_COMPILER_VERSION >= 740)
-# pragma set woff 3624,3625, 3649 /* turn off some harmless warnings */
-# endif
# endif
/* The older UnixWare 2.X compiler? */
diff --git a/src/tools/tqlibrary.cpp b/src/tools/tqlibrary.cpp
index 65e2f5326..d2b038af8 100644
--- a/src/tools/tqlibrary.cpp
+++ b/src/tools/tqlibrary.cpp
@@ -57,8 +57,7 @@
#endif
#if (defined(TQ_WS_WIN) && !defined(QT_MAKEDLL)) \
- || (defined(Q_OS_FREEBSD) && defined(Q_CC_INTEL)) \
- || (defined(Q_OS_IRIX) && defined(Q_CC_GNU))
+ || (defined(Q_OS_FREEBSD) && defined(Q_CC_INTEL))
#define TQT_NO_LIBRARY_UNLOAD
#endif