Menu

#171 Build fix for Qt 5.5

git_head
closed
nobody
None
2015-08-21
2015-07-28
KaOS
No

To build Qtractor 0.7.0 with Qt 5.5 a patch is needed to adjust for the new, stricter way of handling includes. Example of the build errors:

qtractorTimeScale.cpp: In static member function 'static QStringList qtractorTimeScale::snapItems(int)':
qtractorTimeScale.cpp:673:16: error: 'QObject' has not been declared
items.append(QObject::tr("None"));
^
qtractorTimeScale.cpp:677:20: error: 'QObject' has not been declared
QString sPrefix = QObject::tr("Beat");
^
Makefile:2932: recipe for target '.obj/qtractorTimeScale.o' failed
make[2]: *** [.obj/qtractorTimeScale.o] Error 1

This patch fixes the build:
https://github.com/KaOSx/apps/blob/master/qtractor/qt5.5.diff

Discussion

  • Rui Nuno Capela

    Rui Nuno Capela - 2015-07-29

    merged to git head master [7ff648]

    thanks

     

    Related

    Commit: [7ff648]

  • Rui Nuno Capela

    Rui Nuno Capela - 2015-07-29
    • status: open --> pending
    • Milestone: 0.7.0 --> git_head
     
  • Rui Nuno Capela

    Rui Nuno Capela - 2015-08-21
    • status: pending --> closed
     

Log in to post a comment.