How do I Build Squish and Qt on IRIX with gcc?

To build Squish, Qt must be linked as a shared library. When compiling Qt with gcc in IRIX, it is built as a static library by default. To build Qt as a shared library, specify the -shared option when running Qt's configure script.

The reason, why static is the default build is because Qt doesn't link as a shared library on IRIX when being built with gcc. To fix this problem, edit the file src/Makefile after you have run configure. Add the switch -Wl,-LD_LAYOUT:lgot_buffer=100 to the Makefile's LFLAGS variable. The line should then look similar to this one:

    LFLAGS = -Wl,-LD_LAYOUT:lgot_buffer=100 -shared -Wl,-soname, -Wl,-rpath,/usr/people/reggie/qt32-gcc/lib

After doing this just compile Qt as usual (i.e., by running make). Then compile Squish as documented elsewhere in this manual (Installing Squish for Qt from Desktop Source Packages).

Note: This fix was been submitted to Trolltech support and was incorporated into Qt in version 3.3.0.

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.