Wolfgang -- Revision 6841 compiles OK with Qt 5.5, but not with Qt 5.2. Perhaps Bill will modify the new calls to QTimer::singleShot() so as to be compatible with Qt 5.2; or perhaps we will decide that it's time to insist on using Qt 5.5...
-- Joe On 7/1/2016 9:00 AM, Wolfgang wrote: > Hello WSJT, > > my compile shows an error :-( > > Can someone help please ? > > 73 de Wolfgang > OE1MWW > > [ 87%] Building CXX object CMakeFiles/wsjtx.dir/mainwindow.cpp.obj > C:\JTSDK\src\wsjtx\mainwindow.cpp: In member function 'void > MainWindow::guiUpdate()': > C:\JTSDK\src\wsjtx\mainwindow.cpp:2526:55: error: no matching function for > call > to 'QTimer::singleShot(int, MainWindow::guiUpdate()::__lambda210)' > QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate > ^ > C:\JTSDK\src\wsjtx\mainwindow.cpp:2526:55: note: candidates are: > In file included from > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/QtCore:77:0, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgetsDepends:2, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgets:3, > from C:\JTSDK\src\wsjtx\mainwindow.h:5, > from C:\JTSDK\src\wsjtx\mainwindow.cpp:3: > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: static void > QTimer::singleShot(int, const QObject*, const char*) > static void singleShot(int msec, const QObject *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: candidate > expects 3 arguments, 2 provided > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: static void > QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*) > static void singleShot(int msec, Qt::TimerType timerType, const QObject > *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: candidate > expects 4 arguments, 2 provided > C:\JTSDK\src\wsjtx\mainwindow.cpp:2535:67: error: no matching function for > call > to 'QTimer::singleShot(int, MainWindow::guiUpdate()::__lambda211)' > QTimer::singleShot (0, [=] {msgBox ("Runaway Tx watchdog");}); // don't block > guiUpdate > ^ > C:\JTSDK\src\wsjtx\mainwindow.cpp:2535:67: note: candidates are: > In file included from > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/QtCore:77:0, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgetsDepends:2, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgets:3, > from C:\JTSDK\src\wsjtx\mainwindow.h:5, > from C:\JTSDK\src\wsjtx\mainwindow.cpp:3: > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: static void > QTimer::singleShot(int, const QObject*, const char*) > static void singleShot(int msec, const QObject *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: candidate > expects 3 arguments, 2 provided > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: static void > QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*) > static void singleShot(int msec, Qt::TimerType timerType, const QObject > *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: candidate > expects 4 arguments, 2 provided > C:\JTSDK\src\wsjtx\mainwindow.cpp:2672:57: error: no matching function for > call > to 'QTimer::singleShot(int, MainWindow::guiUpdate()::__lambda212)' > QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate > ^ > C:\JTSDK\src\wsjtx\mainwindow.cpp:2672:57: note: candidates are: > In file included from > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/QtCore:77:0, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgetsDepends:2, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgets:3, > from C:\JTSDK\src\wsjtx\mainwindow.h:5, > from C:\JTSDK\src\wsjtx\mainwindow.cpp:3: > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: static void > QTimer::singleShot(int, const QObject*, const char*) > static void singleShot(int msec, const QObject *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: candidate > expects 3 arguments, 2 provided > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: static void > QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*) > static void singleShot(int msec, Qt::TimerType timerType, const QObject > *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: candidate > expects 4 arguments, 2 provided > C:\JTSDK\src\wsjtx\mainwindow.cpp:2772:57: error: no matching function for > call > to 'QTimer::singleShot(int, MainWindow::guiUpdate()::__lambda213)' > QTimer::singleShot (0, [=] {msgBox (message);}); // don't block guiUpdate > ^ > C:\JTSDK\src\wsjtx\mainwindow.cpp:2772:57: note: candidates are: > In file included from > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/QtCore:77:0, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgetsDepends:2, > from C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtWidgets/QtWidgets:3, > from C:\JTSDK\src\wsjtx\mainwindow.h:5, > from C:\JTSDK\src\wsjtx\mainwindow.cpp:3: > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: static void > QTimer::singleShot(int, const QObject*, const char*) > static void singleShot(int msec, const QObject *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:81:17: note: candidate > expects 3 arguments, 2 provided > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: static void > QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*) > static void singleShot(int msec, Qt::TimerType timerType, const QObject > *receiver, const char *member); > ^ > C:/JTSDK/qt5/5.2.1/mingw48_32/include/QtCore/qtimer.h:82:17: note: candidate > expects 4 arguments, 2 provided > CMakeFiles\wsjtx.dir\build.make:765: recipe for target > 'CMakeFiles/wsjtx.dir/mainwindow.cpp.obj' failed > mingw32-make.exe[2]: *** [CMakeFiles/wsjtx.dir/mainwindow.cpp.obj] Error 1 > CMakeFiles\Makefile2:1620: recipe for target 'CMakeFiles/wsjtx.dir/all' failed > mingw32-make.exe[1]: *** [CMakeFiles/wsjtx.dir/all] Error 2 > makefile:136: recipe for target 'all' failed > mingw32-make.exe: *** [all] Error 2 > > -------------------------------------------- > CMAKE BUILD ERROR > -------------------------------------------- > > ---------- > Amateur radio is the most expensive type of free-of-charge communication! > Amateurfunk ist die teuerste Art der kostenlosen Kommunikation! > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > > > > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel