Changeset 89454 in webkit


Ignore:
Timestamp:
Jun 22, 2011 11:57:04 AM (13 years ago)
Author:
Ademar Reis
Message:

2011-06-22 Ademar de Souza Reis Jr. <Ademar Reis>

Reviewed by Holger Freyther.

[Qt] Fix Qt namespace on QDeclarativeWebView autotest
https://bugs.webkit.org/show_bug.cgi?id=63147

Applications (such as the test runner) are not supposed to be wrapped
by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
QtWebKit) with a specific namespace won't work (will result in main
being undefined).

This was the only test wrapped by these macros, all others are fine.

  • tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove namespace macros.
Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r89430 r89454  
     12011-06-22  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
     2
     3        Reviewed by Holger Freyther.
     4
     5        [Qt] Fix Qt namespace on QDeclarativeWebView autotest
     6        https://bugs.webkit.org/show_bug.cgi?id=63147
     7
     8        Applications (such as the test runner) are not supposed to be wrapped
     9        by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
     10        QtWebKit) with a specific namespace won't work (will result in main
     11        being undefined).
     12
     13        This was the only test wrapped by these macros, all others are fine.
     14
     15        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove
     16        namespace macros.
     17
    1182011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
    219
  • trunk/Source/WebKit/qt/tests/qdeclarativewebview/tst_qdeclarativewebview.cpp

    r87796 r89454  
    1414#include <QWebFrame>
    1515#include "qdeclarativewebview_p.h"
    16 
    17 QT_BEGIN_NAMESPACE
    1816
    1917class tst_QDeclarativeWebView : public QObject {
     
    549547QTEST_MAIN(tst_QDeclarativeWebView)
    550548#include "tst_qdeclarativewebview.moc"
    551 
    552 QT_END_NAMESPACE
Note: See TracChangeset for help on using the changeset viewer.