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 (see below) install 'slim' install the slim qtide install 'full' install the full qtide (where supported)
The default qtide is full for J807 and later. For earlier releases, it was the slim version up to library version 8.06.06, and full thereafter.
If Jqt is already installed, then install 'qtide' will reinstall the current version.
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.
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
- Download and install J805.
- From jconsole, run install'qtide'.
- 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.
- 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.
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
- no keyboard shortcuts. This bug is described at https://bugs.launchpad.net/appmenu-qt5/+bug/1380702. To fix, modify the jqt.sh script to read:
#!/bin/bash export UBUNTU_MENUPROXY= QT_QPA_PLATFORMTHEME=appmenu-qt5 cd "$(dirname "$0")" bin/jqt
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.
Run the jqt app in the J install directory.
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.
The Qt IDE has a great many configuration options, which are discussed under Configure the Qt IDE.