Compiling error with qtractor

Forums

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

Permalink

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

Permalink

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

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.
CAPTCHA
Enter the characters shown in the image.