ossia / score

ossia score, an interactive sequencer for the intermedia arts
https://ossia.io
Other
1.45k stars 101 forks source link

Compilation fails: error: invalid use of incomplete type 'class QWidget' #1499

Open yurivict opened 5 months ago

yurivict commented 5 months ago
In file included from /usr/ports/multimedia/ossia-score/work/ossia-score-3.1.12/src/plugins/score-plugin-gfx/Gfx/Filter/PreviewWidget.cpp:3:
/usr/ports/multimedia/ossia-score/work/ossia-score-3.1.12/src/plugins/score-plugin-gfx/Gfx/Filter/PreviewWidget.hpp: At global scope:
/usr/ports/multimedia/ossia-score/work/ossia-score-3.1.12/src/plugins/score-plugin-gfx/Gfx/Filter/PreviewWidget.hpp:20:36: error: invalid use of incomplete type 'class QWidget'
   20 | class ShaderPreviewWidget : public QWidget
      |                                    ^~~~~~~

You forgot to include <QWidget> into that file.

Version: 3.1.12 FreeBSD 14.0

jcelerier commented 5 months ago

ah, this has been fixed in master already - the problem was actually somewhere else, I remember it was pretty confusing to find as QWidget is actually included explicitely. I'm trying to get the next release out soon..

jcelerier commented 5 months ago

Can you try 3.1.13? https://github.com/ossia/score/releases/tag/v3.1.13