diff options
author | Oliver Wolff <oliver.wolff@digia.com> | 2014-03-12 08:16:56 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-13 13:26:41 +0100 |
commit | 0e1837757dbc26dcf7a9f911e693a4a5cffa8b69 (patch) | |
tree | 30bcee1d56b6fe538fd011d28cae07ec4bef2fd8 | |
parent | 0dd07e7e57875bbaefbc264c621ef191060efc6d (diff) | |
download | qttools-0e1837757dbc26dcf7a9f911e693a4a5cffa8b69.tar.gz |
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>
-rw-r--r-- | src/qtd3dservice/appxhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qtd3dservice/appxhandler.cpp b/src/qtd3dservice/appxhandler.cpp index c12790d12..5e956a733 100644 --- a/src/qtd3dservice/appxhandler.cpp +++ b/src/qtd3dservice/appxhandler.cpp @@ -124,6 +124,7 @@ extern int appxAppNames(int deviceIndex, QSet<QString> &apps) return 1; } +#if _MSC_VER >= 1800 ComPtr<IPackage2> package2; hr = package.As(&package2); if (FAILED(hr)) { @@ -141,6 +142,7 @@ extern int appxAppNames(int deviceIndex, QSet<QString> &apps) hr = iterator->MoveNext(&hasCurrent); continue; } +#endif // _MSC_VER >= 1800 ComPtr<IPackageId> id; hr = package->get_Id(&id); |