Answer from StackOveflow that worked for me: If you are running into this error message can you please try adding the “HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Kits\Installed Roots\KitsRoot” registry key and give it the same value as "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots\KitsRoot"
To view your paths in terminal type: $ echo $PATH To add a path for the duration of this terminal session type: $ export PATH=$PATH:/my/new/path Note: the $PATH: is important as it adds the new path to your existing one. Without $PATH: the existing path is overwritten with the new one. The disadvantage with this approach is that you modification to the path is lost when the terminal session ends. To add to the path for all users permanently you need to edit the paths file in /etc. In terminal navigate to /etc. Type $ sudo pico paths Add your path. Type ^x (note: ^ = ctrl key). You'll be prompted to save. Type Y . To view your paths using echo $PATH you'll need to reopen the terminal to see your changes.
This is using Mercurial version 2.0.1 and QT Creator 2.3.1 and assumes Mercurial has already been installed and a .hgrc file setup with your username (see Installing Mercurial on iMac post). Start QT Creator and go to Preferences > Version Control and select Mercurial from the segment control. In Configuration enter for the Command enter: /usr/local/bin/hg In User enter the username and email in your .hgrc file (see Installing Mercurial on iMac post). I didn't do anything with the Miscellaneous section. Restart QT Creator and under the Tools menu Mercurial should appear and all the sub-menu items should be enabled.
Comments
Post a Comment