The following patches will, together with qt-4.3.3-solaris-prefix.patch from the previous version, allow building of qt-4.4.2 in a sparc-solaris prefix. Reproducible: Always Steps to Reproduce:
Created attachment 180120 [details, diff] qt-4.4.2-solaris.patch Add missing linker options for Solaris
Created attachment 180121 [details, diff] qt-4.4.2-g++.diff Use g++ instead of Sun CC
Created attachment 180178 [details, diff] qt-4.4.2-configure-libiconv.diff Do not attempt to implicitly cast const char** to char**
so, you just need these patches and the ~sparc-solaris keyword added to qt-4.4.2?
please keyword: x11-libs/qt-4.4.2 please add the patches and keyword: x11-libs/qt-assistant-4.4.2-r1 x11-libs/qt-core-4.4.2-r2 x11-libs/qt-gui-4.4.2-r3 x11-libs/qt-qt3support-4.4.2 x11-libs/qt-script-4.4.2 x11-libs/qt-sql-4.4.2-r1 x11-libs/qt-svg-4.4.2 x11-libs/qt-test-4.4.2 x11-libs/qt-webkit-4.4.2-r1 x11-libs/qt-xmlpatterns-4.4.2
Created attachment 182576 [details, diff] qt-4.4.2-no-system-libs.diff additional patch to make qt not use system installed libraries from /usr/sfw and /usr/openwin
I'm a bit concerned about the libiconv patch, why is it a problem?
where did you apply these patches? In all ebuilds, or just qt-core or something?
Without the libiconv patch, gcc will fail to compile the iconv configure test. The patches have to be added to each qt ebuild.
I'm currently testing these, looks promising
"patches" added to qt4-build.eclass, I was able to successfully build qt-4.5.1 on x86-solaris. Thanks!
hmmm, it does build for me, but qt-demo produces garbage on the terminal, writes directories and only shows squares in the windows, no readable fonts.
I tested it, qtdemo mostly works for me. Only the OpenGL demo (predictably) fails. Maybe you are missing some fonts?
Created attachment 192570 [details] qtdemo.png Screenshot of qtdemo running in a Xephyr session. During execution, the following messages are printed to the terminal: X Error: BadImplementation (server does not implement operation) 17 Extension: 153 (Uknown extension) Minor opcode: 19 (Unknown request) Resource id: 0x17 X Error: BadImplementation (server does not implement operation) 17 Extension: 153 (Uknown extension) Minor opcode: 19 (Unknown request) Resource id: 0x17 QGLContext::makeCurrent(): Cannot make invalid context current. QGLContext::makeCurrent(): Cannot make invalid context current. Unrecognised OpenGL version
3.5.3 works for me now, and pretty swift too!