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.
|
2011-10-04 18:28:34 +02:00
|
|
|
After your binary is successfuly compiled, you need to copy bin/ folder
|
|
|
|
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
|
|
|
|
2011-10-07 15:37:49 +02:00
|
|
|
There is no extra dependency, you only need Qt tools.
|
2013-01-19 19:37:40 +01:00
|
|
|
|
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
|
|
|
|
2012-04-05 09:36:37 +02:00
|
|
|
$ ./scripts/macdeploy.sh <path-to-macdeployqt>
|
2013-01-19 19:37:40 +01:00
|
|
|
|
2012-04-05 09:36:37 +02:00
|
|
|
You need to specifiy path to macdeployqt (usually in QTDIR/bin/macdeployqt) only
|
|
|
|
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:
|
2012-01-21 20:29:33 +01:00
|
|
|
PORTABLE_BUILD QupZilla won't write any data outside of path of exection.
|
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"
|
|
|
|
|
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
|
|
|
|
2011-12-13 17:00:56 +01:00
|
|
|
KDE For now, it just use better oxygen icons in Preferences.
|
|
|
|
Nepomuk integration is planned, and it will be enabled with
|
|
|
|
this define also.
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-12-13 17:00:56 +01:00
|
|
|
example:
|
|
|
|
$ export KDE="true"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
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.
|
2012-04-05 09:36:37 +02:00
|
|
|
You can change it by setting this define. Ending slash is needed!
|
2012-04-02 21:05:06 +02:00
|
|
|
|
|
|
|
example:
|
|
|
|
$ export USE_LIBPATH="/usr/lib64/"
|
|
|
|
|
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
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
QUPZILLA_PREFIX You can define different prefix. Prefix must contain ending slash.
|
|
|
|
(default prefix is "/usr/")
|
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.
|
2012-04-05 09:36:37 +02:00
|
|
|
Ending slash is needed!
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
example:
|
2011-10-18 17:39:51 +02:00
|
|
|
$ export QUPZILLA_PREFIX="/usr/"
|
2012-04-02 21:05:06 +02:00
|
|
|
|
2012-07-10 22:15:07 +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"
|
|
|
|
|