[Qt-interest] Problems with Qt resource file on WIndows

Christian Dähn daehn at asinteg.de
Sun Dec 6 10:25:34 CET 2009


Hi,

to use an included resource you need the Q_INIT_RESOURCE() macro -
maybe calling this inside a .cpp of your static lib helps - see:
http://doc.trolltech.com/4.5/qdir.html#Q_INIT_RESOURCE

ciao,
Chris

David Boosalis <david.boosalis at gmail.com> wrote:
> Update
> I see qmake creates a  file named qrc_resourceGui.cpp in its release
> directory. Now how to get this compiled as part of the static lib






More information about the Qt-interest-old mailing list