Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-23517

build failure in tst_qgraphicsproxywidget.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 4.8.0
    • Widgets: GraphicsView
    • None
    • Solaris 11, Solaris Studio 12.3, x86

    Description

      building Qt 4.8 tests fails with the below error.
      the qt docs say that "QCOMPARE is very strict on the data types. Both actual and expected have to be of the same type, otherwise the test won't compile. "
      So there should be a cast of one of the params

      /opt/test2/SolarisStudio12.3-solaris-x86-bin/solarisstudio12.3/bin/CC -c -I../../../mkspecs/solaris-cc -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include -I../../../include/QtTest -I/usr/X11/include -I.moc/debug-shared -I/usr/sfw/include -D_REENTRANT -DNDEBUG -D_EXTENSIONS_ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/opt/kde4/include -m32 -xarch=sse2 -features=extensions,nestedaccess,tmplrefstatic -template=geninlinefuncs -s -xlang=c99 -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -R/opt/kde4/lib -library=stdcxx4 -lCrun -I/usr/include/libpng14 -I/opt/kde4/include -I/usr/mysql/5.1/include/mysql -I/usr/include/libmng -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/odbc -g -I/usr/include/freetype2 -mt -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -o .obj/debug-shared/tst_qgraphicsproxywidget.o tst_qgraphicsproxywidget.cpp
      "../../../mkspecs/solaris-cc/qplatformdefs.h", line 47: Warning (Anachronism): Attempt to redefine _EXTENSIONS_ without using #undef.
      "../../../include/QtGui/private/../../../src/gui/kernel/qapplication_p.h", line 284: Warning: threadData hides QScopedLoopLevelCounter::threadData.
      "../../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsitem_p.h", line 338: Warning: index hides QGraphicsItemPrivate::index.
      "tst_qgraphicsproxywidget.cpp", line 187: Warning: tst_QGraphicsProxyWidget::eventFilter hides the virtual function QObject::eventFilter(QObject*, QEvent*).
      "tst_qgraphicsproxywidget.cpp", line 3649: Error: Could not find a match for QTest::qCompare<QTest::T>(QWidget*, QGraphicsView*, const char[29], const char[6], const char[29], int) needed in tst_QGraphicsProxyWidget::QTBUG_6986_sendMouseEventToAlienWidget().
      1 Error(s) and 4 Warning(s) detected.

      This was introduced by fixing QTBUG-6986

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            hajma Pavel Heimlich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes