You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reading INSTALL.md and the CHANGELOG.md looks like Qt >= 5.6 is needed, so I tried to build latest 9.5.0 on the latest Slackware (I'm the maintainer on SlackBuilds.org), with qt-5.7.1 but I had these errors
make[1]: Entering directory '/tmp/SBo/yacreader-9.5.0/YACReader'
g++ -c -pipe -std=c++11 -O2 -fPIC -Wall -W -D_REENTRANT -fPIC -DNOMINMAX -DYACREADER -Duse_unarr -DLIBDIR="/usr/lib64" -DDATADIR="/usr/share" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../common -I../custom_widgets -I../common/gl -I../custom_widgets -I../compressed_archive/unarr -I../shortcuts_management -I../QsLog -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:86:11: error: ‘class QCommandLineOption’ has no member named ‘setFlags’
comicId.setFlags(QCommandLineOption::HiddenFromHelp);
^~~~~~~~
main.cpp:86:40: error: ‘HiddenFromHelp’ is not a member of ‘QCommandLineOption’
comicId.setFlags(QCommandLineOption::HiddenFromHelp);
^~~~~~~~~~~~~~
main.cpp:87:13: error: ‘class QCommandLineOption’ has no member named ‘setFlags’
libraryId.setFlags(QCommandLineOption::HiddenFromHelp);
^~~~~~~~
main.cpp:87:42: error: ‘HiddenFromHelp’ is not a member of ‘QCommandLineOption’
libraryId.setFlags(QCommandLineOption::HiddenFromHelp);
seems like some functions has been introduced with Qt >= 5.8.
The text was updated successfully, but these errors were encountered:
Ponce
changed the title
Documentation list Qt >= 5.6 as a prerequisite but looks like Qt >= 5.8 is needed
Documentation lists Qt >= 5.6 as a prerequisite but looks like Qt >= 5.8 is needed
Jul 2, 2018
reading INSTALL.md and the CHANGELOG.md looks like Qt >= 5.6 is needed, so I tried to build latest 9.5.0 on the latest Slackware (I'm the maintainer on SlackBuilds.org), with qt-5.7.1 but I had these errors
make[1]: Entering directory '/tmp/SBo/yacreader-9.5.0/YACReader'
g++ -c -pipe -std=c++11 -O2 -fPIC -Wall -W -D_REENTRANT -fPIC -DNOMINMAX -DYACREADER -Duse_unarr -DLIBDIR="/usr/lib64" -DDATADIR="/usr/share" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../common -I../custom_widgets -I../common/gl -I../custom_widgets -I../compressed_archive/unarr -I../shortcuts_management -I../QsLog -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:86:11: error: ‘class QCommandLineOption’ has no member named ‘setFlags’
comicId.setFlags(QCommandLineOption::HiddenFromHelp);
^~~~~~~~
main.cpp:86:40: error: ‘HiddenFromHelp’ is not a member of ‘QCommandLineOption’
comicId.setFlags(QCommandLineOption::HiddenFromHelp);
^~~~~~~~~~~~~~
main.cpp:87:13: error: ‘class QCommandLineOption’ has no member named ‘setFlags’
libraryId.setFlags(QCommandLineOption::HiddenFromHelp);
^~~~~~~~
main.cpp:87:42: error: ‘HiddenFromHelp’ is not a member of ‘QCommandLineOption’
libraryId.setFlags(QCommandLineOption::HiddenFromHelp);
looking at the Qt documentation
http://doc.qt.io/qt-5/qcommandlineoption.html#setFlags
seems like some functions has been introduced with Qt >= 5.8.
The text was updated successfully, but these errors were encountered: