summaryrefslogtreecommitdiff
path: root/src/plugins/winrt/winrtrunnerhelper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* winrt: Remove --install from winrtrunner's default run argumentsOliver Wolff2018-11-011-1/+1
| | | | | | | | | | | | | Passing --install to winrtrunner on run will cause the application to be reinstalled if it was installed before. This reinstallation will result in a clean sandbox so that all previously saved data will be lost. If the user needs described behavior he can use the existing "Uninstall package after application stops" aspect from the run configuration. Change-Id: I5b5975fb4646a625bfc86975770a1860effcfc06 Fixes: QTCREATORBUG-20208 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* winrt: Code cleanupOliver Wolff2018-11-011-3/+3
| | | | | | | | Replace 0 with nullptr where applicable Initialize members in declaration Change-Id: I3d8bae845be01e27db2c591f8037d3823f25f67d Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* ProjectExplorer: Rename 'extraAspect' to 'aspect'hjk2018-10-021-4/+4
| | | | | | | | | Using aspects is the standard pattern nowadays, there's nothing 'extra' to them anymore. Change-Id: I446f9d7b1db58a4899e5e44df33ce51f655e7be4 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* winrt: Remove superfluous isEmpty checkOliver Wolff2018-09-211-2/+1
| | | | | | | | QtcProcess::addArgs checks for emptiness of passed arguments. Change-Id: I3fed96f1e47554ff7773f1b683dd68b7169f1bfd Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* winrt: Add possibility to use loopbackExemption from CreatorOliver Wolff2018-09-141-0/+14
| | | | | | | | | | | | In order to be able to communicate with loopback addresses, winrtrunner has to be passed loopbackExempt flags. Loopback exemption can only be used while developing/debugging and will not be added to final versions of the applications. Change-Id: Ia5e7ec9b106f86ba1971eac8514e652ccacb40c3 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* ProjectExplorer: Pass macro expander to ArgumentsAspect::argumentshjk2018-09-131-1/+1
| | | | | | | To remove the last user of IRCAspect::runConfiguration. Change-Id: I1390166730112008a4050877f96bb29f274e7ef1 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* WinRT: Remove Qmake dependencyhjk2018-05-071-3/+5
| | | | | Change-Id: I3f358b9911ffdd096f7f50d3540a3620e3c3b5f5 Reviewed-by: David Schulz <david.schulz@qt.io>
* WinRt: Generalize executable extraction in WinRtRunnerHelperhjk2018-05-031-3/+6
| | | | | | | | | | | | | This was the only remaining user of ProjectExplorer:: BuildTargetInfoLists::targetForProject was only. The result after direct inlining shows that it relies on the qmake-centered assumption that the the .pro file name is used as build key in BuildTargetInfoLists, so replace it with the now-generic projectFilePath member instead. Change-Id: Ic4dccfb347289a3dcbb4c6a11b71cf568b054fd8 Reviewed-by: David Schulz <david.schulz@qt.io>
* Utils: Purge qtcfallthrough.hOrgad Shaneh2018-04-091-1/+0
| | | | | | | No longer needed. Change-Id: I9b0bee014df89d4c567f1d2431b5ff9404f5f925 Reviewed-by: hjk <hjk@qt.io>
* Introduce Q_FALLTHROUGH()Friedemann Kleint2018-01-241-1/+2
| | | | | | | Silence g++ 7.X warnings. Change-Id: I9d06d04b496c9ec060e13e1be6f43d8fbadb1f3b Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Fix deployment to Windows 10 Phone EmulatorRyuji Kakemizu2017-09-281-1/+2
| | | | | Change-Id: Iaedee9ee61c3bf6b628a2f3d6480b980ddac54f2 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Fix buildJake Petroules2017-08-141-6/+2
| | | | | | | | Amends 5e6ff55 Change-Id: Iab56b5d06335ce916cd9381ea7ea58c4f8759116 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix deployment to Windows 10 Mobile devicesJake Petroules2017-08-141-1/+7
| | | | | | | Task-number: QTCREATORBUG-18728 Change-Id: Ib04ca8a0a163611bbb53bc50f2e0009ab460ce35 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* WinRt: Port to RunWorkershjk2017-05-191-37/+11
| | | | | | | | Keeping it as one blob for now, a proper split in the new architecture would make WinRtRunnerHelper a RunWorker, too. Change-Id: Ie310d05c1edf0ef9544b80743c140e44fcffc3ae Reviewed-by: David Schulz <david.schulz@qt.io>
* WinRt: Remove direct debugger dependency in WinRtRunnerhjk2017-04-271-10/+1
| | | | | | | Not needed anymore after d049a5be19f23. Change-Id: If968ac763863b94274629fbfbbfe5c91b32d1488 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: Reduce explicit DebuggerRunControl usehjk2017-04-271-2/+2
| | | | | | | Aim is to replace it with its ProjectExplorer::RunControl base. Change-Id: I30f837050e7c016887dc4b6cfef10b947f4f88ed Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger et al: Move code from DebuggerRunControl to DebuggerRunToolhjk2017-04-241-1/+1
| | | | | | | | | | | | It's tool specific, so put it into the tool (only) related code. The additional level of indirection will go again, plus the original one will be removed once the *DebugSupport classes can directly use DebuggerRunTool as base. Change-Id: Ieaa386a0f7d724b09cedaaba8fb7d1e6dc4ad55b Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Remove uses of deprecated QProcess::error signalOrgad Shaneh2016-08-091-2/+1
| | | | | | | | | This overload of error is deprecated in 5.6. Replace with errorOccurred, which was introduced in 5.6. Change-Id: Iccfba7e7103b7ce377471696f1f2ec217e52c840 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* WinRT: Use Qt5-style connectsOrgad Shaneh2016-07-051-7/+8
| | | | | | | | The heavy lifting was done by clazy. Change-Id: Iaa91215dd9f3adb44f39839901de56c07f0c8702 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-18/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* WinRT: Fix C++ debugging when qml debugging is also enabled.David Schulz2015-11-161-24/+27
| | | | | | | | | This is also a preparation to enable QML debugging. Unfortunately the WinRT QML library isn't printing the needed "Waiting for connection" output so far. Change-Id: I5e106de0272a0876749aaf77f1ebf74b952d3471 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* WinRT: specify argument for winrtrunnerMaurice Kalinowski2015-09-221-0/+3
| | | | | | | | | | | | | Starting with Windows 10 the application manifest does not specify the target device anymore. Hence winrtrunner cannot automatically detect which profile to use. Instead, use the device information from the kit and explicitly set it as additional arguments. Change-Id: Id2f747a270620b6a6e7d0ae578adfc4373d80266 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com> Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* WinRT: Fix occasional crash when debugging WinRT application.David Schulz2015-01-201-1/+1
| | | | | Change-Id: Ie7d54e49d67450395bf6161e9b71d00a9bf52e23 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* Update LicenseEike Ziller2015-01-161-6/+6
| | | | | Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* Normalize connect()sRobert Loehning2014-10-211-2/+2
| | | | | Change-Id: I27fee97c2837210d91948cc02f56cc5f6e6b19a2 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Merge remote-tracking branch 'origin/3.2'Eike Ziller2014-10-141-7/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/libs/utils/ipaddresslineedit.cpp src/libs/utils/logging.h src/plugins/analyzerbase/AnalyzerBase.pluginspec.in src/plugins/android/Android.pluginspec.in src/plugins/android/androiddeploystep.cpp src/plugins/android/androiddeploystep.h src/plugins/android/androiddeploystepfactory.cpp src/plugins/android/androiddeploystepwidget.cpp src/plugins/android/androidpackagecreationfactory.cpp src/plugins/android/androidpackagecreationstep.cpp src/plugins/android/androidpackagecreationstep.h src/plugins/android/androidpackagecreationwidget.cpp src/plugins/android/androidpackagecreationwidget.h src/plugins/android/javafilewizard.cpp src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in src/plugins/baremetal/BareMetal.pluginspec.in src/plugins/bazaar/Bazaar.pluginspec.in src/plugins/beautifier/Beautifier.pluginspec.in src/plugins/bineditor/BinEditor.pluginspec.in src/plugins/bookmarks/Bookmarks.pluginspec.in src/plugins/clangcodemodel/ClangCodeModel.pluginspec.in src/plugins/clangcodemodel/clanghighlightingsupport.cpp src/plugins/clangcodemodel/clangsymbolsearcher.cpp src/plugins/classview/ClassView.pluginspec.in src/plugins/clearcase/ClearCase.pluginspec.in src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec.in src/plugins/cmakeprojectmanager/cmakeeditorfactory.cpp src/plugins/cmakeprojectmanager/cmakehighlighter.cpp src/plugins/coreplugin/Core.pluginspec.in src/plugins/cpaster/CodePaster.pluginspec.in src/plugins/cppeditor/CppEditor.pluginspec.in src/plugins/cppeditor/cppfilewizard.cpp src/plugins/cpptools/CppTools.pluginspec.in src/plugins/cpptools/cpphighlightingsupportinternal.cpp src/plugins/cpptools/cppmodelmanagerinterface.cpp src/plugins/cpptools/cppmodelmanagerinterface.h src/plugins/cvs/CVS.pluginspec.in src/plugins/debugger/Debugger.pluginspec.in src/plugins/designer/Designer.pluginspec.in src/plugins/diffeditor/DiffEditor.pluginspec.in src/plugins/emacskeys/EmacsKeys.pluginspec.in src/plugins/fakevim/FakeVim.pluginspec.in src/plugins/genericprojectmanager/GenericProjectManager.pluginspec.in src/plugins/git/Git.pluginspec.in src/plugins/git/gitorious/gitorious.cpp src/plugins/git/gitorious/gitorious.h src/plugins/git/gitorious/gitoriousclonewizard.cpp src/plugins/git/gitorious/gitorioushostwidget.cpp src/plugins/git/gitorious/gitorioushostwidget.h src/plugins/git/gitorious/gitorioushostwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwidget.cpp src/plugins/git/gitorious/gitoriousprojectwidget.h src/plugins/git/gitorious/gitoriousprojectwizardpage.cpp src/plugins/git/gitorious/gitoriousprojectwizardpage.h src/plugins/git/gitorious/gitoriousrepositorywizardpage.cpp src/plugins/git/gitorious/gitoriousrepositorywizardpage.h src/plugins/glsleditor/GLSLEditor.pluginspec.in src/plugins/glsleditor/glsleditorfactory.cpp src/plugins/glsleditor/glslfilewizard.cpp src/plugins/helloworld/HelloWorld.pluginspec.in src/plugins/help/Help.pluginspec.in src/plugins/imageviewer/ImageViewer.pluginspec.in src/plugins/ios/Ios.pluginspec.in src/plugins/macros/Macros.pluginspec.in src/plugins/mercurial/Mercurial.pluginspec.in src/plugins/perforce/Perforce.pluginspec.in src/plugins/projectexplorer/ProjectExplorer.pluginspec.in src/plugins/pythoneditor/PythonEditor.pluginspec.in src/plugins/pythoneditor/pythoneditorwidget.cpp src/plugins/pythoneditor/wizard/pythonfilewizard.cpp src/plugins/qbsprojectmanager/QbsProjectManager.pluginspec.in src/plugins/qbsprojectmanager/defaultpropertyprovider.cpp src/plugins/qmakeprojectmanager/QmakeProjectManager.pluginspec.in src/plugins/qmakeprojectmanager/profileeditorfactory.cpp src/plugins/qmldesigner/QmlDesigner.pluginspec.in src/plugins/qmljseditor/QmlJSEditor.pluginspec.in src/plugins/qmljseditor/qmljseditorfactory.cpp src/plugins/qmljstools/QmlJSTools.pluginspec.in src/plugins/qmlprofiler/QmlProfiler.pluginspec.in src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec.in src/plugins/qnx/Qnx.pluginspec.in src/plugins/qtsupport/QtSupport.pluginspec.in src/plugins/remotelinux/RemoteLinux.pluginspec.in src/plugins/resourceeditor/ResourceEditor.pluginspec.in src/plugins/resourceeditor/resourcewizard.h src/plugins/subversion/Subversion.pluginspec.in src/plugins/tasklist/TaskList.pluginspec.in src/plugins/texteditor/TextEditor.pluginspec.in src/plugins/texteditor/basetexteditor_p.h src/plugins/texteditor/basetextmark.cpp src/plugins/texteditor/codeassist/basicproposalitemlistmodel.h src/plugins/texteditor/codeassist/defaultassistinterface.h src/plugins/texteditor/codeassist/iassistproposalitem.cpp src/plugins/texteditor/itexteditor.cpp src/plugins/texteditor/itexteditor.h src/plugins/texteditor/itextmark.cpp src/plugins/texteditor/plaintexteditor.cpp src/plugins/texteditor/plaintexteditor.h src/plugins/texteditor/texteditoractionhandler.cpp src/plugins/todo/Todo.pluginspec.in src/plugins/updateinfo/UpdateInfo.pluginspec.in src/plugins/valgrind/Valgrind.pluginspec.in src/plugins/vcsbase/VcsBase.pluginspec.in src/plugins/welcome/Welcome.pluginspec.in src/plugins/winrt/WinRt.pluginspec.in tests/auto/debugger/temporarydir.h Change-Id: I254af8be8119fe9855287909e17d4b8ca9d2fc2f
| * License updateEike Ziller2014-10-091-7/+8
| | | | | | | | | | Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* | WinRt: add error message to run controlJoerg Bornemann2014-08-061-2/+10
|/ | | | | | | | Yield an error if the executable file path of the project cannot be determined. Change-Id: I37d6123cf3cd66280a180e586aac716933f375b2 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
* WinRt: fix run control for SUBDIRS projectsJoerg Bornemann2014-08-041-2/+1
| | | | | | | | | | Winrtrunner was called with the executable file path for the top-level .pro file, which happens to be the empty string. We now store (and use) the right .pro file path. Change-Id: I7d71e6b99393e863f3ba0df2d2902f29d75a9583 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com>
* Merge remote-tracking branch 'origin/3.1'Eike Ziller2014-06-241-3/+0
| | | | | | | | Conflicts: src/plugins/winrt/winrtruncontrol.cpp src/plugins/winrt/winrtruncontrol.h Change-Id: Idad0558e53e23debee8523586b681af4705e97f6
* WinRT: Enable debugging for local packages.David Schulz2014-05-161-0/+240
Change-Id: Ic04f1a471f951caf7a79c69cceecb0ebd5d09919 Reviewed-by: hjk <hjk121@nokiamail.com>