[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-solaris
Subject:    [kde-solaris] About Trolltech's Qt on Solaris
From:       ken mays <maybird1776 () yahoo ! com>
Date:       2005-11-23 12:33:31
Message-ID: 20051123123331.33845.qmail () web33007 ! mail ! mud ! yahoo ! com
[Download RAW message or body]

About Trolltech's Qt on Solaris

So far, Trolltech's Qt is buildable on Solaris with
both GCC and Sun Studio compilers. Keep in mind that
when you use Qt v3.3.5, you may have to recompile KDE
against the newer Qt if it was compiled with older Qt
< 3.3.5. This issue may have been fixed by Trolltech,
so check with them.

Also, Trolltech Qt v4.0.1 and I've compiled a copy of
that for Sun Solaris. You'll find a package for it
over at http://www.Blastwave.org/testing. Trolltech
v4.0.1 claims backward compatibility to Qt v3.x.x, yet
check with Trolltech on certain projects like KDE 3.5
compiling/compatibility.

I have KDE 3.4.3 (GCC) available with pkg-get and
updated packages in the testing area of
www.blastwave.org/testing. Let me know if you have any
issues.

~ Ken Mays 







--- kde-solaris-request@mail.kde.org wrote:

> Send kde-solaris mailing list submissions to
> 	kde-solaris@mail.kde.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	https://mail.kde.org/mailman/listinfo/kde-solaris
> or, via email, send a message with subject or body
> 'help' to
> 	kde-solaris-request@mail.kde.org
> 
> You can reach the person managing the list at
> 	kde-solaris-owner@mail.kde.org
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of kde-solaris digest..."
> 
> 
> Today's Topics:
> 
> 1. Re: qt on solaris (Stefan Teleman)
> 2. Re: qt on solaris (Gerhard Franke)
> 3. Re: qt on solaris (???)
> 4. Fw:  qt on solaris (???)
> 
> 
> 
----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 23 Nov 2005 00:49:35 -0500
> From: Stefan Teleman <steleman@nyc.rr.com>
> Subject: Re: [kde-solaris] qt on solaris
> To: kde-solaris@mail.kde.org
> Message-ID: <200511230049.36016.steleman@nyc.rr.com>
> Content-Type: text/plain;  charset="utf-8"
> 
> On Tuesday 22 November 2005 22:57, ??? wrote:
> > Hi , I find this by type ./configure --help, after
> I ./configure -thread
> > -debug , I type gmake,the wrong appeared as follow
> > cc -c -O -KPIC...
> > cc: unrecognized option ' -KPIC'
> > cc1:error invalid option 't'
> > 
> > What KPIC stand for? How can I continue my work?
> 
> Hi.
> 
> it looks like you are using gcc but are using
> CFLAGS/CXXFLAGS for SunStudio.
> 
> this won't work. :-)
> 
> -KPIC is a SunStudio compiler flag and it tells the
> compiler to generate 
> Position Independent Code.
> 
> the equivalent for gcc is -fPIC -DPIC
> 
> the 't' invalid options comes from passing -mt to
> gcc/g++. -mt is also a 
> SunStudio compiler flag, and it tells the compiler
> to use thread-safe API's 
> and interfaces. it is usually used in conjunction
> with -D_REENTRANT. you can 
> pass -D_REENTRANT to gcc, but gcc will not like
> '-mt' at all.
> 
> i would recommend you check your
> CFLAGS/CXXFLAGS/CPPFLAGS/LDFLAGS, and make 
> sure they are appropriate for gcc/g++. otherwise you
> will run into endless 
> grief. the compiler flags for gcc/g++ and
> SunStudio10 are incompatible (with 
> the exception of basic -I and -L).
> 
> > -)
> 
> --Stefan
> 
> -- 
> Stefan Teleman          'Nobody Expects the Spanish
> Inquisition'
> steleman@nyc.rr.com                          -Monty
> Python
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 23 Nov 2005 08:20:23 +0100
> From: Gerhard Franke
> <gerhard.franke@mni.fh-giessen.de>
> Subject: Re: [kde-solaris] qt on solaris
> To: "For people using KDE on Solaris,	\ with
> questions about KDE or
> 	Solaris" <kde-solaris@mail.kde.org>
> Message-ID: <43841837.8050802@mni.fh-giessen.de>
> Content-Type: text/plain; charset=UTF-8;
> format=flowed
> 
> ??? schrieb:
> > hi,thanks to  Lars Tunkrans
> <lars.tunkrans@bredband.net> ,Stefan Teleman,Sergio
> and Narendra Kumar.S.S.
> 
> > First i try to use gcc to replace cc in
> .profile,but still  failed, maybe to modify
> ./configure can do .
> 
> > I download sunstduio11 and  I comfiled qt 3.3.4
> successfully, and this is my profile setting:
> 
> > 
> 
PATH=$PATH:/opt/csw/bin:/opt/csw/kde-gcc/bin:/opt/csw/kde-gcc/include:/opt/csw/kde-gcc/lib:/opt/csw/gcc3/bin:/usr/ccs/bin:/usr/ucb/

