I had solved my problem. I was confused by QMAKESPEC=solaris-cc... I thought it's only C Compiler, not C++ :) So, when I used export=QMAKESPEC=solaris-cc many Qt examples built without errors and working fine.
For beginners: 1) add http://solaris.bionicmutton.org:10002/ in package manager 2) install Qt 4.6.2 (installation into /opt/foss/qt4) 3) install sun studio and C/C++ compiler will be available 4) use QMAKESPEC=solaris-cc 5) also you can run qtconfig in /opt/foss/qt4 and choose GTK+ style for more native look =) -- This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code