SailfishOS SDK Installation: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(Clean)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:SailfishOS::Introduction_tutorial]]
[[Category:SailfishOS]]


[toc align_right="yes" depth="2"]
{{LangSwitch}}


'''English''' | [[:SailfishOS_SDK_Installation_Polish|Polski]]
----
 
Article is part 1 of the [[SailfishOS Introduction Tutorial]] <br>
''''_
[[SailfishOS first application|Go to part 2]] >
Article is part 1 of "Introduction Tutorial":/wiki/Category:SailfishOS::Introduction_tutorial.
----
"Go To Part 2 >":/wiki/SailfishOS_first_application
''''_
 
= SailfishOS SDK installation =


== 1. Get SDK Installer ==
== 1. Get SDK Installer ==
Line 16: Line 12:
Sailfish SDK is provided with the graphical installer which makes installation process really easy. Using precreated installer is recommended. SDK installers are available for given platforms:
Sailfish SDK is provided with the graphical installer which makes installation process really easy. Using precreated installer is recommended. SDK installers are available for given platforms:


* "linux 32bit installer":http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-32-offline.run
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-32-offline.run linux 32bit installer]
* "linux 64bit installer":http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-64-offline.run
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-64-offline.run linux 64bit installer]
* "windows installer(XP/Vista/Windows 7)":http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-windows-offline.exe
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-windows-offline.exe windows installer(XP/Vista/Windows 7)]
* "OS X installer":http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-mac-offline.dmg
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-mac-offline.dmg OS X installer]


After downloading installer matching your platform please do the following steps.
After downloading installer matching your platform please do the following steps.


== 2. Prepare enviroment ==
== 2. Prepare environment ==


=== Remove any previous versions of SailfishOS SDKs, in example SailfishOS Alpha SDK. ===
=== Remove any previous versions of SailfishOS SDKs, in example SailfishOS Alpha SDK. ===
Line 31: Line 27:
=== Ensure You have all needed pre-requisites ===
=== Ensure You have all needed pre-requisites ===


* "Oracle VirtualBox":https://www.virtualbox.org/ version 4.1.18 or higher pre-installed on the host machine.
* [https://www.virtualbox.org/ Oracle VirtualBox] version 4.1.18 or higher pre-installed on the host machine.
''On Linux, you should install the VirtualBox supplied by your distribution. With other operating systems, it is recommended using installation packages from http://www.virtualbox.org.''
''On Linux, you should install the VirtualBox supplied by your distribution. With other operating systems, it is recommended using installation packages from http://www.virtualbox.org.''
* About 5GB of free disk space
* About 5GB of free disk space
Line 41: Line 37:


# Before running installer on linux we have to provide executable permissions to it. To do this open the Terminal application on your host system and run:
# Before running installer on linux we have to provide executable permissions to it. To do this open the Terminal application on your host system and run:
<code>$ chmod +x ~/Downloads/<installer_name><code>
<code>$ chmod +x ~/Downloads/<installer_name></code>


# Next Run the installer as a normal user (i.e not as root user). By default it will install to SailfishOS/ in your home directory.
# Next Run the installer as a normal user (i.e not as root user). By default it will install to SailfishOS/ in your home directory.
</code>$ ./Downloads/<installer_name></code>
<code>$ ./Downloads/<installer_name></code>


=== Windows ===
=== Windows ===


# Locate the downloaded installer with explorer or cmd.
1. Locate the downloaded installer with explorer or cmd.
# Next run the installer by double clicking in explorer or in cmd
2. Next run the installer by double clicking in explorer or in cmd
<code>> PATHlt;installer_name>.exe<code>
<code>> PATHlt;installer_name>.exe</code>
# If the security warning popup would appear informing You that publisher of appication is unknow, agree to run the file.
3. If the security warning popup would appear informing You that publisher of application is unknow, agree to run the file.


=== OS X ===
=== OS X ===
Line 66: Line 62:
# Next It would let You to set projects directory.
# Next It would let You to set projects directory.
# Then You will be able to choose which modules shall be installed. ''Note: required modules are unable to switch off''.
# Then You will be able to choose which modules shall be installed. ''Note: required modules are unable to switch off''.
# Then You will have to read and acccept all of the licenses agreements.
# Then You will have to read and accept all of the licenses agreements.
# Next You will specify the start menu shortcut path
# Next You will specify the start menu shortcut path
# Finally You are ready to install the SDK. Clicking install button would start the proccess.
# Finally You are ready to install the SDK. Clicking install button would start the process.
# After installation ends the installer would prompt last window informing about succes and providing checkbox letting you run SailfishOS after closing the window.
# After installation ends the installer would prompt last window informing about success and providing checkbox letting you run SailfishOS after closing the window.
 
=== OS X ===
 
# TODO…
 
=== Linux ===
 
# TODO…


''''_
----
Article is part 1 of "Introduction Tutorial":/wiki/Category:SailfishOS::Introduction_tutorial.
Article is part 1 of the [[SailfishOS Introduction Tutorial]] <br>
"Go To Part 2 >":/wiki/SailfishOS_first_application
[[SailfishOS first application|Go to part 2]] >
''''_
----

Latest revision as of 01:47, 27 March 2016


En Ar Bg De El Es Fa Fi Fr Hi Hu It Ja Kn Ko Ms Nl Pl Pt Ru Sq Th Tr Uk Zh


Article is part 1 of the SailfishOS Introduction Tutorial
Go to part 2 >


1. Get SDK Installer

Sailfish SDK is provided with the graphical installer which makes installation process really easy. Using precreated installer is recommended. SDK installers are available for given platforms:

After downloading installer matching your platform please do the following steps.

2. Prepare environment

Remove any previous versions of SailfishOS SDKs, in example SailfishOS Alpha SDK.

If you have an existing SailfishOS Alpha SDK it must be removed. Please run the "SDKMaintenanceTool" found in the installation directory (usually SailfishOS in your home/user directory) and remove all components.

Ensure You have all needed pre-requisites

On Linux, you should install the VirtualBox supplied by your distribution. With other operating systems, it is recommended using installation packages from http://www.virtualbox.org.

  • About 5GB of free disk space
  • 4GB of RAM or more is recommended

3. Running the Installer

Linux

  1. Before running installer on linux we have to provide executable permissions to it. To do this open the Terminal application on your host system and run:
$ chmod +x ~/Downloads/<installer_name>
  1. Next Run the installer as a normal user (i.e not as root user). By default it will install to SailfishOS/ in your home directory.
$ ./Downloads/<installer_name>

Windows

1. Locate the downloaded installer with explorer or cmd. 2. Next run the installer by double clicking in explorer or in cmd

> PATHlt;installer_name>.exe

3. If the security warning popup would appear informing You that publisher of application is unknow, agree to run the file.

OS X

  1. Open SDK Installer package by double-clicking the icon.
  2. Open the SDK Installer application found from the package.

4. Common installation flow

Windows

  1. The SDK Installer would open with a welcome screen.
  2. Next It would let You to choose location where to install SDK.
  3. Next It would let You to set projects directory.
  4. Then You will be able to choose which modules shall be installed. Note: required modules are unable to switch off.
  5. Then You will have to read and accept all of the licenses agreements.
  6. Next You will specify the start menu shortcut path
  7. Finally You are ready to install the SDK. Clicking install button would start the process.
  8. After installation ends the installer would prompt last window informing about success and providing checkbox letting you run SailfishOS after closing the window.

Article is part 1 of the SailfishOS Introduction Tutorial
Go to part 2 >