Ah didn't think of this. But looks like the code that is provided in:
https://wiki.qt.io/How_to_create_a_l...an_application
won't need much changes if the .dll is modified? You're loading the same .dll and if you're calling a function by ->resolve, you still need the function to be there in the .dll. I'm obviously missing something.
I tried doing it this way before - that's when I posted that message regarding disregard because I stumbled onto an alternative solution i.e. using QLibrary, but got nowhere. I must have missed something somewhere, but my code resulted in no qDebug hello world statement. That was another reason why now I'm trying to use the QLibrary code. That and the fact that it's cross platform. I'm sure it's possible to write code this way that's cross platform as well, but I figure it will require slightly more digging to get everything to work. I was kind of hoping with QLibrary, I wouldn't have to do any additional digging and just have code that does what I want it to.
EDIT: Tried doing it the conventional way again, but not getting anything spat out in qDebug so nothing has changed from my previous attempts.





Reply With Quote
Bookmarks