Problems with CMake project for VST plugin with Qt Quick
-
Hi everyone,
I've been developing in Qt for a while now and I've decided it is time for me to return a favor and to give a little treat to the community.
For these past few weekends I've been trying to develop some Qt Quick based VST plugin, create some kind of tutorial for this and publish all of the sources somewhere (I guess this forum would be a nice place for this as well). I guess it is a great learning opportunity for me as well.
The thing is that I have difficulties with proper project setup. I've managed to set up VST SDK sample project with CMake (I am absolutely new in this field) in Qt Qreator and link it against Qt Modules but every now and then I get jom errors.
* Loading module... C:/Users/jakub/projekty/biblioteki/VST_SDK/build-VST3_SDK-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug/VST3/Debug/helloworldWithVSTGUI.vst3/Contents/x86_64-win/helloworldWithVSTGUI.vst3 Invalid Module! LoadLibray failed. jom: C:\Users\jakub\projekty\biblioteki\VST_SDK\my_plugins\build\helloworld_with_VSTGUI\CMakeFiles\helloworldWithVSTGUI.dir\build.make [C:\Users\jakub\projekty\biblioteki\VST_SDK\build-VST3_SDK-Desktop_Qt_5_14_2_MSVC2017_64bit-Debug\VST3\Debug\helloworldWithVSTGUI.vst3\Contents\x86_64-win\helloworldWithVSTGUI.vst3] Error 2
Did anyone manage to get anything even loosely related to minimum working example?
I would appreciate any ideas about what should I look for when debugging this error. Thank you from the bottom of my heart.I am using Qt 5.14.2 for Windows (I think it's easier for VST development since SDK has little to no support for environments other than Visual Studio and MSVC).