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

tst_qapplication doesn't build on SLES 12 with openSSL 1.1 installed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 5.12
    • None
    • SLES 12

    Description

      This problem started appearing after we updated openSSL from the system default to the 1.1 version which we use currently. I don't know what these things have to do with eachother, so any help would be appreciated.

       

      https://testresults.qt.io/coin/api/results/qt/qtbase/915d1bf6efcdf38305d3ee8f0fefb2e2afdc0167/LinuxSLES_12x86_64LinuxSLES_12x86_64GCCqtci-linux-SLES-12-x86_64-e261aa/5da342bfb9d580b584e9da81283ae1da6f420c5e/build_1561530372/log.txt.gz

       agent:2019/06/26 07:14:51 build.go:207: g++ -c -pipe -g -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../../include -I../../../../include/QtWidgets -I../../../../include/QtGui -I../../../../include/QtCore -I.moc -isystem /usr/include/libdrm -I/home/qt/openssl-1.1.1b/include -I../../../../mkspecs/linux-g++ -o .obj/mainwindow.o mainwindow.cpp
      agent:2019/06/26 07:14:51 build.go:207: ../tst_qapplication.cpp: In member function ‘void tst_QApplication::lastWindowClosed()’:
      agent:2019/06/26 07:14:51 build.go:207: ../tst_qapplication.cpp:489:54: error: no matching function for call to ‘QTimer::singleShot(int, QPointer<QDialog>&, void (QDialog::*)())’
      agent:2019/06/26 07:14:51 build.go:207:      QTimer::singleShot(1000, dialog, &QDialog::accept);
      agent:2019/06/26 07:14:51 build.go:207:                                                       ^
      agent:2019/06/26 07:14:51 build.go:207: ../tst_qapplication.cpp:489:54: note: candidates are:
      agent:2019/06/26 07:14:51 build.go:207: In file included from ../../../../../../include/QtCore/qtimer.h:1:0,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../../../../../../include/QtCore/QtCore:239,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../../../../../../include/QtTest/QtTestDepends:3,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../../../../../../include/QtTest/QtTest:3,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../tst_qapplication.cpp:32:
      agent:2019/06/26 07:14:51 build.go:207: ../../../../../../include/QtCore/../../src/corelib/kernel/qtimer.h:83:17: note: static void QTimer::singleShot(int, const QObject*, const char*)
      agent:2019/06/26 07:14:51 build.go:207:      static void singleShot(int msec, const QObject *receiver, const char *member);
      agent:2019/06/26 07:14:51 build.go:207:                  ^
      agent:2019/06/26 07:14:51 build.go:207: ../../../../../../include/QtCore/../../src/corelib/kernel/qtimer.h:83:17: note:   no known conversion for argument 3 from ‘void (QDialog::*)()’ to ‘const char*’
      agent:2019/06/26 07:14:51 build.go:207: ../../../../../../include/QtCore/../../src/corelib/kernel/qtimer.h:84:17: note: static void QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*)
      agent:2019/06/26 07:14:51 build.go:207:      static void singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, const char *member);
      agent:2019/06/26 07:14:51 build.go:207:                  ^
      agent:2019/06/26 07:14:51 build.go:207: ../../../../../../include/QtCore/../../src/corelib/kernel/qtimer.h:84:17: note:   candidate expects 4 arguments, 3 provided
      agent:2019/06/26 07:14:51 build.go:207: In file included from ../../../../../../include/QtCore/qtimer.h:1:0,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../../../../../../include/QtCore/QtCore:239,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../../../../../../include/QtTest/QtTestDepends:3,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../../../../../../include/QtTest/QtTest:3,
      agent:2019/06/26 07:14:51 build.go:207:                  from ../tst_qapplication.cpp:32:
      agent:2019/06/26 07:14:51 build.go:207: ../../../../../../include/QtCore/../../src/corelib/kernel/qtimer.h:108:24: note: template<class Duration, class Func1> static void QTimer::singleShot(Duration, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func1)
      agent:2019/06/26 07:14:51 build.go:207:      static inline void singleShot(Duration interval, const typename QtPrivate::FunctionPointer<Func1>::Object *receiver, Func1 slot)

      Attachments

        Issue Links

          Activity

            People

              tosaraja Tony Sarajärvi
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: