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

auto/qgraphicseffect test does not build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.7.0
    • Widgets: GraphicsView
    • None
    • OpenSolaris b134
      Sun Studio 12u1
    • ba277e9ce92dc40e648f6c83a7cd9f01dd33b886

    Description

      the auto/qgraphicseffect test fails to build with the below message
      this is with current git, but I was seeing it since 4.6
      the attached patch fixes it for me

      cd qgraphicseffect/ && /usr/bin/gmake -f Makefile.gui
      gmake[3]: Entering directory `/export/home/test/tmp/qt/tests/auto/qgraphicseffect'
      /export/home/test/tmp/qt/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/solaris-cc -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include -I../../../include/QtTest -I.moc/release-shared -I/usr/sfw/include tst_qgraphicseffect.cpp -o .moc/release-shared/tst_qgraphicseffect.moc
      /usr/bin/CC -c -features=extensions -library=no%Cstd -library=Crun -lstdcxx4 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/stdcxx4/ -I/usr/include/stdcxx4/ansi -I/opt/kde4/include -O2 -mt -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/solaris-cc -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include -I../../../include/QtTest -I.moc/release-shared -I/usr/sfw/include -o .obj/release-shared/tst_qgraphicseffect.o tst_qgraphicseffect.cpp
      "tst_qgraphicseffect.cpp", line 186: Error: Could not find a match for QTest::qCompare<QTest::T>(const QGraphicsItem*, QGraphicsItem*, const char[33], const char[5], const char[24], int) needed in tst_QGraphicsEffect::source().
      "tst_qgraphicseffect.cpp", line 193: Error: Could not find a match for QTest::qCompare<QTest::T>(const QGraphicsItem*, QGraphicsItem*, const char[33], const char[5], const char[24], int) needed in tst_QGraphicsEffect::source().
      "tst_qgraphicseffect.cpp", line 199: Error: Could not find a match for QTest::qCompare<QTest::T>(const QGraphicsItem*, QGraphicsItem*, const char[33], const char[5], const char[24], int) needed in tst_QGraphicsEffect::source().
      "tst_qgraphicseffect.cpp", line 213: Error: Could not find a match for QTest::qCompare<QTest::T>(const QGraphicsItem*, QGraphicsItem*, const char[23], const char[5], const char[24], int) needed in tst_QGraphicsEffect::source().
      4 Error(s) detected.
      gmake[3]: *** [.obj/release-shared/tst_qgraphicseffect.o] Error 4
      gmake[3]: Leaving directory `/export/home/test/tmp/qt/tests/auto/qgraphicseffect'
      gmake[2]: *** [sub-qgraphicseffect-make_default] Error 2
      gmake[2]: Leaving directory `/export/home/test/tmp/qt/tests/auto'
      gmake[1]: *** [sub-gui-pro-make_default] Error 2
      gmake[1]: Leaving directory `/export/home/test/tmp/qt/tests/auto'
      gmake: *** [sub-auto-make_default] Error 2

      Attachments

        1. patch.4
          2 kB
        2. patch.5
          1 kB
        3. patch.6
          3 kB
        4. patch.7
          0.6 kB
        5. patch.8
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            hajma Pavel Heimlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes