You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only compile-time requirement of PEB is a GCC-based Qt development bundle version 5.2 or any later version.
5
+
The only Linux and Macintosh compile-time requirement of PEB is a GCC-based Qt development bundle version 5.2 or any later version.
6
+
7
+
The source code of PEB is not MSVC-compatible and PEB can not be compiled using any MSVC-based Windows version of Qt. This means that:
8
+
1. PEB Windows binaries can be compiled only by a GCC-based Qt development bundle.
9
+
2. Only ``QtWebKit`` can be used by a Windows binary of PEB.
10
+
``QtWebEngine`` is included only in the MSVC-based Qt development bundles.
11
+
3. Updated ``QtWebKit`` headers and libraries have to be manually added from the
12
+
[QtWebKit repository of Konstantin Tokarev (annulen)](https://github.com/annulen/webkit/releases) for all Qt versions higher than 5.5.
6
13
7
14
Compiled and tested successfully using:
8
15
*[Qt Creator 3.0.0 and Qt 5.2.0](http://download.qt.io/archive/qt/5.2/5.2.0/) on 32-bit Debian and 32-bit Windows XP
@@ -19,8 +26,28 @@ qmake -qt=qt5
19
26
make
20
27
```
21
28
22
-
If you want to change the Macintosh binary type, edit the ``src/peb.pro`` project file before compiling the binary.
29
+
## Compile-Time Settings
30
+
All compile-time settings require editing the ``src/peb.pro`` project file according to the following instructions.
31
+
32
+
* QtWebKit Use
33
+
To use ```QtWebKit``` or ```QtWebEngine``` depending on the Qt version, which is the default setting:
34
+
35
+
```QMake
36
+
ANNULEN_QTWEBKIT = 0
37
+
```
38
+
39
+
The default web engine for Qt versions up to 5.5.x is ```QtWebKit```.
40
+
The default web engine for Qt versions 5.6.x or higher is ```QtWebEngine```.
41
+
42
+
To use [an updated QtWebKit version from the repository of Konstantin Tokarev (annulen)](https://github.com/annulen/webkit/releases) with a Qt version higher than 5.5:
43
+
44
+
```QMake
45
+
# ANNULEN_QTWEBKIT = 1
46
+
```
47
+
48
+
Setting ```ANNULEN_QTWEBKIT``` to ```1``` has no effect on Qt versions 5.5 or lower.
23
49
50
+
* Macintosh Bundle
24
51
To make a bundle-less binary, which is the default setting:
<ahref="https://github.com/ddmitov/perl-executing-browser">Perl Executing Browser (PEB)</a> is an HTML5 user interface for <ahref="https://www.perl.org/">Perl 5</a> desktop applications. It runs local Perl 5 scripts as child processes with no server or execution timeout and is implemented as a C++ executable based on the <ahref="https://www.qt.io/">Qt 5</a> libraries.
267
+
<ahref="https://github.com/ddmitov/perl-executing-browser">Perl Executing Browser (PEB)</a> is an HTML5 user interface for <ahref="https://www.perl.org/">Perl 5</a> desktop applications. By default it runs local Perl 5 scripts as child processes with no server or execution timeout and is implemented as a C++ executable based on the <ahref="https://www.qt.io/">Qt 5</a> libraries.
268
268
</div>
269
269
</div>
270
270
271
271
<br>
272
272
273
273
<divclass="row">
274
274
<divclass="col-lg-12 introduction">
275
-
Inspired by <ahref="http://electron.atom.io/">Electron</a> and <ahref="http://nwjs.io/">NW.js</a>, PEB is another reuse of web technologies in desktop applications with Perl doing the heavy lifting. In contrast to Electron and NW.js, PEB does not depend on <ahref="https://nodejs.org/en/">Node.js</a>, always runs JavaScript in a sandbox and blocks cross-origin requests.
275
+
Inspired by <ahref="http://electron.atom.io/">Electron</a> and <ahref="http://nwjs.io/">NW.js</a>, PEB is another reuse of web technologies in desktop applications with Perl doing the heavy lifting. In contrast to Electron and NW.js, PEB does not depend on <ahref="https://nodejs.org/en/">Node.js</a> and always runs JavaScript in a sandbox.
0 commit comments