reMarkableWiki

Everything about the reMarkable Paper Tablet

User Tools

Site Tools


devel:qt_creator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:qt_creator [2019/09/26 16:31]
ctxz Added colon
devel:qt_creator [2021/04/12 14:43] (current)
thomasvs
Line 10: Line 10:
 </​code>​ </​code>​
  
-Note: On Linux Mint the qtcreater ​package is outdated. Please install the Qt Creator IDE via the [[https://​www.qt.io/​download-qt-installer?​hsCtaTracking=99d9dd4f-5681-48d2-b096-470725510d34%7C074ddad0-fdef-4e53-8aa8-5e8a876d6ab4 | Qt Online Installer]].+Note: On Linux Mint the qtcreator ​package is outdated. Please install the Qt Creator IDE via the [[https://​www.qt.io/​download-qt-installer?​hsCtaTracking=99d9dd4f-5681-48d2-b096-470725510d34%7C074ddad0-fdef-4e53-8aa8-5e8a876d6ab4 | Qt Online Installer]].
 ==== Arch Linux ==== ==== Arch Linux ====
 <​code>​ <​code>​
Line 26: Line 26:
  
 For applications to be able to run on the reMarkable, they must be compiled for the ARM architecture For applications to be able to run on the reMarkable, they must be compiled for the ARM architecture
-using the toolchain ​provided by [[https://​remarkable.engineering/​deploy/​sdk/​|reMarkable engineering]]. +using toolchain. (See [[toolchain]] for ways to download the official toolchain and for information about alternative toolchains.) 
- +In the following, it is assumed that you downloaded the official ​toolchain installer ​to a file named ''​install-toolchain.sh''​
-Download ​the toolchain installer ​on your host machine +Before executing the toolchain installer, ensure that ''​bsdtar''​ is installed. Then execute ​the toolchain installer:
- +
-<​code>​ +
-$ curl https://​remarkable.engineering/​oecore-x86_64-cortexa9hf-neon-toolchain-zero-gravitas-1.8-23.9.2019.sh -o install-toolchain.sh +
-</​code>​ +
- +
-Before executing the toolchain installer, ensure that ''​bsdtar''​ is installed. Then Execute ​the toolchain installer:+
  
 <​code>​ <​code>​
Line 41: Line 35:
 </​code>​ </​code>​
  
-You will be prompted to specify an installation path. It is highly recommended to use the default SDK path as it is used trough ​out this article.+You will be prompted to specify an installation path. It is highly recommended to use the default SDK path as it is used through ​out this article.
  
 ===== Configuring QT Creator ===== ===== Configuring QT Creator =====
Line 87: Line 81:
 Qt has to be able to establish connection to your device for it to directly install and execute code on it. Qt has to be able to establish connection to your device for it to directly install and execute code on it.
  
-Add an entry for your reMarkable tablet under ''​Tools''​ > ''​Options''​ > ''​Devices''​. From there go to ''​Add''​ > ''​Generic Linux Device''​.+Add an entry for your reMarkable tablet under ''​Tools''​ > ''​Options''​ > ''​Devices''​. From there go to the ''​Devices''​ tab and click ''​Add''​ > ''​Generic Linux Device''​.
  
 Set a name for the device, such as reMarkable, and specify the necessary [[http://​remarkablewiki.com/​index.php?​title=Methods_of_access#​SSH|SSH credentials]] to access your device. Set a name for the device, such as reMarkable, and specify the necessary [[http://​remarkablewiki.com/​index.php?​title=Methods_of_access#​SSH|SSH credentials]] to access your device.
Line 105: Line 99:
 **On every new shell session, the toolchain environment must be sourced before Qt Creator has been opened.*** **On every new shell session, the toolchain environment must be sourced before Qt Creator has been opened.***
  
-At this point, Qt Creator should be able to build and execute code on your reMarkable tablet as long as its unlocked and connected (via SSH) to the host machine.+At this point, Qt Creator should be able to build and execute code on your reMarkable tablet as long as it'​s ​unlocked and connected (via SSH) to the host machine.
  
 **Tip:** **Tip:**
Line 113: Line 107:
 <​code>​remarkable:​ ~/ systemctl stop xochitl</​code>​ <​code>​remarkable:​ ~/ systemctl stop xochitl</​code>​
  
-To start the GUI again, either restart the device or start xochitl from systemctl ​+To start the GUI again, either restart the device or start xochitl from systemctl:
  
 <​code>​remarkable:​ ~/ systemctl start xochitl</​code>​ <​code>​remarkable:​ ~/ systemctl start xochitl</​code>​
 +
 +===== Remarkable 2 =====
 +For running your apps on the remarkable 2, you must have [[https://​github.com/​ddvk/​remarkable2-framebuffer|rm2fb]] installed (possible from toltec) and run your apps with <​code>​LD_PRELOAD=/​opt/​lib/​librm2fb_client.so.1.0.0/​librm2fb_client.so.1.0.0 <​rmapp></​code>​. You can add this in qtcreator by going to Projects > Build & Run > Remarkable > Run > Run environment and add here the key <​code>​LD_PRELOAD</​code>​ and value <​code>/​opt/​lib/​librm2fb_client.so.1.0.0</​code>​ (or where you've installed rm2fb).
  
devel/qt_creator.1569508264.txt.gz · Last modified: 2019/09/26 16:31 by ctxz