Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
Qt
QtWebEngine
Commits
72472b8b
Commit
72472b8b
authored
10 years ago
by
Frederik Gladhorn
Committed by
The Qt Project
10 years ago
Browse files
Options
Download
Plain Diff
Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev
parents
ad17dd16
3ec6544f
dev
5.10
5.11
5.12
5.12.1
5.12.10
5.12.11
5.12.12
5.12.2
5.12.3
5.12.4
5.12.5
5.12.6
5.12.7
5.12.8
5.12.9
5.13
5.13.0
5.13.1
5.13.2
5.14
5.14.0
5.14.1
5.14.2
5.15
5.15.0
5.15.1
5.15.2
5.15.3
5.15.4
5.15.5
5.15.6
5.15.7
5.5
5.6
5.7
5.8
5.9
5.9.8
6.2
6.2.0
6.2.1
6.2.2
wip/47-based
wip/qtpdf
v5.15.0-alpha1
v5.14.1
v5.14.0
v5.14.0-rc2
v5.14.0-rc1
v5.14.0-beta3
v5.14.0-beta2
v5.14.0-beta1
v5.14.0-alpha1
v5.13.2
v5.13.1
v5.13.0
v5.13.0-rc3
v5.13.0-rc2
v5.13.0-rc1
v5.13.0-beta4
v5.13.0-beta3
v5.13.0-beta2
v5.13.0-beta1
v5.13.0-alpha1
v5.12.7
v5.12.6
v5.12.5
v5.12.4
v5.12.3
v5.12.2
v5.12.1
v5.12.0
v5.12.0-rc2
v5.12.0-rc1
v5.12.0-beta4
v5.12.0-beta3
v5.12.0-beta2
v5.12.0-beta1
v5.12.0-alpha1
v5.11.3
v5.11.2
v5.11.1
v5.11.0
v5.11.0-rc2
v5.11.0-rc1
v5.11.0-beta4
v5.11.0-beta3
v5.11.0-beta2
v5.11.0-beta1
v5.11.0-alpha1
v5.10.1
v5.10.0
v5.10.0-rc3
v5.10.0-rc2
v5.10.0-rc1
v5.10.0-beta4
v5.10.0-beta3
v5.10.0-beta2
v5.10.0-beta1
v5.10.0-alpha1
v5.9.9
v5.9.8
v5.9.7
v5.9.6
v5.9.5
v5.9.4
v5.9.3
v5.9.2
v5.9.1
v5.9.0
v5.9.0-rc2
v5.9.0-rc1
v5.9.0-beta4
v5.9.0-beta3
v5.9.0-beta2
v5.9.0-beta1
v5.9.0-alpha1
v5.8.0
v5.8.0-rc1
v5.8.0-beta1
v5.8.0-alpha1
v5.7.1
v5.7.0
v5.7.0-rc1
v5.7.0-beta1
v5.7.0-alpha1
v5.6.3
v5.6.2
v5.6.1
v5.6.1-1
v5.6.0
v5.6.0-rc1
v5.6.0-beta1
v5.6.0-alpha1
v5.5.1
v5.5.0
v5.5.0-rc1
v5.5.0-beta1
v5.5.0-alpha1
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/core/config/desktop_linux.pri
+1
-0
src/core/config/desktop_linux.pri
src/core/config/embedded_linux.pri
+1
-1
src/core/config/embedded_linux.pri
src/process/process.pro
+1
-1
src/process/process.pro
src/webengine/ui_delegates_manager.cpp
+12
-9
src/webengine/ui_delegates_manager.cpp
with
15 additions
and
11 deletions
src/core/config/desktop_linux.pri
+
1
−
0
View file @
72472b8b
...
...
@@ -16,3 +16,4 @@ GYP_CONFIG += \
host_clang=0 \
clang=0 \
!contains(QT_CONFIG, pulseaudio): GYP_CONFIG += use_pulseaudio=0
This diff is collapsed.
Click to expand it.
src/core/config/embedded_linux.pri
+
1
−
1
View file @
72472b8b
GYP_ARGS += "-D qt_os=\"embedded_linux\" -I config/embedded_linux.gypi"
GYP_CONFIG += \
build_ffmpegsumo=
0
\
build_ffmpegsumo=
1
\
configuration_policy=0 \
desktop_linux=0 \
disable_nacl=1 \
...
...
This diff is collapsed.
Click to expand it.
src/process/process.pro
+
1
−
1
View file @
72472b8b
TARGET
=
$$
QTWEBENGINEPROCESS_NAME
TEMPLATE
=
app
!
build_pass
:
contains
(
QT_CONFIG
,
debug_and_release
)
:
contains
(
QT_CONFIG
,
build_all
)
:
CONFIG
+=
release
#
Needed
to
set
LSUIElement
=
1
QMAKE_INFO_PLIST
=
Info_mac
.
plist
...
...
This diff is collapsed.
Click to expand it.
src/webengine/ui_delegates_manager.cpp
+
12
−
9
View file @
72472b8b
...
...
@@ -310,15 +310,6 @@ void UIDelegatesManager::showDialog(QSharedPointer<JavaScriptDialogController> d
QQmlProperty
titleProp
(
dialog
,
QStringLiteral
(
"title"
));
titleProp
.
write
(
title
);
if
(
dialogComponentType
==
PromptDialog
)
{
QQmlProperty
promptProp
(
dialog
,
QStringLiteral
(
"prompt"
));
promptProp
.
write
(
dialogController
->
defaultPrompt
());
QQmlProperty
inputSignal
(
dialog
,
QStringLiteral
(
"onInput"
));
CHECK_QML_SIGNAL_PROPERTY
(
inputSignal
,
dialogComponent
->
url
());
static
int
setTextIndex
=
dialogController
->
metaObject
()
->
indexOfSlot
(
"textProvided(QString)"
);
QObject
::
connect
(
dialog
,
inputSignal
.
method
(),
dialogController
.
data
(),
dialogController
->
metaObject
()
->
method
(
setTextIndex
));
}
QQmlProperty
acceptSignal
(
dialog
,
QStringLiteral
(
"onAccepted"
));
QQmlProperty
rejectSignal
(
dialog
,
QStringLiteral
(
"onRejected"
));
CHECK_QML_SIGNAL_PROPERTY
(
acceptSignal
,
dialogComponent
->
url
());
...
...
@@ -328,6 +319,18 @@ void UIDelegatesManager::showDialog(QSharedPointer<JavaScriptDialogController> d
QObject
::
connect
(
dialog
,
acceptSignal
.
method
(),
dialogController
.
data
(),
dialogController
->
metaObject
()
->
method
(
acceptIndex
));
static
int
rejectIndex
=
dialogController
->
metaObject
()
->
indexOfSlot
(
"reject()"
);
QObject
::
connect
(
dialog
,
rejectSignal
.
method
(),
dialogController
.
data
(),
dialogController
->
metaObject
()
->
method
(
rejectIndex
));
if
(
dialogComponentType
==
PromptDialog
)
{
QQmlProperty
promptProp
(
dialog
,
QStringLiteral
(
"prompt"
));
promptProp
.
write
(
dialogController
->
defaultPrompt
());
QQmlProperty
inputSignal
(
dialog
,
QStringLiteral
(
"onInput"
));
CHECK_QML_SIGNAL_PROPERTY
(
inputSignal
,
dialogComponent
->
url
());
static
int
setTextIndex
=
dialogController
->
metaObject
()
->
indexOfSlot
(
"textProvided(QString)"
);
QObject
::
connect
(
dialog
,
inputSignal
.
method
(),
dialogController
.
data
(),
dialogController
->
metaObject
()
->
method
(
setTextIndex
));
QQmlProperty
closingSignal
(
dialog
,
QStringLiteral
(
"onClosing"
));
QObject
::
connect
(
dialog
,
closingSignal
.
method
(),
dialogController
.
data
(),
dialogController
->
metaObject
()
->
method
(
rejectIndex
));
}
dialogComponent
->
completeCreate
();
QObject
::
connect
(
dialogController
.
data
(),
&
JavaScriptDialogController
::
dialogCloseRequested
,
dialog
,
&
QObject
::
deleteLater
);
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets