forked from qt-creator/qt-creator
		
	Doc: use \uicontrol command instead of \gui macro
Change-Id: Idc898b6ac70b6d3186d353086b5f3e45830d1f83 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
		
				
					committed by
					
						
						Leena Miettinen
					
				
			
			
				
	
			
			
			
						parent
						
							c9696aa6f4
						
					
				
				
					commit
					e1fbeedcd4
				
			@@ -31,14 +31,14 @@
 | 
			
		||||
    If you have a tool chain for building applications for embedded Linux
 | 
			
		||||
    devices installed on the development PC, you can add
 | 
			
		||||
    it to \QC. You can then select a \l{glossary-buildandrun-kit}{kit}
 | 
			
		||||
    with \gui {Embedded Linux} device type to
 | 
			
		||||
    with \uicontrol {Embedded Linux} device type to
 | 
			
		||||
    build and run applications on embedded Linux devices.
 | 
			
		||||
 | 
			
		||||
    To be able to run and debug applications on embedded Linux devices, you must
 | 
			
		||||
    add devices and select them in the \QC \l{glossary-buildandrun-kit}{kit}.
 | 
			
		||||
 | 
			
		||||
    You use a wizard to create the connections. You can edit the settings later
 | 
			
		||||
    in \gui Tools > \gui Options > \gui Devices.
 | 
			
		||||
    in \uicontrol Tools > \uicontrol Options > \uicontrol Devices.
 | 
			
		||||
 | 
			
		||||
    \image qtcreator-linux-device-configurations.png "Devices dialog"
 | 
			
		||||
 | 
			
		||||
@@ -53,11 +53,11 @@
 | 
			
		||||
 | 
			
		||||
        \li Make sure that your device can be reached via an IP address.
 | 
			
		||||
 | 
			
		||||
        \li Select \gui {Tools > Options > Build & Run > Qt Versions > Add} to
 | 
			
		||||
        \li Select \uicontrol {Tools > Options > Build & Run > Qt Versions > Add} to
 | 
			
		||||
            add the Qt version
 | 
			
		||||
            for the embedded Linux.
 | 
			
		||||
 | 
			
		||||
        \li Select \gui {Tools > Options > Build & Run > Compilers > Add} to
 | 
			
		||||
        \li Select \uicontrol {Tools > Options > Build & Run > Compilers > Add} to
 | 
			
		||||
            add the compiler
 | 
			
		||||
            for building the applications.
 | 
			
		||||
 | 
			
		||||
@@ -66,30 +66,31 @@
 | 
			
		||||
 | 
			
		||||
            \list 1
 | 
			
		||||
 | 
			
		||||
                \li Select \gui Tools > \gui Options > \gui Devices > \gui Add
 | 
			
		||||
                    > \gui {Generic Linux Device} > \gui {Start Wizard}.
 | 
			
		||||
                \li Select \uicontrol Tools > \uicontrol Options > \uicontrol Devices
 | 
			
		||||
                    > \uicontrol Add > \uicontrol {Generic Linux Device}
 | 
			
		||||
                    > \uicontrol {Start Wizard}.
 | 
			
		||||
 | 
			
		||||
                    \image qtcreator-screenshot-devconf-linux.png "Connection Data wizard"
 | 
			
		||||
 | 
			
		||||
                \li In the \gui {The name to identify this configuration} field,
 | 
			
		||||
                \li In the \uicontrol {The name to identify this configuration} field,
 | 
			
		||||
                    enter a name for the connection.
 | 
			
		||||
 | 
			
		||||
                \li In the \gui {The device's host name or IP address} field,
 | 
			
		||||
                \li In the \uicontrol {The device's host name or IP address} field,
 | 
			
		||||
                    enter the host name or IP address of the device.
 | 
			
		||||
                    This value will be available in the variable \c %{CurrentDevice:HostAddress}.
 | 
			
		||||
 | 
			
		||||
                \li In the \gui {The username to log into the device} field,
 | 
			
		||||
                \li In the \uicontrol {The username to log into the device} field,
 | 
			
		||||
                    enter the username to log into the device and run the
 | 
			
		||||
                    application as.
 | 
			
		||||
                    This value will be available in the variable \c %{CurrentDevice:UserName}.
 | 
			
		||||
 | 
			
		||||
                \li In the \gui {The authentication type} field, select whether
 | 
			
		||||
                    to use \gui Password or \gui Key authentication, and enter
 | 
			
		||||
                \li In the \uicontrol {The authentication type} field, select whether
 | 
			
		||||
                    to use \uicontrol Password or \uicontrol Key authentication, and enter
 | 
			
		||||
                    the user's password or the file that contains the user's
 | 
			
		||||
                    private key.
 | 
			
		||||
                    The latter will be available in the variable \c %{CurrentDevice:PrivateKeyFile}.
 | 
			
		||||
 | 
			
		||||
                \li  Click \gui {Next} to create the connection.
 | 
			
		||||
                \li  Click \uicontrol {Next} to create the connection.
 | 
			
		||||
 | 
			
		||||
            \endlist
 | 
			
		||||
 | 
			
		||||
@@ -98,10 +99,11 @@
 | 
			
		||||
            the SSH port number, which is available in the variable \c %{CurrentDevice:SshPort}.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        \li Select \gui Tools > \gui Options > \gui {Build & Run} > \gui Kits
 | 
			
		||||
            > \gui Add to add a kit for building for the device. Select the
 | 
			
		||||
        \li Select \uicontrol Tools > \uicontrol Options > \uicontrol {Build & Run}
 | 
			
		||||
            > \uicontrol Kits > \uicontrol Add to add a kit for building for the device.
 | 
			
		||||
            Select the
 | 
			
		||||
            Qt version, compiler, and device that you added above, and choose
 | 
			
		||||
            \gui {Generic Linux Device} for the device type.
 | 
			
		||||
            \uicontrol {Generic Linux Device} for the device type.
 | 
			
		||||
 | 
			
		||||
        \li To specify build settings:
 | 
			
		||||
 | 
			
		||||
@@ -110,12 +112,12 @@
 | 
			
		||||
            \li Open a project for an application you want to develop for the
 | 
			
		||||
                device.
 | 
			
		||||
 | 
			
		||||
            \li Select \gui Projects > \gui {Build & Run} > \gui {Add Kit} to
 | 
			
		||||
            \li Select \uicontrol Projects > \uicontrol {Build & Run} > \uicontrol {Add Kit} to
 | 
			
		||||
                add the kit that you specified above.
 | 
			
		||||
 | 
			
		||||
        \endlist
 | 
			
		||||
 | 
			
		||||
        \li Select \gui Run to specify run settings.
 | 
			
		||||
        \li Select \uicontrol Run to specify run settings.
 | 
			
		||||
 | 
			
		||||
                \image qtcreator-run-settings-linux-devices.png "Run settings for embedded Linux devices"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user