diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-07 12:11:46 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-07 13:03:27 +0200 |
commit | 0efe79f80d6f249040f47162ebbfc82289ca073d (patch) | |
tree | b2326e1c7392367e438a16370f4cfb0ad63b09a0 /examples/opengl | |
parent | 4ef79853528dcc908ad3737f7bebf38b059de959 (diff) |
Rename the new platform APIs from QPlatformInterface to QNativeInterface
We were already using the 'native' nomenclature when referring to these
kinds of APIs, e.g. when talking about native handles, or the existing
QPlatformNativeInterface on a QPA level. Using 'native' for the user
facing APIs also distinguishes them from the 'platform' backend layer
in QPA and elsewhere.
Change-Id: I0f3273265904f0f19c0b6d62471f8820d3c3232e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/opengl')
-rw-r--r-- | examples/opengl/contextinfo/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/opengl/contextinfo/widget.cpp b/examples/opengl/contextinfo/widget.cpp index ee3161eae7..df1e6a6f7b 100644 --- a/examples/opengl/contextinfo/widget.cpp +++ b/examples/opengl/contextinfo/widget.cpp @@ -382,7 +382,7 @@ void Widget::renderWindowReady() m_output->append(tr("Qt OpenGL configuration: %1") .arg(QString::fromLatin1(gltype[QOpenGLContext::openGLModuleType()]))); #if defined(Q_OS_WIN) - using namespace QPlatformInterface; + using namespace QNativeInterface; m_output->append(tr("Qt OpenGL library handle: %1") .arg(QString::number(qintptr(QWGLContext::openGLModuleHandle()), 16))); #endif |