Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

SailfishOS SDK Installation: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
'''English''' | [[SailfishOS SDK Installation Polish|Polski]]
[[Category:SailfishOS::Introduction_tutorial]]


_________________________________________<br /> Article is part 1 of [[wiki/Category:SailfishOS::Introduction tutorial|Introduction Tutorial]].<br />[[wiki/SailfishOS first application|Go To Part 2 &gt;]]<br /> _________________________________________
[toc align_right=&quot;yes&amp;quot; depth=&quot;2&amp;quot;]


=SailfishOS <span class="caps">SDK</span> installation=
'''English''' | [[:SailfishOS_SDK_Installation_Polish|Polski]]


==1. Get <span class="caps">SDK</span> Installer==
''''_<br />Article is part 1 of &quot;Introduction Tutorial&amp;quot;:/wiki/Category:SailfishOS::Introduction_tutorial.<br />&quot;Go To Part 2 &gt;&quot;:/wiki/SailfishOS_first_application<br />''''_


Sailfish <span class="caps">SDK</span> is provided with the graphical installer which makes installation process really easy. Using precreated installer is recommended. <span class="caps">SDK</span> installers are available for given platforms:
= SailfishOS SDK installation =


* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-32-offline.run linux 32bit installer] ''[jolla.cachefly.net]''
== 1. Get SDK Installer ==
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-64-offline.run linux 64bit installer] ''[jolla.cachefly.net]''
 
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-windows-offline.exe windows installer] ''[jolla.cachefly.net]''
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:
* [http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-mac-offline.dmg OS X installer] ''[jolla.cachefly.net]''
 
* &quot;linux 32bit installer&amp;quot;:http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-32-offline.run
* &quot;linux 64bit installer&amp;quot;:http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-linux-64-offline.run
* &quot;windows installer(XP/Vista/Windows 7)&quot;:http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-windows-offline.exe
* &quot;OS X installer&amp;quot;:http://jolla.cachefly.net/SailfishOSSDK/alpha/installers/SailfishOSSDK-Alpha-1312-Qt5-mac-offline.dmg


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 enviroment ==


===Remove any previous versions of SailfishOS <span class="caps">SDK</span>s, in example SailfishOS Alpha <span class="caps">SDK</span>.===
=== Remove any previous versions of SailfishOS SDKs, in example SailfishOS Alpha SDK. ===


If you have an existing SailfishOS Alpha <span class="caps">SDK</span> it must be removed. Please run the “SDKMaintenanceTool” found in the installation directory (usually SailfishOS in your home/user directory) and remove all components.
If you have an existing SailfishOS Alpha SDK it must be removed. Please run the &quot;SDKMaintenanceTool&amp;quot; found in the installation directory (usually SailfishOS in your home/user directory) and remove all components.


===Ensure You have all needed pre-requisites===
=== Ensure You have all needed pre-requisites ===


* [https://www.virtualbox.org/ Oracle VirtualBox] ''[virtualbox.org]'' version 4.1.18 or higher pre-installed on the host machine. <br />''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.''
* &quot;Oracle VirtualBox&amp;quot;:https://www.virtualbox.org/ version 4.1.18 or higher pre-installed on the host machine.<br />''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
* 4GB of <span class="caps">RAM</span> or more is recommended
* 4GB of RAM or more is recommended


==3. Running the Installer==
== 3. Running the Installer ==


===Linux===
=== Linux ===


# 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:<br />
# 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:<br /><code>$ chmod +x ~/Downloads/&amp;lt;installer_name&amp;gt;<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. <br />
# 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.<br /></code>$ ./Downloads/&amp;lt;installer_name&amp;gt;</code>


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


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


===OS X===
=== OS X ===


# Open <span class="caps">SDK</span> Installer package by double-clicking the icon.
# Open SDK Installer package by double-clicking the icon.  
# Open the <span class="caps">SDK</span> Installer application found from the package.
# Open the SDK Installer application found from the package.  


==4. Common installation flow==
== 4. Common installation flow ==


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


# The <span class="caps">SDK</span> Installer would open with a welcome screen.
# The SDK Installer would open with a welcome screen.
# Next It would let You to choose location where to install <span class="caps">SDK</span>.
# Next It would let You to choose location where to install SDK.
# 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 acccept 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 <span class="caps">SDK</span>. Clicking install button would start the proccess.
# Finally You are ready to install the SDK. Clicking install button would start the proccess.
# 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 succes and providing checkbox letting you run SailfishOS after closing the window.


===OS X===
=== OS X ===
 
# <span class="caps">TODO</span>…
 
===Linux===


# <span class="caps">TODO</span>…
# TODO…


_________________________________________<br /> Article is part 1 of [[wiki/Category:SailfishOS::Introduction tutorial|Introduction Tutorial]].<br />[[wiki/SailfishOS first application|Go To Part 2 &gt;]]<br /> _________________________________________
=== Linux ===


===Categories:===
# TODO…


* [[:Category:SailfishOS|SailfishOS]]
''''_<br />Article is part 1 of &quot;Introduction Tutorial&amp;quot;:/wiki/Category:SailfishOS::Introduction_tutorial.<br />&quot;Go To Part 2 &gt;&quot;:/wiki/SailfishOS_first_application<br />''''_
** [[:Category:SailfishOS::Introduction tutorial|Introduction_tutorial]]

Revision as of 10:24, 24 February 2015


[toc align_right="yes&quot; depth="2&quot;]

English | Polski

'_
Article is part 1 of "Introduction Tutorial&quot;:/wiki/Category:SailfishOS::Introduction_tutorial.
"Go To Part 2 >":/wiki/SailfishOS_first_application
'
_

SailfishOS SDK installation

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 enviroment

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&quot; found in the installation directory (usually SailfishOS in your home/user directory) and remove all components.

Ensure You have all needed pre-requisites

  • "Oracle VirtualBox&quot;:https://www.virtualbox.org/ 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.
  • 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/&amp;lt;installer_name&amp;gt;<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.<br />
    
    $ ./Downloads/&lt;installer_name&gt;

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&gt;.exe
  3. If the security warning popup would appear informing You that publisher of appication 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 acccept 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 proccess.
  8. After installation ends the installer would prompt last window informing about succes and providing checkbox letting you run SailfishOS after closing the window.

OS X

  1. TODO…

Linux

  1. TODO…

'_
Article is part 1 of "Introduction Tutorial&quot;:/wiki/Category:SailfishOS::Introduction_tutorial.
"Go To Part 2 >":/wiki/SailfishOS_first_application
'
_