Bug 58527 - [Qt] Compilation errors in GraphicsContex3DQt.cpp
Summary: [Qt] Compilation errors in GraphicsContex3DQt.cpp
Status: RESOLVED DUPLICATE of bug 58478
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 04:25 PDT by Jarkko Sakkinen
Modified: 2011-04-14 05:40 PDT (History)
2 users (show)

See Also:


Attachments
fixes (1.77 KB, patch)
2011-04-14 04:39 PDT, Jarkko Sakkinen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jarkko Sakkinen 2011-04-14 04:25:59 PDT
In the line 694, deprecated QString constructor is used.
In the line 662, additional brackets are needed.
Comment 1 Jarkko Sakkinen 2011-04-14 04:27:43 PDT
I'm putting fixes that do not belong to #57530 here.
Comment 2 Jarkko Sakkinen 2011-04-14 04:39:44 PDT
Created attachment 89555 [details]
fixes
Comment 3 Benjamin Poulain 2011-04-14 04:44:13 PDT
Comment on attachment 89555 [details]
fixes

View in context: https://bugs.webkit.org/attachment.cgi?id=89555&action=review

> Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp:597
> +        void* addr = m_glWidget->context()->getProcAddress(QString::fromUtf8(nameWithExt.utf8().data()));

Youc an convert directly from String to QString: QString(nameWithExt)
Comment 4 Benjamin Poulain 2011-04-14 05:40:18 PDT

*** This bug has been marked as a duplicate of bug 58478 ***