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.

Qt-5-on-Nokia-N9: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
On scratchbox:
On scratchbox:


* Add "deb http://snowshoe.cc/apt/ unstable main xcb" to /etc/apt/sources.list
* Add "deb http://snowshoe.cc/apt/ unstable main xcb" to /etc/apt/sources.list


On the device:
On the device:


* Install the "Qt5 repository package": http://snowshoe.openbossa.org/apt/snowshoe-repositories.deb. It will add the Qt5 repository to the sources list and add the required GPG key.
* Install the "Qt5 repository package": http://snowshoe.openbossa.org/apt/snowshoe-repositories.deb. It will add the Qt5 repository to the sources list and add the required GPG key.
* Using a package manager (e. g. "MeeCatalog":http://store.ovi.com/content/220215), install the qt5-all meta package. It will install all qt5 available packages. But if you get "Couldn't find package qt5-all", you should do "apt-get update" and then try installing it again.
* Using a package manager (e. g. "MeeCatalog":http://store.ovi.com/content/220215), install the qt5-all meta package. It will install all qt5 available packages. But if you get "Couldn't find package qt5-all", you should do "apt-get update" and then try installing it again.
* Along with the Qt5 packages the repository will provide the missing xcb-util using the scratchbox' packages.
* Along with the Qt5 packages the repository will provide the missing xcb-util using the scratchbox' packages.


To install manually, without the repository package, run the steps below as root. To become root use "devel-su" in the n9 terminal.
To install manually, without the repository package, run the steps below as root. To become root use "devel-su" in the n9 terminal.


* Add the same repository line for scratchbox to /etc/apt/sources.d/qt5.list
* Add the same repository line for scratchbox to /etc/apt/sources.d/qt5.list
* Add the GPG key running &quot;wget <s>O</s> http://snowshoe.cc/apt/conf/Qt5N9.gpg.key | apt-key add - &quot;
* Add the GPG key running "wget -O- http://snowshoe.cc/apt/conf/Qt5N9.gpg.key | apt-key add - "
* Update the package list with &quot;apt-get update&amp;quot;
* Update the package list with "apt-get update"
* Install with &quot;apt-get install &quot;qt5-'''&quot; &quot;
* Install with "apt-get install "qt5-'''" "
<br />h2. Usage  
 
<br />All modules are installed to /opt/qt5. To use qmlscene, qmake and other executables, just point PATH to /opt/qt5/bin.
h2. Usage  
<br />h2. Currently packaged modules  
 
<br />''' QtBase: '''qt5-base'''
All modules are installed to /opt/qt5. To use qmlscene, qmake and other executables, just point PATH to /opt/qt5/bin.
 
h2. Currently packaged modules  
 
''' QtBase: '''qt5-base'''
* QtJSBackend: '''qt5-jsbackend'''
* QtJSBackend: '''qt5-jsbackend'''
* QtXMLPatterns: '''qt5-xmlpatterns'''
* QtXMLPatterns: '''qt5-xmlpatterns'''

Revision as of 09:30, 25 February 2015

h1. Qt 5 on the Nokia N9

While there is no official support for Qt5 on Nokia N9 and N950 devices, community-provided snapshots are available through the QtWebkit project. These snapshots are based on weekly hashes used by QtWebkit build bots.

Installation

On scratchbox:

On the device:

  • Install the "Qt5 repository package": http://snowshoe.openbossa.org/apt/snowshoe-repositories.deb. It will add the Qt5 repository to the sources list and add the required GPG key.
  • Using a package manager (e. g. "MeeCatalog":http://store.ovi.com/content/220215), install the qt5-all meta package. It will install all qt5 available packages. But if you get "Couldn't find package qt5-all", you should do "apt-get update" and then try installing it again.
  • Along with the Qt5 packages the repository will provide the missing xcb-util using the scratchbox' packages.

To install manually, without the repository package, run the steps below as root. To become root use "devel-su" in the n9 terminal.

  • Add the same repository line for scratchbox to /etc/apt/sources.d/qt5.list
  • Add the GPG key running "wget -O- http://snowshoe.cc/apt/conf/Qt5N9.gpg.key | apt-key add - "
  • Update the package list with "apt-get update"
  • Install with "apt-get install "qt5-" "

h2. Usage

All modules are installed to /opt/qt5. To use qmlscene, qmake and other executables, just point PATH to /opt/qt5/bin.

h2. Currently packaged modules

QtBase: qt5-base

  • QtJSBackend: qt5-jsbackend
  • QtXMLPatterns: qt5-xmlpatterns
  • QtDeclarative: qt5-declarative
  • QtScript: qt5-script
  • Qt3D: qt5-q3d
  • QtLocation: qt5-location
  • QtSensors: qt5-sensors
  • QtWebKit: webkit-snapshot
  • QtComponents for QtQuick2: qt-components2
  • Snowshoe mobile: snowshoe-mobile

More information