06-21-2013 04:52 PM
I am not sure but I tink there is a type in Slide "App Directory"
"file:///" + QDir::currentPath() + "/app/native/asset/img01.png"
it should be
"file://" + QDir::currentPath() + "/app/native/assets/img01.png"
06-24-2013 10:56 AM
Yes, you're correct - this is a typo.
This shoud indeed have two slashes because the currentPath() function will add the third.
The course has been republished with this correction. Thanks for catching this!
07-11-2013 05:48 AM
In SqlConnection Example: Asynchronous,
isn't deleteLater a member of QNetworkReply? The parameter passed by the signal is a DataAccessReply, how can I actually deleteLater the reply? Because the IDE doesn't seem to recognize that method in the autocompletion..
07-11-2013 10:07 AM
That is an error on the slide. You don't need to delete it at all.
The DataAccessReply is implicitly shared, so it will be deleted when all references to it go out of scope. deleteLater()is required when the slot gets a QObject, as it is for QNetworkReply.