twinkle1.10.2 make error
by prashantsingh@dialtronic from LinuxQuestions.org on (#5T531)
I'm trying to cross compile twinkle soft-phone with yocto BSP for Rpi4 board.
but getting make error,
while configure is getting succeeded.
here I'm giving these dependencies to twinkle:
qtbase qttools qtquickcontrols2 qttools-native readline libxml2 file ccrtp libzrtpcpp ucommon libsndfile1 alsa-lib bison-native flex bison speex bcg729
Using poky-hardknott.
in my build QT version is 5.
GCC version is 9.3.0 for arm.
Error:
Code:../src/gui/gui.cpp: In member function 'virtual void t_gui::run()':
../src/gui/gui.cpp:886:12: error: 'class QApplication' has no member named 'isSessionRestored'
886 | if (qApp->isSessionRestored() &&
| ^~~~~~~~~~~~~~~~~
../src/gui/gui.cpp:887:50: error: 'class QApplication' has no member named 'sessionId'
887 | sys_config->get_ui_session_id() == qApp->sessionId().toStdString())
| ^~~~~~~~~
../src/gui/twinkleapplication.cpp:35:35: error: 'sessionId' was not declared in this scope
35 | sys_config->set_ui_session_id(sessionId().toStdString());
| ^~~~~~~~~
but getting make error,
while configure is getting succeeded.
here I'm giving these dependencies to twinkle:
qtbase qttools qtquickcontrols2 qttools-native readline libxml2 file ccrtp libzrtpcpp ucommon libsndfile1 alsa-lib bison-native flex bison speex bcg729
Using poky-hardknott.
in my build QT version is 5.
GCC version is 9.3.0 for arm.
Error:
Code:../src/gui/gui.cpp: In member function 'virtual void t_gui::run()':
../src/gui/gui.cpp:886:12: error: 'class QApplication' has no member named 'isSessionRestored'
886 | if (qApp->isSessionRestored() &&
| ^~~~~~~~~~~~~~~~~
../src/gui/gui.cpp:887:50: error: 'class QApplication' has no member named 'sessionId'
887 | sys_config->get_ui_session_id() == qApp->sessionId().toStdString())
| ^~~~~~~~~
../src/gui/twinkleapplication.cpp:35:35: error: 'sessionId' was not declared in this scope
35 | sys_config->set_ui_session_id(sessionId().toStdString());
| ^~~~~~~~~