qt_developer
4th June 2012, 16:52
Hi all,
My program crashes when is running in a PC that hasn't Qt installed.
I have added the libraries QtXml4.dll and QtXmlPatterns4.dll in the same place that the executable file.
The code that closes the program:
QXmlInputSource source;
source.setData(data);
QXmlSimpleReader reader;
reader.setContentHandler(&qxmlDefaultHandler);
bool parsed = reader.parse(source); // The program crashes in this line
If I execute the program in the development PC, the application works properly.
What's wrong?
Regards.
My program crashes when is running in a PC that hasn't Qt installed.
I have added the libraries QtXml4.dll and QtXmlPatterns4.dll in the same place that the executable file.
The code that closes the program:
QXmlInputSource source;
source.setData(data);
QXmlSimpleReader reader;
reader.setContentHandler(&qxmlDefaultHandler);
bool parsed = reader.parse(source); // The program crashes in this line
If I execute the program in the development PC, the application works properly.
What's wrong?
Regards.