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

tests/auto/tst_qwidget.cpp build failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.8.0
    • 4.7.1
    • None
    • opensolaris b134, Sun Studio 12.1, x86
    • 4ccef56d692e549e00b0c381f1ceb8e9191a3b15

    Description

      build fails with
      "tst_qwidget.cpp", line 10556: Error: Could not find a match for QTest::qCompare<QTest::T>(QWidget*, QLineEdit*, const char[28], const char[3], const char[16], int) needed in tst_QWidget::nativeChildFocus().

      the below patch fixes it:
      — tst_qwidget.cpp.orig 2010-11-14 15:28:08.870467241 +0100
      +++ tst_qwidget.cpp 2010-11-14 15:30:58.932882251 +0100
      @@ -10553,7 +10553,7 @@
      QTest::qWaitForWindowShown(&w);

      QCOMPARE(QApplication::activeWindow(), &w);

      • QCOMPARE(QApplication::focusWidget(), p1);
        + QCOMPARE(QApplication::focusWidget(), static_cast<QWidget *>(p1));
        }

      QTEST_MAIN(tst_QWidget)

      Attachments

        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:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes