blob: db8acd43c9f1e8c165cae7ffe752143c195a9ba2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
/* This file is part of the Qt SDK
*/
// constructor
function Component()
{
if (installer.value("os") == "win")
{
}
if (component.fromOnlineRepository)
{
//%IFW_DOWNLOADABLE_ARCHIVE_NAMES%
}
}
checkWhetherStopProcessIsNeeded = function()
{
}
Component.prototype.createOperations = function()
{
component.createOperations();
if (installer.value("os") == "x11") {
try {
// patch Qt binaries
component.addOperation( "QtPatch", "linux", installer.value("TargetDir") + "%TARGET_INSTALL_DIR%" );
} catch( e ) {
print( e );
}
}
if (installer.value("os") == "mac") {
try {
// patch Qt binaries
component.addOperation( "QtPatch", "mac", installer.value("TargetDir") + "%TARGET_INSTALL_DIR%" );
} catch( e ) {
print( e );
}
}
if (installer.value("os") == "win") {
try {
// patch Qt binaries
component.addOperation( "QtPatch", "windows", installer.value("TargetDir") + "%TARGET_INSTALL_DIR%" );
} catch( e ) {
print( e );
}
}
}
Component.prototype.installationFinished = function()
{
if (installer.isInstaller() && component.selected)
{
}
}
|