Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, July 2007
How to build Qt with RTTI?


Message 1 in thread

Hi,
 
I am about to build Qt and I need to enable rtti option but i did not
find any switch in installation documentation.
./configure --help options have no mention of it either.
 
I have to build qt on Windows XP,and Mac OSX.
 
Thanks

Message 2 in thread

Jaya Meghani schrieb:
> ...
> ./configure --help options have no mention of it either.

With Qt 3.3.8 that gives me:

-rtti                Enable runtime type information.
-no-rtti           * Disable runtime type information.

Did that change in Qt 4.x?

Cheers, Oliver

--
 [ signature omitted ] 

Message 3 in thread

When I used -rtti option it says:
-rtti: invalid command-line switch 

> -----Original Message-----
> From: Till Oliver Knoll [mailto:oliver.knoll@xxxxxxxxxxx] 
> Sent: Tuesday, July 03, 2007 2:00 PM
> To: Qt Interest List
> Subject: Re: How to build Qt with RTTI?
> 
> Jaya Meghani schrieb:
> > ...
> > ./configure --help options have no mention of it either.
> 
> With Qt 3.3.8 that gives me:
> 
> -rtti                Enable runtime type information.
> -no-rtti           * Disable runtime type information.
> 
> Did that change in Qt 4.x?
> 
> Cheers, Oliver
> 
> --
> To unsubscribe - send a mail to 
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the 
> subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 

--
 [ signature omitted ] 

Message 4 in thread

Jaya Meghani schrieb:
> When I used -rtti option it says:
> -rtti: invalid command-line switch 

Which Qt version is that? I have never used this switch myself. Maybe 
you have found a bug in the configure tool. -> qt-bugs@xxxxxxxxxxxxx

Cheers, Oliver

--
 [ signature omitted ] 

Message 5 in thread

Qt 4.1.2 - Open Source Edition 

> -----Original Message-----
> From: Till Oliver Knoll [mailto:oliver.knoll@xxxxxxxxxxx] 
> Sent: Tuesday, July 03, 2007 2:07 PM
> To: Qt Interest List
> Subject: Re: How to build Qt with RTTI?
> 
> Jaya Meghani schrieb:
> > When I used -rtti option it says:
> > -rtti: invalid command-line switch
> 
> Which Qt version is that? I have never used this switch 
> myself. Maybe you have found a bug in the configure tool. -> 
> qt-bugs@xxxxxxxxxxxxx
> 
> Cheers, Oliver
> 
> --
> To unsubscribe - send a mail to 
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the 
> subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 

--
 [ signature omitted ] 

Message 6 in thread

On 03.07.07 14:08:33, Jaya Meghani wrote:
> Qt 4.1.2 - Open Source Edition 

That version doesn't have this option. I guess because its not needed
anymore and rtti is enabled by default. (not sure about this).

Andreas

-- 
 [ signature omitted ] 

Message 7 in thread

Hi all !

Did you already tried :

configure.exe -static -release -platform win32-g++ -rtti

Regards,
André.

2007/7/3, Andreas Pakulat <apaku@xxxxxx>:
>
> On 03.07.07 14:08:33, Jaya Meghani wrote:
> > Qt 4.1.2 - Open Source Edition
>
> That version doesn't have this option. I guess because its not needed
> anymore and rtti is enabled by default. (not sure about this).
>
> Andreas
>
> --
> You plan things that you do not even attempt because of your extreme
> caution.
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>


-- 
 [ signature omitted ] 

Message 8 in thread

On 03.07.07 16:20:34, Andre Abrantes wrote:
> Hi all !
> 
> Did you already tried :
> 
> configure.exe -static -release -platform win32-g++ -rtti

Interesting, it seems that rtti is still supported on win32, but not on
linux/macos. As I said before the reason is probably that the compilers
on these systems use rtti by default and don't have many bugs with it.

Andreas

-- 
 [ signature omitted ] 

Message 9 in thread

So I guess I have to do nothing extra :)

Thanks. 

> -----Original Message-----
> From: Andreas Pakulat [mailto:apaku@xxxxxx] 
> Sent: Tuesday, July 03, 2007 3:59 PM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: Re: How to build Qt with RTTI?
> 
> On 03.07.07 16:20:34, Andre Abrantes wrote:
> > Hi all !
> > 
> > Did you already tried :
> > 
> > configure.exe -static -release -platform win32-g++ -rtti
> 
> Interesting, it seems that rtti is still supported on win32, 
> but not on linux/macos. As I said before the reason is 
> probably that the compilers on these systems use rtti by 
> default and don't have many bugs with it.
> 
> Andreas
> 
> --
> You will hear good news from one you thought unfriendly to you.
> 
> --
> To unsubscribe - send a mail to 
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the 
> subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 

--
 [ signature omitted ]