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

List:       kde-devel
Subject:    Re: Qt vd STL
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-03-15 1:07:11
[Download RAW message or body]

#if Pete Goodliffe
> Hi,
> 
> Does anyone have any experience of using the STL with KDE?
> 
> I'm writing an application that uses a library based on the STL
> (developing on a Linux platform, compiling with gcc 2.95.2).
> 
> I'm currently getting hairy conflicts between Qt and the STL - for example:
> 
> WHATEVER/iomanip.h: In function 'class smanip<int> setfill(int)':
>              new declaration 'class smanip<int> setfill(int)'
> WHATEVER/qtextstream.h:312: ambiguates old declaration
>              'class QTSManip setfill(int)'
> 
> Any experience or work arounds will be gratefully received!

qtextstream.h:

// These will go away in Qt 3.0, as they conflict with std libs
//  
// If you get conflicts now, #define QT_ALTERNATE_QTSMANIP before
// including this file.

Does defining QT_ALTERNATE_QTSMANIP help ?

Rik

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

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