Ticket #114 (closed defect: fixed)
museeq (transferlistitemprogress.cpp.o) does not compile
| Reported by: | snayle | Owned by: | gandalf |
|---|---|---|---|
| Priority: | major | Milestone: | Release 0.2.0 |
| Component: | museek_general | Version: | 0.2prerelease (newnet2 branch) |
| Keywords: | museeq cmake make compile | Cc: |
Description
I'm running cmake version 2.6-patch 3 RC-1, and the make process dies when trying to compile it from svn sources prepared with
cmake -DEVERYTHING=1 -DNO_MUSEEQ=0 -DMUCOUS=0 -DPREFIX=/usr/local -DMANDIR=share/man
the make error:
[ 73%] Building CXX object museeq/CMakeFiles/museeq.dir/transferlistitemprogress.cpp.o /usr/local/src/museek+/museeq/transferlistitemprogress.cpp: In member function ‘virtual void TransferListItemProgress::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’: /usr/local/src/museek+/museeq/transferlistitemprogress.cpp:37: error: invalid use of incomplete type ‘const struct QModelIndex’ /usr/include/qt4/QtGui/qabstractitemdelegate.h:57: error: forward declaration of ‘const struct QModelIndex’ /usr/local/src/museek+/museeq/transferlistitemprogress.cpp:38: error: invalid use of incomplete type ‘const struct QModelIndex’ /usr/include/qt4/QtGui/qabstractitemdelegate.h:57: error: forward declaration of ‘const struct QModelIndex’
make[2]: *** [museeq/CMakeFiles/museeq.dir /transferlistitemprogress.cpp.o] Error 1 make[1]: *** [museeq/CMakeFiles/museeq.dir/all] Error 2 make: *** [all] Error 2
---
I know there are some testing packages for museek but it is for inteprid only. Nonetheless I added the intrepid deb to my sources.list. But I can't install the new svn packages because they depend on 4.3.3 libqtgui and core which are [UNAVAILABLE]. I wonder why I can't install it though. My version of the libqt4 stuff is 4.3.4-0ubuntu3, so why does it complain?
Thank you for your help in advance.
