I’m trying to use some JUCE code as part of a secondary project in Qt.
Exporting my JUCE files from Projucer as a static library (.a), I can then successfully include it as a library into my Qt project, but I then run into issues.
I add the JUCE Project as part of
INCLUDEPATH, which allows me to do a
But the compiler then spits out that
<JuceHeader.h> file cannot be found. (And if I link JuceHeader properly, then all the JUCE global modules (audio_basics.h, etc…) cannot be found… and I have not been able to manually solve that one. The linker in the Qt Project just doesn’t cope with JUCE global modules added to
INCLUDEPATH for some reason)
Any tips or ideas? It seems the headers are purely made for the Projucer, which I understand, but how am I supposed to include my library files properly? (I’m on Linux - I don’t know if the VS or XCode exports maybe make more sense).