code only compile in dinamically mode
Hi guys. I am trying to compile my program but i only can compile in dinamic mode.
When i do build static i got this:
// Create a DNS lookup.
QDnsLookup *dns = new QDnsLookup(this);
// Find the XMPP servers for gmail.com dns->setType(QDnsLookup::SRV); dns->setName("_xmpp-client._tcp.gmail.com"); dns->lookup();
Error; crash tool:
The program has unexpectedly finished.
So maybe my built is wrong, any suggestion is good received
Run your application through the debugger. You are likely accessing an invalid pointer somewhere.
i tried mode release worked fine
That doesn't mean you don't have a bug somewhere. Please, run your debug build with the debugger on. That should help pin-point the problem.