You are here

Compiling error with qtractor

Dear Rui!
When compiling qtractor's latest code I get the following error:
==================================
In file included from qtractorTrackList.cpp:23:0:
qtractorTrackList.h:286:33: error: field ‘m_tracks’ has incomplete type ‘QHash’
QHash m_tracks;
^
In file included from /usr/include/qt4/QtGui/qwidget.h:46:0,
from /usr/include/qt4/QtGui/qframe.h:45,
from /usr/include/qt4/QtGui/qabstractscrollarea.h:45,
from /usr/include/qt4/QtGui/QAbstractScrollArea:1,
from qtractorScrollView.h:25,
from qtractorTrackList.h:25,
from qtractorTrackList.cpp:23:
/usr/include/qt4/QtGui/qwindowdefs.h:148:34: note: declaration of ‘class QHash’
template class QHash;
^
In file included from qtractorTrackList.cpp:23:0:
qtractorTrackList.h:289:21: error: field ‘m_select’ has incomplete type ‘QHash’
QHash m_select;
==================================
If it is a qt4 issue I am fine with it anyway.
Thanks and greetings, Michael

Forums: 
rncbc's picture

yes, s*it happens if you try to build on dead-old-qt4: please consider to move to qt5 asap. you have no excuses left :)

anyway, this one was dead easy to fix in the source, while others in the future might not be so indulging.

cheers

babarosa's picture

Thank you, version 0.9.7.35 compiles fine again.
"...move to qt5 asap. you have no excuses left :)" Well let me think about it ... :-)

Greetings and enjoy the spring!
Michael

Add new comment