Hi,
I've been reading the Dll examples FAQ and the rest of the Docs for the last two days. I've also read up on qmake. My understanding of the functionality of QxOrm is stronger, but the setup has been nightmarish.
I need to load QxOrm in an existing project VST audio plugin, which is a dynamic DLL. That DLL is made by the VST SDK, my code just overrides some of that sdk's functions to create the audio processing. I have a working VST project and I have the dll1/2 example project running, but I am having a great deal of difficulty understanding how to integrate qxorm in the VST project so it will export in a single dll. I don't control the destination app so I can't run QApplication in the exe that is running the plugin.
Can I just create a pro and pri file manually or is there something that is done to the existing visual studio project that the command line process handles? Once the the export.h, precompiled.h MyProjectName.pro files are created and pointing at the right paths should it just work or are there other settings I am unaware of?
Do I need every source file in the pro or just the ones with QxOrm?
I have pulled up the property sheets for the DLL1 project and my project in this screen shot. The options are vastly different, I'm assuming because one was created as a Qt project.
[img]
http://www.caseyjamesbasichis.com/QxOrm/QxOrmComp.PNG
[/img]
Also, what is the best reference for the macros and how they are to be formatted. I see through out the code that some of the defines seem to be arbitrary like _QX_BUILDING_DLL2
where others like _QX_DLL2_EXPORT_H_ are not defined anywhere specific but use a specific formatting to convey the correct information (_QX_PROJECT-NAME_EXPORT_H ?). Searching the Doxygen doesn't allow searching for words like 'export', and searching "_QX_DLL2" doesn't work because of the substitution.
Any thoughts on how I might go about this.