2012-04-02 21:05:06 +02:00
|
|
|
General
|
2011-10-17 09:57:07 +02:00
|
|
|
----------------------------------------------------------------------------------
|
2011-03-02 16:57:41 +01:00
|
|
|
|
2011-10-04 18:28:34 +02:00
|
|
|
If you can, you should use precompiled packages for your distribution.
|
|
|
|
But if you cannot use them, or they are not available, please read
|
2012-04-05 09:36:37 +02:00
|
|
|
this information before compiling.
|
2015-10-19 21:32:01 +02:00
|
|
|
After your binary is successfully compiled, you need to copy bin/ folder
|
2011-10-04 18:28:34 +02:00
|
|
|
from git to specific directory by your system you compiled for.
|
2011-10-17 09:57:07 +02:00
|
|
|
On Linux, you can easily do it by running make install.
|
2011-10-04 18:28:34 +02:00
|
|
|
If you are unsure where is the right place, you can check it directly from
|
2012-07-10 11:56:24 +02:00
|
|
|
QupZilla by clicking from Help Menu on Configuration Information, then in
|
2011-10-27 14:26:40 +02:00
|
|
|
Path section.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-27 14:26:40 +02:00
|
|
|
You may want to build QupZilla with debugging symbols (for generating
|
2012-02-26 12:12:38 +01:00
|
|
|
backtrace of crash) as easily as adding one line to src/defines.pri:
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-27 14:26:40 +02:00
|
|
|
CONFIG += debug
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2012-01-14 09:54:51 +01:00
|
|
|
QupZilla requires Qt (>=4.7.0) and QtWebKit (at least version included in Qt 4.7)
|
2012-02-18 19:20:07 +01:00
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
Microsoft Windows
|
|
|
|
----------------------------------------------------------------------------------
|
2011-10-04 18:28:34 +02:00
|
|
|
|
2013-02-06 13:11:26 +01:00
|
|
|
You need Microsoft Visual C++ Compiler 2010 or higher, Qt Libraries 4.8.0
|
|
|
|
or higher, QtWebKit 2.3 or higher and Hunspell library in order to build QupZilla.
|
|
|
|
It is possible, with small changes, to build also with older Microsoft compilers
|
|
|
|
or without Hunspell spellchecking.
|
|
|
|
However, it is not expected from Windows users to build their software, so only
|
|
|
|
one configuration is supported by default.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
Linux / Unix
|
|
|
|
----------------------------------------------------------------------------------
|
2011-10-04 18:28:34 +02:00
|
|
|
|
2013-06-21 11:09:19 +02:00
|
|
|
You need to have Qt 4 (>= 4.7) or Qt 5 development libraries, pkg-config is
|
|
|
|
highly recommended to correctly detect QtWebKit version.
|
2015-09-25 22:04:05 +02:00
|
|
|
Next compulsory requirement is OpenSSL (libcrypto). xcb libraries are also
|
2013-06-21 11:09:19 +02:00
|
|
|
required unless you specify NO_X11 build option.
|
2013-05-19 10:52:44 +02:00
|
|
|
|
|
|
|
To build spellcheck plugin, you need:
|
|
|
|
- QtWebKit 2.3 or higher
|
|
|
|
- pkg-config installed
|
|
|
|
- libhunspell-dev installed
|
|
|
|
|
|
|
|
To build KWallet plugin, you need:
|
|
|
|
- kdelibs-dev installed
|
|
|
|
- set KDE_INTEGRATION build flag
|
2013-01-19 19:37:40 +01:00
|
|
|
|
2014-02-02 16:21:06 +01:00
|
|
|
To build Gnome-Keyring plugin, you need
|
|
|
|
- libgnome-keyring-dev installed
|
|
|
|
- set GNOME_INTEGRATION build flag
|
|
|
|
|
2014-01-27 22:30:55 +01:00
|
|
|
For debug build, gdb is required by qmake.
|
|
|
|
|
2012-04-05 09:36:37 +02:00
|
|
|
MAC OS X
|
|
|
|
----------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
There is no extra dependency, you only need Qt tools and XCode.
|
|
|
|
After successful compilation, you need to run macdeploy.sh script to correctly
|
|
|
|
build the application bundle. You will do it with following command:
|
2013-01-19 19:37:40 +01:00
|
|
|
|
2014-03-03 15:06:22 +01:00
|
|
|
$ ./mac/macdeploy.sh <path-to-macdeployqt>
|
2013-01-19 19:37:40 +01:00
|
|
|
|
2015-10-19 21:32:01 +02:00
|
|
|
You need to specify path to macdeployqt (usually in QTDIR/bin/macdeployqt) only
|
2012-04-05 09:36:37 +02:00
|
|
|
if it is not in PATH.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
OS/2
|
|
|
|
----------------------------------------------------------------------------------
|
2011-10-07 15:37:49 +02:00
|
|
|
|
2012-04-02 21:05:06 +02:00
|
|
|
I cannot provide support for QupZilla on OS/2 as I don't have access to
|
2011-10-07 15:37:49 +02:00
|
|
|
machine with OS/2, but it is possible to get QupZilla working there.
|
2013-01-19 19:37:40 +01:00
|
|
|
|
2012-04-05 09:36:37 +02:00
|
|
|
Builds are provided by netlabs.org (http://svn.netlabs.org/qtapps/wiki/QT4%20Networking)
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-12-28 14:55:54 +01:00
|
|
|
FreeBSD
|
|
|
|
----------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
You may need to set few sysctls to get QupZilla running with raster graphics system.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-12-28 14:55:54 +01:00
|
|
|
For more informations, please see FAQ.
|
2011-10-07 15:37:49 +02:00
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
|
|
|
|
Available Defines
|
|
|
|
----------------------------------------------------------------------------------
|
|
|
|
|
2012-02-26 12:12:38 +01:00
|
|
|
You can set define directly in file (src/defines.pri)
|
2011-10-13 20:06:27 +02:00
|
|
|
or set environment variable by
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
$ export NAME="value"
|
2011-10-04 18:28:34 +02:00
|
|
|
|
|
|
|
General:
|
2015-10-19 21:32:01 +02:00
|
|
|
PORTABLE_BUILD QupZilla won't write any data outside of path of execution.
|
2011-12-28 14:55:54 +01:00
|
|
|
It will also disable plugins by default.
|
2011-10-04 18:28:34 +02:00
|
|
|
(disabled by default)
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
example:
|
2011-12-28 14:55:54 +01:00
|
|
|
$ export PORTABLE_BUILD="true"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
|
|
|
|
2012-01-21 20:29:33 +01:00
|
|
|
USE_WEBGL Enable WebGL. You need to build QupZilla with WebKit built
|
2011-10-13 17:38:51 +02:00
|
|
|
with WebGL support, otherwise you won't be able to compile
|
|
|
|
without errors.
|
2013-02-06 13:11:26 +01:00
|
|
|
Only for QtWebKit lower than 2.3
|
2011-10-13 17:38:51 +02:00
|
|
|
(disabled by default)
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
example:
|
2011-12-28 14:55:54 +01:00
|
|
|
$ export USE_WEBGL="true"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2012-01-21 20:29:33 +01:00
|
|
|
NONBLOCK_JS_DIALOGS Enable non-blocking JavaScript dialogs from alert() prompt()
|
2012-04-02 21:05:06 +02:00
|
|
|
and confirm() functions. They are shown inside page and are not
|
2012-01-21 20:29:33 +01:00
|
|
|
blocking application window.
|
2012-04-02 21:05:06 +02:00
|
|
|
However, due to synchronous API, there is a possible crash when
|
2012-01-21 20:29:33 +01:00
|
|
|
closing browser windows with opened dialogs.
|
|
|
|
If you can take this risk and/or make sure you aren't closing browser
|
|
|
|
with opened dialogs, you may enable this option.
|
|
|
|
These dialogs are much more beautiful than normal QDialogs.
|
|
|
|
(disabled by default)
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2012-01-21 20:29:33 +01:00
|
|
|
example:
|
2012-04-02 21:05:06 +02:00
|
|
|
$ export NONBLOCK_JS_DIALOGS="true"
|
|
|
|
|
2013-02-07 12:35:54 +01:00
|
|
|
ENABLE_OPACITY_EFFECT Enable opacity effect on animated tab previews. Tab previews
|
|
|
|
will then fade-in on show.
|
|
|
|
However, this feature may result in wrong scrolling into
|
|
|
|
anchor (#) links. Rendering of opacity effect may also be
|
|
|
|
garbled due to Flash.
|
|
|
|
(disabled by default)
|
|
|
|
|
|
|
|
example:
|
|
|
|
$ export ENABLE_OPACITY_EFFECT="true"
|
|
|
|
|
2014-02-02 16:21:06 +01:00
|
|
|
DISABLE_UPDATES_CHECK Disables option to check for updates at startup.
|
|
|
|
(disabled by default)
|
|
|
|
|
|
|
|
example:
|
|
|
|
$ export DISABLE_UPDATES_CHECK="true"
|
|
|
|
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-27 14:26:40 +02:00
|
|
|
Windows specific defines:
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-13 17:38:51 +02:00
|
|
|
W7API Enable Windows 7 API support
|
2011-10-17 09:57:07 +02:00
|
|
|
Requires linking against libraries from Microsoft Visual C++
|
|
|
|
Compiler 2010
|
2011-10-23 14:44:18 +02:00
|
|
|
(enabled by default)
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2012-01-28 12:02:37 +01:00
|
|
|
W7TASKBAR Enable Windows 7 Taskbar support
|
|
|
|
Requires linking against libraries from Microsoft Visual C++
|
|
|
|
Compiler 2010
|
|
|
|
May cause crash when downloading files on some systems.
|
|
|
|
(disabled by default)
|
2011-10-18 14:30:17 +02:00
|
|
|
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-04 18:28:34 +02:00
|
|
|
Linux / Unix specific defines:
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2015-09-25 22:04:05 +02:00
|
|
|
NO_X11 Disable all X11 calls.
|
|
|
|
Enable this when building for Wayland-only.
|
|
|
|
All X11 calls are guarded by runtime X11 platform check
|
|
|
|
even without this option.
|
2013-03-23 14:16:08 +01:00
|
|
|
|
|
|
|
example:
|
|
|
|
$ export NO_X11="true"
|
|
|
|
|
2013-05-19 10:52:44 +02:00
|
|
|
KDE_INTEGRATION Enable KDE integration.
|
2013-05-15 21:30:20 +02:00
|
|
|
Currently it enables building of KWallet Password plugin,
|
|
|
|
which provides support for storing passwords in KWallet.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-12-13 17:00:56 +01:00
|
|
|
example:
|
2013-05-19 10:52:44 +02:00
|
|
|
$ export KDE_INTEGRATION="true"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2014-01-01 23:36:23 +01:00
|
|
|
GNOME_INTEGRATION Enable Gnome integration.
|
|
|
|
Currently it enables building of Gnome-Keyring Password plugin,
|
|
|
|
which provides support for storing passwords in Gnome-Keyring.
|
|
|
|
|
|
|
|
example:
|
|
|
|
$ export GNOME_INTEGRATION="true"
|
|
|
|
|
2012-04-05 09:36:37 +02:00
|
|
|
USE_LIBPATH By default, /usr/lib/ is used for libQupZilla and /usr/lib/qupzilla
|
2012-04-02 21:05:06 +02:00
|
|
|
for plugins.
|
2014-03-03 15:06:22 +01:00
|
|
|
You can change it by setting this define.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
|
|
|
example:
|
2014-03-03 15:06:22 +01:00
|
|
|
$ export USE_LIBPATH="/usr/lib64"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-04 18:28:34 +02:00
|
|
|
NO_SYSTEM_DATAPATH By default, QupZilla is using /usr/share/qupzilla/ path
|
2012-04-05 09:36:37 +02:00
|
|
|
for storing themes and translations.
|
2011-10-04 18:28:34 +02:00
|
|
|
By setting this define, QupZilla will use path of execution.
|
|
|
|
(disabled by default)
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
example:
|
|
|
|
$ export NO_SYSTEM_DATAPATH="true"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2014-03-03 15:06:22 +01:00
|
|
|
QUPZILLA_PREFIX You can define different prefix.
|
2011-10-27 14:26:40 +02:00
|
|
|
QupZilla binary will then be moved to PREFIX/bin/, use
|
|
|
|
PREFIX/share/qupzilla/ as datadir, PREFIX/share/applications for
|
|
|
|
desktop launcher and PREFIX/share/pixmaps for icon.
|
2014-03-03 15:06:22 +01:00
|
|
|
(default prefix is "/usr/")
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
example:
|
2014-03-03 15:06:22 +01:00
|
|
|
$ export QUPZILLA_PREFIX="/usr"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2016-02-07 16:38:22 +01:00
|
|
|
SHARE_FOLDER You can define the path of the share folder, i.e. /usr/share
|
|
|
|
QupZilla will then use SHARE_FOLDER/qupzilla as datadir,
|
|
|
|
SHARE_FOLDER/applications for desktop launcher and
|
|
|
|
SHARE_FOLDER/pixmaps for the icon. By default it is not defined and
|
|
|
|
files will be installed as described above.
|
|
|
|
|
2013-05-19 10:52:44 +02:00
|
|
|
DISABLE_DBUS Build without QtDBus module. Native desktop notifications
|
|
|
|
will be disabled.
|
2012-07-10 11:56:24 +02:00
|
|
|
|
|
|
|
example:
|
|
|
|
$ export DISABLE_DBUS="true"
|
|
|
|
|