How does this problem differ from the problem in this another thread of yours: Q_init_resource?
How does this problem differ from the problem in this another thread of yours: Q_init_resource?
J-P Nurmi
Cheers,
Phillip
--- Please post the solution you got to solve your problem. It may help others.
Wait, your first post states nothing about DLL, but main(). Could you clearly state
- where do you have Q_INIT_RESOURCES()
- in which .pro file you have the corresponding resource file
J-P Nurmi
K. In my project some 15 modules are there. one module is a exe. But my module is a dll. i ve include the Q_INIT_RESOURCES in the main() of that exe module. and created a pointer of stylesheet there. while trying to allocate memory its showing
error LNK2019: unresolved external symbol "public: __thiscall StyleSheet::StyleSheetEditor::StyleSheetEditor(cla ss QWidget *)"
and error LNK2019: unresolved external symbol "int __cdecl qInitResources_stylesheet(void)" (?qInitResources_stylesheet@@YAHXZ) referenced in function _main for Q_INIT_RESOURCES. I'm doing all these through cmake.i cannt understand what to do. Can u help me?![]()
Cheers,
Phillip
--- Please post the solution you got to solve your problem. It may help others.
Bookmarks