I need QT4 to be built with OpenGL ES2 support for MythTV 0.27. I downloaded aarch64 QT4 files from ABS. Apart from adding 'aarch64' to the $arch section and adding -opengl es2 to the config options the PKGBUILD is identical to the official one. Yet the compile failing with the following error. It looks something related to qtwebkit which was installed prior to the build. Any insights appreciated:
$this->bbcode_second_pass_code('', 'compiling topicchooser.cpp
compiling xbelsupport.cpp
compiling ../shared/collectionconfiguration.cpp
compiling openpagesmodel.cpp
compiling globalactions.cpp
compiling openpageswidget.cpp
compiling openpagesmanager.cpp
compiling openpagesswitcher.cpp
compiling helpviewer_qwv.cpp
openpagesswitcher.cpp: In member function 'virtual bool OpenPagesSwitcher::eventFilter(QObject*, QEvent*)':
openpagesswitcher.cpp:157:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (key == Qt::Key_Tab && (ke->modifiers() == modifier))
~~~~~~~~~~~~~~~~^~~~~~~~~~~
moc ../../../shared/fontpanel/fontpanel.h
moc aboutdialog.h
helpviewer_qwv.cpp:161:1: error: expected class-name before '{' token
{
^
helpviewer_qwv.cpp:166:13: error: 'QWebPage' does not name a type
virtual QWebPage *createWindow(QWebPage::WebWindowType);
^~~~~~~~
helpviewer_qwv.cpp:167:32: error: 'WebAction' has not been declared
virtual void triggerAction(WebAction action, bool checked = false);
^~~~~~~~~
helpviewer_qwv.cpp:169:42: error: 'QWebFrame' has not been declared
virtual bool acceptNavigationRequest(QWebFrame *frame,
^~~~~~~~~
helpviewer_qwv.cpp:170:41: error: 'NavigationType' has not been declared
const QNetworkRequest &request, NavigationType type);
^~~~~~~~~~~~~~
helpviewer_qwv.cpp: In constructor 'HelpPage::HelpPage(QObject*)':
helpviewer_qwv.cpp:182:7: error: class 'HelpPage' does not have any field named 'QWebPage'
: QWebPage(parent)
^~~~~~~~
helpviewer_qwv.cpp: At global scope:
helpviewer_qwv.cpp:190:1: error: 'QWebPage' does not name a type
QWebPage *HelpPage::createWindow(QWebPage::WebWindowType)
^~~~~~~~
helpviewer_qwv.cpp:200:30: error: variable or field 'triggerAction' declared void
void HelpPage::triggerAction(WebAction action, bool checked)
^~~~~~~~~
helpviewer_qwv.cpp:200:30: error: 'WebAction' was not declared in this scope
helpviewer_qwv.cpp:200:48: error: expected primary-expression before 'bool'
void HelpPage::triggerAction(WebAction action, bool checked)
^~~~
moc bookmarkdialog.h
moc bookmarkfiltermodel.h
moc bookmarkmanager.h
make[4]: *** [Makefile:14261: .obj/release-shared/helpviewer_qwv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools/assistant/tools/assistant'
make[3]: *** [Makefile:42: sub-assistant-make_default-ordered] Error 2
make[3]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools/assistant/tools'
make[2]: *** [Makefile:113: sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools/assistant'
make[1]: *** [Makefile:53: sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory '/home/mythtv/AUR/qt4/src/qt-everywhere-opensource-src-4.8.7/tools'
make: *** [Makefile:891: sub-tools-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[mythtv@rumpusroom qt4]$ makepkg -si')