Guides/Qt IDE/Install

From J Wiki
< Guides‎ | Qt IDE
Jump to: navigation, search

Install Qt IDE

Follow System/Installation to install J, then install the Qt IDE as one of the addons.

Slim vs Full Builds

The usual All-In-One installers includes the slim version of JQt, which does not include OpenGL, Webview or WebSockets. Only the Slim version is supported on Windows XP and Raspberry Pi.

If installing from a zip installer, in J console enter one of:

  install 'qtide'          install the default qtide (i.e. the slim version)
  install 'slim'           install the slim qtide
  install 'full'           install the full qtide (where supported)

Install Directories

The JQt binaries are written to the usual J ~install/bin subdirectory. For any other Qt libraries:

  • for Windows, the libraries are installed in the J ~install/bin subdirectory
  • for Mac, the libraries are installed in the J ~install/Qt subdirectory.
  • for Linux, the popular linux distros already have the libraries installed.
  • for Raspberry Pi running the Raspbian OS, which already has most of the Qt libraries installed. If not, the Qt libraries are provided by packages: libqtcore4 and libqtgui4. For now, OpenGL, Webview and Websockets are not yet supported, otherwise this is the full system.

Upgrade

To upgrade:

1. In J, use pacman to update to the latest addons (essential are the base library and ide/qt addons).

2. close J (all J sessions) and run the updatejqt.cmd (Windows) or updatejqt.sh (Mac/Linux) scripts. Equivalently, load J console and run one of:

  install 'qtide'           NB. update the current version
  install 'full'            NB. update or install the full version

CentOS 6.5 (or other rhel6 distros)

The current jqt linux binaries will not work on RHEL6 and its clones (CentOS, Scientific Linux). To install jqt on RHEL6 (or its clones) do the following:

1. Install EPEL repo for qtwebkit

 wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
 rpm -ivh epel-release-6-8.noarch.rpm
 yum install qtwebkit
  1. Download and install J805.
  2. From jconsole, run install'qtide'.
  3. Download http://www.jsoftware.com/download/j805/qtide/jqt-rhel6-x64.tar.gz or http://www.jsoftware.com/download/j805/qtide/jqt-rhel6-x86.tar.gz as appropriate.
  4. Copy the jqt and libjqt binaries and links to ~bin.

Everything should work now, including websockets.

Note that the current release version works fine on RHEL 7 beta.

Ubuntu/Linux Mint

Two issues have been reported:

  • you may need to install the Qt webkit, websockets, multimedia libraries, as:
   sudo apt-get install libqt5webkit5
   sudo apt-get install libqt5websockets5
   sudo apt-get install libqt5multimediawidgets5
#!/bin/bash
export UBUNTU_MENUPROXY= QT_QPA_PLATFORMTHEME=appmenu-qt5
cd "$(dirname "$0")"
bin/jqt

Starting JQt

Windows

Run the jqt.cmd file in the J install directory.

You may create a desktop shortcut that calls jqt.cmd and is run Minimized. This hides any initial display of the windows console. Suitable icons are in the bin\icons directory.

Mac

Run the jqt app in the J install directory.

Linux/Raspberry Pi

Run the jqt.sh shell script in the J install directory.

You may create a desktop shortcut that calls jqt.sh. Suitable icons are in the bin/icons directory.


Configuring JQt

The Qt IDE has a great many configuration options, which are discussed under Configure the Qt IDE.


See also