[SOLVED] My program crashes when is running in a PC that hasn't Qt installed
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:
Code:
source.setData(data);
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.
Re: My program crashes when is running in a PC that hasn't Qt installed
Are you sure your "source" is valid?
Re: My program crashes when is running in a PC that hasn't Qt installed
The problem was not in that line, the problem was in another part of the code that use a SQLite database. I have added "sqldrivers/qsqlite4.dll" in the executable folder and now works properly.