Shared Library QT Resource

c++, qt, resources, shared

Solution

Nevermind. I found the solution. The qInitResources_name() was not found. So, I created a function inside the shared library

int RmiLib::startResources(){
    extern int qInitResources_rmi();
    return qInitResources_rmi();
}

Then, on the main App, I called that function, and yay! It worked.

Problem

Im having again another problem. This time, I have a .dll, a shared library that contains a .qrc (QT Resource) file, the problem is, that when I'm trying to access one of the resources of the library, it doesn't work. I tried implementing the: ``` Q_INIT_RESOURCE(resourcefilename) ``` and it stills not working. (It says that the "qInitResources_resourcefilename()" is not found.)

Original source