Project changes to libtiled.

Replacing relative references to QT with environment variable.