Skip to content

Commit 695225b

Browse files
committed
JS: include the context this file reads through
EditContext.ui.cpp reaches into doc->app to ask the layer factories whether a process has an external UI, but never included the header that defines GUIApplicationContext -- it arrived transitively, and no longer does. Building master gives: error: member access into incomplete type 'const score::GUIApplicationContext' A precompiled header hides it wherever one is used, which is why it survives some configurations and not others.
1 parent 641cee1 commit 695225b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/plugins/score-plugin-js/JS/Qml/EditContext.ui.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include <JS/Qml/EditContext.hpp>
88

9+
#include <score/application/GUIApplicationContext.hpp>
910
#include <score/tools/std/StringHash.hpp>
1011
#include <score/widgets/DoubleSlider.hpp>
1112

0 commit comments

Comments
 (0)