Home Page
I'm wondering if change 6177 caused the following build error:

gcc -c -m64 -pipe -O2 -w -D_REENTRANT -fPIE -DQMC2_VERSION=0.45 -DQMC2_SVN_REV=6186 -DBUILD_OS_NAME=Linux -DBUILD_OS_RELEASE=3.13.0-35-generic -DBUILD_MACHINE=x86_64 -DPREFIX=/usr/local -DDATADIR=/usr/local/share -DSYSCONFDIR=/etc -DQMC2_JOYSTICK=1 -DQMC2_OPENGL=0 -DQMC2_PHONON=0 -DQMC2_FADER_SPEED=500 -DQMC2_SDLUME -DQMC2_VARIANT_LAUNCHER -DQMC2_BROWSER_EXTRAS_ENABLED -DQMC2_BROWSER_PLUGINS_ENABLED -DQMC2_BROWSER_JAVA_ENABLED -DQMC2_BROWSER_JAVASCRIPT_ENABLED -DQMC2_WC_COMPRESSION_ENABLED -DQMC2_YOUTUBE_ENABLED -D_7ZIP_PPMD_SUPPORT -D_7ZIP_ST -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_QUICK_LIB -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_XMLPATTERNS_LIB -DQT_MULTIMEDIA_LIB -DQT_WEBKIT_LIB -DQT_QML_LIB -DQT_LOCATION_LIB -DQT_WIDGETS_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_SENSORS_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR=\"/home/eris23/src/qmc2/qmc2-svn\" -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -Iqftp -Iminizip -Izlib -Ilzma -I/usr/include/qt5 -I/usr/include/qt5/QtWebKitWidgets -I/usr/include/qt5/QtMultimediaWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtXmlPatterns -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtWebKit -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtLocation -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtPositioning -I/usr/include/qt5/QtSensors -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -o deflate.o zlib/deflate.c
collectionrebuilder.cpp: In member function ‘void CollectionRebuilder::scrollToEnd()’:
collectionrebuilder.cpp:151:41: error: invalid use of incomplete type ‘class QScrollBar’
plainTextEditLog->horizontalScrollBar()->setValue(plainTextEditLog->horizontalScrollBar()->minimum());
^
In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45:0,
from /usr/include/qt5/QtWidgets/qheaderview.h:45,
from /usr/include/qt5/QtWidgets/QHeaderView:1,
from ui_collectionrebuilder.h:21,
from collectionrebuilder.h:13,
from collectionrebuilder.cpp:13:
/usr/include/qt5/QtWidgets/qabstractscrollarea.h:53:7: error: forward declaration of ‘class QScrollBar’
class QScrollBar;
^
collectionrebuilder.cpp:151:91: error: invalid use of incomplete type ‘class QScrollBar’
plainTextEditLog->horizontalScrollBar()->setValue(plainTextEditLog->horizontalScrollBar()->minimum());
^
In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45:0,
from /usr/include/qt5/QtWidgets/qheaderview.h:45,
from /usr/include/qt5/QtWidgets/QHeaderView:1,
from ui_collectionrebuilder.h:21,
from collectionrebuilder.h:13,
from collectionrebuilder.cpp:13:
/usr/include/qt5/QtWidgets/qabstractscrollarea.h:53:7: error: forward declaration of ‘class QScrollBar’
class QScrollBar;
^
collectionrebuilder.cpp:152:39: error: invalid use of incomplete type ‘class QScrollBar’
plainTextEditLog->verticalScrollBar()->setValue(plainTextEditLog->verticalScrollBar()->maximum());
^
In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45:0,
from /usr/include/qt5/QtWidgets/qheaderview.h:45,
from /usr/include/qt5/QtWidgets/QHeaderView:1,
from ui_collectionrebuilder.h:21,
from collectionrebuilder.h:13,
from collectionrebuilder.cpp:13:
/usr/include/qt5/QtWidgets/qabstractscrollarea.h:53:7: error: forward declaration of ‘class QScrollBar’
class QScrollBar;
^
collectionrebuilder.cpp:152:87: error: invalid use of incomplete type ‘class QScrollBar’
plainTextEditLog->verticalScrollBar()->setValue(plainTextEditLog->verticalScrollBar()->maximum());
^
In file included from /usr/include/qt5/QtWidgets/qabstractitemview.h:45:0,
from /usr/include/qt5/QtWidgets/qheaderview.h:45,
from /usr/include/qt5/QtWidgets/QHeaderView:1,
from ui_collectionrebuilder.h:21,
from collectionrebuilder.h:13,
from collectionrebuilder.cpp:13:
/usr/include/qt5/QtWidgets/qabstractscrollarea.h:53:7: error: forward declaration of ‘class QScrollBar’
class QScrollBar;
^
make[1]: *** [collectionrebuilder.o] Error 1
ma
I hope you're aware that Qt 5 is still not a "primary Qt target version" for us smile... in case anything doesn't work you're pretty much up to yourself. Anyway, thanks for the info! SVN r6187 fixes this problem (there's another Qt 5 compile issue with QMC2 Arcade fixed in r6188).
Built with no problem after fix. Thanks!
© Forums