win32: fix debug QBSQTPROFILELIB var expansion

Change-Id: I5ee614a69b41be9fd5461155daa1108092b217a1
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
qtprofilesetup: Determine Qt module library name at setup time.

As opposed to calculating it in JavaScript inside the module.

Change-Id: I4d11d57a45098d7f8ac06cf60f8d8cab8b11feab
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
qtprofilesetup.cpp: Add missing placeholder value to gui.qbs.

For instance, "isStaticLibrary" was not set correctly due to this
missing.

Change-Id: I2fd6eba4833e62eda7563bc41fdf46a72e14f211
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
libqtprofilesetup: Fix order of libraries in QtModule.qbs.

The lib itself must come before the dependencies, particularly in the
case of static builds.

Change-Id: I728ed75b4cb36378b50528992943ad10ca754ba9
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>