windeployqt: Deploy d3dcompiler from system only if word size matches.

Look in the bin-directory of the Qt SDK first, then check system
and make sure the word size matches.

Task-number: QTBUG-37299

Change-Id: Ib1941c79cbc931aa67090bc08a5f7c1798e2a245
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
winrtrunner: Fix includepath

This was breaking for prefixed builds.

Change-Id: Ida0938b9d723bff81bcdc05b83d0da00bb59dc35
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
windeployqt: fix informational output

Spaces were missing and the executable was printed twice.

Change-Id: Ib5ea86a0f32ee345a61f37655d58e5665ef4153d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
qtd3dservice: Disable check for development mode of apps for VS 2012

As IPackage2 seems not to be available for VS 2012 the check is
disabled for now. We might be able to check, whether the application
uses Qt libraries, but that can be done in a followup commit.

Change-Id: I5642bac0b63e36c0eea162568e6392fb0256e3db
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
qtd3dservice: Remove registry options

As the service is automatic now, remove these options before the
utility is released these become "API".

Change-Id: I710990d85d9efe3be06ab07b9c73547975c3f78d
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
qtd3dservice: Switch to HKLM for appx registry lookup

This works in service mode; the HKCR lookup did not.

Change-Id: Ic4f81f1cb78e03ba8dbde87edaa14ad94b092df5
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
qtd3dservice: Remove Windows Service mode

Removes -install/-remove options and all traces of the Windows
Service API usage and credentials utilities. The -direct option has
also been removed and direct starting has become the default behavior.

This was a failed experiment. Even after solving the problems with
running the service as the local user, it was discovered that the
required session objects were inaccessible outside of the service,
making emulator support unattainable in service mode. Furthermore, the
direct mode evolved to match the service mode's device trigger
capabilities, making the service mode more obselete.

Change-Id: I458246086f9e46005ce2a30a6eea07fdc94a4da4
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
qtd3dservice: Fix bad handle close at shutdown

The control handle event is closed by the service class destructor, and
the worker thread handles are closed by their destructors. So, only
directly close the emulator/phone handles at shutdown.

Change-Id: I03ce660100826f350f742be6e8f6ae1403c6da05
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
qtd3dservice: Lock the app to a single instance

To avoid conflicts with multiple services running in tandem, create
a lock mutex and prevent starting multiple instances.

Change-Id: I0b1eede3947d8baafa309ffd8e214029a4b79bc5
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Add QQuickWidget as a Qt Designer plugin.

Change-Id: Ie0f87232db5eeab4b2f3c36cd5e209fce727a40d
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Fix messages about whitespace visualization in Qt Linguist.

Change-Id: I54f9a114650dce691881f3395bbef4cd05dc6634
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
CMake: Fix path to lrelease on debian.

Use a patch similar to qtbase/v5.2.0-alpha1~74^2^2~38 (Fix usr-move
workaround in the presence of multi-arch., 2013-08-30) to include
the appropriate calculation.

Task-number: QTBUG-36673
Change-Id: Iea0b6c64c5959d7d6dfce922c41031183c1c23d9
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
qtd3dservice: Remove control file handling

This is no longer necessary, as d3dcompiler_qt no longer relies
on a control file.

Change-Id: I689afaf02f30adc3d733aa6fa47bd96c85f8459b
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
winrtrunner: Relay debug messages from local apps

When local (Appx) app runs with -qdevel, it writes all debug messages
to shared memory. This change allows winrtrunner to retrieve and relay
this output to the user. All debug messages are printed with the logging
category "qt.winrtrunner.app" to differientate them from winrtrunner's
own output.

Change-Id: I5a42d33680b75c00624147152a09a4ed9031e33c
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
qtd3dservice: Add some missing sleeps

The service should sleep in all situations where it intends to try
a task on the next loop iteration. This was missing in two cases in the
Xap handler.

Change-Id: Id32ac66d64e0702fdb00cedd2fc78355d6bd0587
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Android: Fix line break.

Change-Id: I0591cba588e2b5ed1fc29aaf32fb40e6ee0cd97d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Store changed status of the QAxWidget's "control" property correctly.

Handle the case of it being PropertySheetStringValue.

Task-number: QTBUG-37602

Change-Id: Iff54d6409ffabf48406fcfec96289848a42b3e55
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
Adding debug option to the winrtrunner.

Added an option that automatically enables debugging for a package with a
provided debugger. An additinal winrtrunner option was introduced to pass
arguments to the debugger.

Change-Id: I55dbc809d26748674e5633f3eb31e7a4b8963655
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
windeployqt: Add module Qt5MultimediaQuick_p.

Add it as a known module such that it gets an option to
enable/disable it and the name matching works for all multimedia
modules.

Task-number: QTBUG-37576

Change-Id: Iba6a0bd32ad9676d47d20d6a3d75fdb4c1772bcf
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
winrtrunner: use HString class where appropriate

Change-Id: I9b56594b65a545ea98e033ec57788f51cfd6695d
Reviewed-by: Andrew Knight <andrew.knight@digia.com>