[Webkit-unassigned] [Bug 43927] New: [Qt] ARMv5 Compiling error in FrameLoaderClientQt.cpp if QT_USE_FAST_OPERATOR_PLUS is defined globally

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 12 11:39:38 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43927

           Summary: [Qt] ARMv5 Compiling error in FrameLoaderClientQt.cpp
                    if QT_USE_FAST_OPERATOR_PLUS is defined globally
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: S60 Hardware
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hui_huang at yahoo.com


Created an attachment (id=64244)
 --> (https://bugs.webkit.org/attachment.cgi?id=64244)
ARM compiler output

When building webkit trunk for S60 hardware using ARMv5 Compiler (RCVT 2.2 Build 686) with QT 4.7, the compiler reported the following error:
"X:\sf.plat\mw\qt\src\3rdparty\webkit\WebKit\qt\WebCoreSupport\FrameLoaderClientQt.cpp", line 1124: Error:  #135: class "QStringBuilder<char [19], QString>" has no member "toLocal8Bit"
                 (node) ? qPrintable(" originating from " + drtDescriptionSuitableForTestResult(node, 0)) : "");

The compiler output is attached as "ARM compiler output". 

The compiler uses the option -DQT_USE_FAST_OPERATOR_PLUS. According to http://doc.trolltech.com/4.7-snapshot/qstring.html, when QT_USE_FAST_OPERATOR_PLUS is defined globally, QString '+' operator is performed by internal template class QStringBuilder which does not have the member "toLocal8bit" which the qPrintable Macro uses.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list