realbasic-plugins
[Top] [All Lists]

Re: AND ONCE AGAIN! namespace QT { namespace std

To: "REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>" <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: AND ONCE AGAIN! namespace QT { namespace std
From: William Yu <william at realsoftware dot com>
Date: Fri, 18 Mar 2005 14:55:42 -0600
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
On 3/18/05 2:29 PM, "Ruslan Zasukhin" <sunshine at public dot kherson dot ua> 
wrote:

> Hi REAL engeniers,
> 
> ONCE AGAIN I want spotlight this problem of REAL SDK.
> In the Windows headers you have:
> 
> ---------------------
> namespace QT {
> 
>   #include <QTML.h>
>   #include <Movies.h>
> }
> ---------------------
> 
> THIS IS NOT CORRECT!
> 
> You have NO RIGHT wrap Apple headers, that work in the STD namespace,
> by your own virtual namespace.

Do you have the latest SDK?  Do you even need QT?  We wrapped that in an
IGNOREQT #define statement, so just #define IGNOREQT in your Windows prefix
header and bid adieu to QT.

#ifndef IGNOREQT
namespace QT {
    #include <QTML.h>
    #include <Movies.h>
}
#else
#define QT
typedef void* Movie;
typedef void* MovieController;
#endif


-- 
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>