If you have not already done so, download and install the base J802 system, see System/Installation/J802.
Then, to install the Qt IDE, load Jconsole then enter:
This installs the JQt binaries in the usual J ~install/bin subdirectory.
If necessary, it also installs the Qt libraries:
- for Linux, the popular linux distros already have the Qt libraries installed. If not, the Qt libraries are provided in Debian by packages: libqtcore4, libqtgui4, libqt4-opengl, libqtwebkit4, libqt4-declarative and libqt4-declarative-particles.
- for Mac, the Qt libraries may already be installed in /Library/Frameworks. If not, the Qt libraries are installed in the J ~install/Qt subdirectory. Note, Mac requires OSX 10.7 or later.
- for Raspberry Pi, use 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, QuickView and Webview are not yet supported, otherwise this is the full system.
- for Win, the Qt libraries are installed in the J ~install/bin subdirectory
Also, install 'all' will install everything, i.e. Qt IDE and all addons.
1. In J, use pacman to update to the latest addons (essential are the base library and ide/qt addons).
1. close J (all J sessions) and run the updatejqt.cmd (Windows) or updatejqt.sh (Mac/Linux) scripts. Equivalently, load J console and run:
There is no need to run install 'qtide', just download and install Android apk.
See JQt for Android.
Linux Slim Builds
There is a slim version of JQt for Linux that does not include OpenGL, QtQuick, WebKit or WebSockets. To install, load J console and run:
Run this after install 'qtide'. It will overwrite the binary already installed.
Use the same call when updating the JQt system.
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 J802.
1. From jconsole, run install'qtide'. 1. Download http://www.jsoftware.com/download/j802/qtide/jqt-rhel6-x64.tar.gz or http://www.jsoftware.com/download/j802/qtide/jqt-rhel6-x86.tar.gz as appropriate. 1. 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.
As with other Linux systems, there are slim versions of JQt for RHEL6 that do not include OpenGL, WebKit or WebSockets.
Windows ANGLE Qt libraries
The ANGLE support is experimental, and not guaranteed to work. Please report your experience with it to the qt email group. Include the version of your Windows OS and OpenGL libraries.
There are experimental ANGLE based Qt libraries for Windows which do not have OpenGL 2.x or newer drivers. To install, first delete (if any) the file Qt5Core.dll in the ~bin folder.
then load J console and run:
It will overwrite the binary already installed.
Use install 'qtide' when updating the JQt system.
To switch back to the default OpenGL based Qt libraries, first delete the following files in the ~bin folder
Qt5Core.dll libEGL.dll libGLESv2.dll D3Dcompiler_47.dll
then load J console and run install 'qtide'.
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.
In some linux installations, it may be necessary to point to the Qt libraries, e.g. in jqt.sh add:
Note that the current linux j8 implementation expects that qt libraries have already been installed. Some linux users may need to install libqt4-opengl and libqtwebkit4 packages (and the packages they depend on). For further detail on dependencies, use ldd bin/jqt and ldd bin/libjqt.so
Run the jqt app in the J install directory.
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.