Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.1.1, 5.2.0
-
None
-
Solaris 10/Sparc
Description
Qt 5.2 (and previous 5 versions) does not build on Solaris. I managed to fix some issues such that it is successfully built and normal Qt programs work.
You can find the patches and some comments on them under:
http://stackoverflow.com/a/20879716/427158
I think that some patches are easy to adopt - and also increase the portability of the code for other platforms.
Other patches are more Solaris specific (e.g. to get the stack-size for the java-script engine) - but are protected by a platform specific CPP construct.
The fix for using a POSIX-conforming shell is more like a Solaris-specific workaround - in the comments is a method described how to find a shell in a truly portable way. But for this you would have to make the shell configurable via something like a mkspec file - and avoid using it in shell-script bang lines - cf. also QTBUG-28857.