> > export PATH
> > QTDIR=/opt/csw/qt3.4.4/qt-x11-free-3.3.4
> ^ typo?
> 
> > PATH=$QTDIR/bin:$PATH
> > MANPATH=$QTDIR/doc/man:$MANPATH
> > LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> > export QTDIR PATH MANPATH LD_LIBRARY_PATH
> [...]
> > # ./configure
> [...]
> > checking for kde-config...
> /opt/csw/kde-gcc/bin/kde-config
> > checking where to install... /opt/csw/kde-gcc (as
> returned by kde-config)
> > checking for style of include used by make... GNU
> > checking for gcc... gcc
> [...]
> > checking for g++... g++
> [...]                 ^^^
> > checking for Qt... configure: error: Qt (>= Qt 3.2
> and < 4.0) (library qt-mt) no t found. Please check
> your installation!
> > For more details about this problem, look at the
> end of config.log.
> > Make sure that you have compiled Qt with thread
> support!
> 
> > what's the matter?how can i compile qt with thread
> support?
> 
> If you have built QT with SunStudio CC you also have
> to build all
> of the KDE-apps with SunStudio CC.
> This is because the C++ ABI of GNU g++ is different
> from that of 
> SunStudio CC.
> 
> To build a QT-library with thread support you have
> to add -thread to the 
> list of options for configure.
> 
> 
> Gerhard
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 23 Nov 2005 17:25:45 +0800
> From: ??? <coralbird@yeah.net>
> Subject: Re: [kde-solaris] qt on solaris
> To: <steleman@nyc.rr.com>, "For people using KDE on
> Solaris,	with
> 	questions about KDE or Solaris"
> <kde-solaris@mail.kde.org>
> Message-ID:
> <01df01c5f00f$e3d06bf0$1f01010a@lixianbo>
> Content-Type: text/plain;	charset="utf-8"
> 
> I am using SunStudio compiler. 
> this is my profile setting :
> 
> 
PATH=$PATH:/opt/csw/bin:/opt/csw/kde-gcc/bin:/opt/csw/kde-gcc/include:/opt/csw/kde-gcc \
/lib:/opt/csw/gcc3/bin:/usr/sfw/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/ucb/:/export/home/MySunstdio11/SUNWspro/bin;

> export PATH
> cc=/export/home/MySunstdio11/SUNWspro/bin/cc;export
> cc
> CXX=/export/home/MySunstdio11/SUNWspro/bin/cc;export
> CXX
> QTDIR=/opt/csw/qt3.4.4/qt-x11-free-3.3.4
> PATH=$QTDIR/bin:$PATH
> MANPATH=$QTDIR/doc/man:$MANPATH
> LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> export QTDIR PATH MANPATH LD_LIBRARY_PATH
> 
> 
> I don't set LDFlags ,CFLAGS and CXXFLAGS,In fact I
> don't know how to set.:(
> I konw CFLAGS and CXXFLAGS is c and c++ compile
> option,
> maybe this is the cause of  mistake?
> my machine is x86(DELL GX280).please give a usable
> setting of CFLAGS and CXXFLAGS.
> w hat LDFLAGS stand for?
> 
> too many question to all of you,and i program on
> windows 
=== message truncated ===



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___________________________________________________
This message is from the kde-solaris mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic