I work on windowXP . I try several examples, and find if the there are resources of images , it will not produce .exe file, cause the problem above.
But if the example has no resources of images, it is OK to produce the .exe file.
In the main.cpp it is:
int main(int argc, char* argv[])
{
Q_INIT_RESOURCE(configdialog);
..........
}
and in the configdialog.qrc file , it is:
<!DOCTYPE RCC><RCC version=¨1.0¨>
<qresourece>
<file>image/config.png</file>
</qresource>
</RCC>
is it the problem of the rcc version?