2011-10-17 09:57:07 +02:00
|
|
|
General
|
|
|
|
----------------------------------------------------------------------------------
|
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
|
|
|
|
this informations before compiling.
|
|
|
|
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
|
|
|
|
QupZilla by clicking from Help Menu to Informations about program, then in
|
|
|
|
Path section.
|
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
Microsoft Windows
|
|
|
|
----------------------------------------------------------------------------------
|
2011-10-04 18:28:34 +02:00
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
You need Microsoft Visual C++ Compiler 2008 or higher and Qt Libraries 4.7.0
|
|
|
|
or higher in order to build QupZilla.
|
|
|
|
Building with Microsoft Visual C++ Compiler 2010 is also possible, but as this
|
|
|
|
version is not yet suported by Qt, created binary can be executed, but is very
|
|
|
|
likely to unreasonable crash randomly.
|
|
|
|
Building with MingW is perhaps possible too, but MingW QtWebKit crashes with
|
|
|
|
every Flash, so MingW is not officially supported.
|
|
|
|
If you don't meet this, please use precompiled version, which is also in smart
|
|
|
|
windows installer.
|
2011-10-04 18:28:34 +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.
|
2011-10-04 18:28:34 +02:00
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
OS/2
|
|
|
|
----------------------------------------------------------------------------------
|
2011-10-07 15:37:49 +02:00
|
|
|
|
|
|
|
I cannot provide support for QupZilla on OS/2 as I don't have access to
|
|
|
|
machine with OS/2, but it is possible to get QupZilla working there.
|
|
|
|
There may be some more things to do, but as far as I know, you need to
|
|
|
|
add Q_WS_WIN define to qmake.
|
|
|
|
You will do this by adding one line
|
|
|
|
|
|
|
|
DEFINES += Q_WS_WIN
|
|
|
|
|
|
|
|
to QupZilla.pro file.
|
|
|
|
|
2011-10-17 09:57:07 +02:00
|
|
|
|
|
|
|
Available Defines
|
|
|
|
----------------------------------------------------------------------------------
|
|
|
|
|
2011-10-13 20:06:27 +02:00
|
|
|
You can set define directly in project file (QupZilla.pro)
|
|
|
|
or set environment variable by
|
2011-10-17 09:57:07 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
$ export NAME="value"
|
2011-10-04 18:28:34 +02:00
|
|
|
|
|
|
|
General:
|
|
|
|
UNRELEASED_BUILD QupZilla won't check profile version,
|
|
|
|
thus, it won't reset your profile is lower version
|
|
|
|
(disabled by default)
|
2011-10-13 17:38:51 +02:00
|
|
|
|
2011-10-18 14:30:17 +02:00
|
|
|
example:
|
|
|
|
$ export UNRELEASED_BUILD="true"
|
|
|
|
|
2011-10-13 17:38:51 +02:00
|
|
|
USE_WEBGL Enable WebGL. You need to build QupZilla with WebKit built
|
|
|
|
with WebGL support, otherwise you won't be able to compile
|
|
|
|
without errors.
|
|
|
|
(disabled by default)
|
2011-10-18 14:30:17 +02:00
|
|
|
|
|
|
|
example:
|
|
|
|
$ export USE_WEBGL="true"
|
2011-10-04 18:28:34 +02:00
|
|
|
|
|
|
|
Windows specific defines
|
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)
|
2011-10-18 14:30:17 +02:00
|
|
|
|
2011-10-04 18:28:34 +02:00
|
|
|
|
|
|
|
Linux / Unix specific defines:
|
|
|
|
NO_SYSTEM_DATAPATH By default, QupZilla is using /usr/share/qupzilla/ path
|
|
|
|
for storing themes, translations and plugins.
|
|
|
|
By setting this define, QupZilla will use path of execution.
|
|
|
|
(disabled by default)
|
2011-10-18 14:30:17 +02:00
|
|
|
|
|
|
|
example:
|
|
|
|
$ export NO_SYSTEM_DATAPATH="true"
|
|
|
|
|
|
|
|
QUPZILLA_PREFIX You can define different prefix. Prefix must contain ending slash.
|
|
|
|
(default prefix is "/usr/")
|
|
|
|
value:
|
|
|
|
|
|
|
|
example:
|
2011-10-18 17:39:51 +02:00
|
|
|
$ export QUPZILLA_PREFIX="/usr/"
|
2011-10-18 14:30:17 +02:00
|
|
|
|
|
|
|
|