[ug-bosug] Qt 4.3 + SunStudio 12 on SXDE
Sriram Narayanan
sriramnrn at gmail.com
Mon Jun 18 22:55:13 PDT 2007
On 6/19/07, Manish Chakravarty <manishchaks at gmail.com> wrote:
> Hi everyone,
>
> I was able to compile qt 4.3 on my SXDE box at.
>
Congratulations !!! :) This is welcome news, and a nice way to start the day !
(I have this colleague who's always mystified at how interested
persons such as Manish and I are in compiling and porting applications
:)
> For those who are interested (or those who are into qt programming, but
> are solaris newbies like me , read on :-) )
>
> 1) Install the JDS CBE (Java Desktop System Common Build Enviroment)
> JDS CBE is small, it's installation is easy.
> http://www.opensolaris.org/os/project/jds/contributing/building/;jsessionid=E77AD0746A96B028467460AAC38E8A93#jds-cbe
>
> 2) Get qt 4.3 and SunStudio 12
>
> 3) Source /opt/jdsbld/env.sh
>
> 4) a simple ./configure , make , make install is all you need to do!
>
Hmm... that's interesting news, given that you'd told us about the
special environment setups that the kde-solaris folks had asked you to
do.
> One question: now that i have compiled qt with suncc (ss12) , can i use
> gcc to compile applications that link to the sun-cc compiled qt?
> I ask this cause this would greatly simplify going after KDE4 dependencies
>
This isn't possible because there's no common specification that the
gcc and the sunstudio compilers adhere to (at least as far as C++ code
is concerned)
I think you'll face vtable issues just as I did when building Mozilla
for SWT embedding. I got past that by getting both Mozilla and the
Eclipse native components to build using Sun Studio 11.
It'd be best to go after the KDE dependencies using just one compiler.
All said and done, it'd be your call to decide whether to get KDE 4.x
on OpenSolaris as fats as possible (perhaps the gcc route), or KDE 4.x
on OpenSolaris using Sun Studio.
> Thanks
> Manish
>
> PS: I'll start going after KDE4 dependencies now.
>
Best of luck, and continue to keep us posted on your progress :)
-- Sriram
More information about the ug-bosug
mailing list