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

auto/q3table test fails to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.7.1
    • 4.7.0
    • Other
    • None
    • OpenSolaris b134/x86
      Sun Studio 12u1
    • 5d9fb4b86ffd604e65ade61a252037dca224af53

    Description

      the auto/q3table test fails to build with the below error
      this is in current git, but was present in 4.6 already
      the attached patch fixes the issue for me

      test@qttest:~/tmp/qt/tests$ cd auto/q3table/
      test@qttest:~/tmp/qt/tests/auto/q3table$ /usr/bin/gmake -f Makefile.qt3support
      /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_QT3SUPPORT_LIB -DQT3_SUPPORT -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/Qt3Support -I../../../include -I../../../include/QtTest -I.moc/release-shared -I/usr/sfw/include -o .obj/release-shared/tst_q3table.o tst_q3table.cpp
      "../../../include/Qt3Support/../../src/qt3support/widgets/q3datetimeedit.h", line 109: Warning: d hides Q3DateEdit::d.
      "../../../include/Qt3Support/../../src/qt3support/widgets/q3datetimeedit.h", line 111: Warning: d hides Q3DateEdit::d.
      "../../../include/Qt3Support/../../src/qt3support/widgets/q3datetimeedit.h", line 190: Warning: d hides Q3TimeEdit::d.
      "../../../include/Qt3Support/../../src/qt3support/widgets/q3datetimeedit.h", line 192: Warning: d hides Q3TimeEdit::d.
      "tst_q3table.cpp", line 505: Error: Could not find a match for QTest::qCompare<QTest::T>(QWidget*, Q3Table*, const char[29], const char[11], const char[16], int) needed in tst_Q3Table::simpleKeyboardNavigation().
      "tst_q3table.cpp", line 1092: Warning: deletionFlag hides SwapRowMemoryLeakTableItem::deletionFlag.
      "tst_q3table.cpp", line 1211: Error: Could not find a match for QTest::qCompare<QTest::T>(QWidget*, EditCheckQ3Table*, const char[29], const char[7], const char[16], int) needed in tst_Q3Table::editCheck().
      "tst_q3table.cpp", line 1348: Error: Could not find a match for QTest::qCompare<QTest::T>(QWidget*, Q3Table*, const char[29], const char[11], const char[16], int) needed in tst_Q3Table::valueChanged().
      "tst_q3table.cpp", line 1398: Error: Could not find a match for QTest::qCompare<QTest::T>(QWidget*, Q3Table*, const char[29], const char[11], const char[16], int) needed in tst_Q3Table::dateTimeEdit().
      4 Error(s) and 5 Warning(s) detected.
      gmake: *** [.obj/release-shared/tst_q3table.o] Error 4

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (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