I'm using a slackbuild script and I'm not totally familiar where this build is failing.
https://slackbuilds.org/repository/15.0/office/kiwix-desktop/?search=kiwix-desktop
https://slackbuilds.org/slackbuilds/15.0/office/kiwix-desktop/kiwix-desktop.SlackBuild
issuing qmake on kiwi-desktop-2.5.1 there are messages
/tmp/SBo/kiwix-desktop-2.5.1/kiwix-desktop.pro:10: Unknown test function: qtHaveModule
/tmp/SBo/kiwix-desktop-2.5.1/kiwix-desktop.pro:111: Unknown test function: qtHaveModule
/tmp/SBo/kiwix-desktop-2.5.1/kiwix-desktop.pro:168: Unknown test function: qtHaveModule
/tmp/SBo/kiwix-desktop-2.5.1/kiwix-desktop.pro:184: Unknown test function: qtHaveModule
Project MESSAGE: Warning: unknown QT: webenginewidgets
Project MESSAGE: Warning: unknown QT: webchannel
and the error when make install starts.
.... (still unpacking here)
/usr/lib/qt/bin/uic src/contentmanagerside.ui -o ui_contentmanagerside.h
/usr/lib/qt/bin/uic src/readinglistbar.ui -o ui_readinglistbar.h
/usr/lib/qt/bin/uic ui/localkiwixserver.ui -o ui_localkiwixserver.h
/usr/lib/qt/bin/uic ui/settings.ui -o ui_settings.h
ui/settings.ui: Warning: The name 'verticalLayout' (QVBoxLayout) is already in use, defaulting to 'v
erticalLayout1'.
/usr/lib/qt/bin/uic src/tableofcontentbar.ui -o ui_tableofcontentbar.h
....
g++ -c -pipe -std=c++17 -Werror -I/usr/include/p11-kit-1 -I/usr/local/include -O2 -Wall -W -D_REENTR
ANT -DVERSION=2.5.1 -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_NO_DEBUG -
DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt/mkspecs/linux-g++ -I. -I/usr/li
b/qt/include/QtCore -I/usr/lib/qt/include/QtNetwork -I/usr/lib/qt/include/QtGui -I/usr/lib/qt/includ
e -Isubprojects/QtSingleApplication/src -I. -I. -o choiceitem.o src/choiceitem.cpp
In file included from src/tabbar.h:7,
from src/kiwixapp.h:6,
from src/choiceitem.cpp:5:
src/webview.h:5:10: fatal error: QWebEngineView: No such file or directory
5 | #include <QWebEngineView>
| ^~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:965: choiceitem.o] Error 1
My system has the QtWebEngineWidgets directory
/usr/include/qt5/QtWebEngineWidgets/
5.15.3 QtWebEngineWidgetsVersion
QWebEngineCertificateError qtwebenginewidgets-config.h
QWebEngineClientCertificateSelection qtwebenginewidgetsglobal.h
QWebEngineContextMenuData qtwebenginewidgetsversion.h
QWebEngineDownloadItem qwebenginecertificateerror.h
QWebEngineFullScreenRequest qwebengineclientcertificateselection.h
QWebEngineHistory qwebenginecontextmenudata.h
QWebEngineHistoryItem qwebenginedownloaditem.h
QWebEnginePage qwebenginefullscreenrequest.h
QWebEngineProfile qwebenginehistory.h
QWebEngineScript qwebenginepage.h
QWebEngineScriptCollection qwebengineprofile.h
QWebEngineSettings qwebenginescript.h
QWebEngineView qwebenginescriptcollection.h
QtWebEngineWidgets qwebenginesettings.h
QtWebEngineWidgetsDepends qwebengineview.h
Any files I could edit so the build pulls through so I can use kiwix-desktop?
thank you for your time!
Rod
edit:
looking https://qthub.com/static/doc/qt5/qmake/qmake-environment-reference.html
Trying to run qmake with addition flags...
In the slackbuild for kiwix-desktop: qmake PREFIX=/usr
and I find adding flags has no results. QT_INSTALL_PLUGINS - location of Qt plugins
QT_INSTALL_PLUGINS=/usr/include/qt5/QtWebEngineWidgets/ or PLUGINS=/usr/include/qt5/QtWebEngineWidgets/
I'm using a slackbuild script and I'm not totally familiar where this build is failing.
https://slackbuilds.org/repository/15.0/office/kiwix-desktop/?search=kiwix-desktop
https://slackbuilds.org/slackbuilds/15.0/office/kiwix-desktop/kiwix-desktop.SlackBuild
issuing qmake on kiwi-desktop-2.5.1 there are messages
and the error when make install starts.
My system has the QtWebEngineWidgets directory
Any files I could edit so the build pulls through so I can use kiwix-desktop?
thank you for your time!
Rod
edit:
looking https://qthub.com/static/doc/qt5/qmake/qmake-environment-reference.html
Trying to run qmake with addition flags...
In the slackbuild for kiwix-desktop: qmake PREFIX=/usr
and I find adding flags has no results. QT_INSTALL_PLUGINS - location of Qt plugins
QT_INSTALL_PLUGINS=/usr/include/qt5/QtWebEngineWidgets/ or PLUGINS=/usr/include/qt5/QtWebEngineWidgets/