2011-02-18 22:53:06 -05:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = webkit_server
|
|
|
|
DESTDIR = .
|
2013-12-20 16:41:40 -05:00
|
|
|
PROJECT_DIR = $$_PRO_FILE_PWD_
|
|
|
|
BUILD_DIR = $${PROJECT_DIR}/build
|
|
|
|
PRECOMPILED_DIR = $${BUILD_DIR}
|
|
|
|
OBJECTS_DIR = $${BUILD_DIR}
|
|
|
|
MOC_DIR = $${BUILD_DIR}
|
2011-09-24 16:50:06 -04:00
|
|
|
HEADERS = \
|
2014-06-18 18:00:34 -04:00
|
|
|
GoForward.h \
|
|
|
|
GoBack.h \
|
|
|
|
WindowMaximize.h \
|
|
|
|
WindowSize.h \
|
|
|
|
WindowCommand.h \
|
|
|
|
WindowOpen.h \
|
|
|
|
WindowClose.h \
|
2013-02-06 13:23:39 -05:00
|
|
|
Version.h \
|
2012-06-29 12:14:22 -04:00
|
|
|
EnableLogging.h \
|
2012-05-25 10:13:17 -04:00
|
|
|
Authenticate.h \
|
2012-07-10 09:47:17 -04:00
|
|
|
SetConfirmAction.h \
|
|
|
|
SetPromptAction.h \
|
|
|
|
SetPromptText.h \
|
|
|
|
ClearPromptText.h \
|
|
|
|
JavascriptAlertMessages.h \
|
|
|
|
JavascriptConfirmMessages.h \
|
|
|
|
JavascriptPromptMessages.h \
|
2012-05-04 13:56:21 -04:00
|
|
|
IgnoreSslErrors.h \
|
2014-06-18 18:00:34 -04:00
|
|
|
WindowResize.h \
|
2012-02-05 11:43:48 -05:00
|
|
|
CurrentUrl.h \
|
2011-10-31 13:53:57 -04:00
|
|
|
ConsoleMessages.h \
|
2011-09-24 16:50:06 -04:00
|
|
|
WebPage.h \
|
|
|
|
Server.h \
|
|
|
|
Connection.h \
|
|
|
|
Command.h \
|
2012-07-08 15:04:30 -04:00
|
|
|
SocketCommand.h \
|
2011-09-24 16:50:06 -04:00
|
|
|
Visit.h \
|
|
|
|
Reset.h \
|
|
|
|
Node.h \
|
|
|
|
JavascriptInvocation.h \
|
|
|
|
Evaluate.h \
|
|
|
|
Execute.h \
|
|
|
|
FrameFocus.h \
|
|
|
|
Response.h \
|
|
|
|
NetworkAccessManager.h \
|
2011-09-24 17:25:15 -04:00
|
|
|
NetworkCookieJar.h \
|
2011-09-24 16:50:06 -04:00
|
|
|
Header.h \
|
|
|
|
Render.h \
|
2012-12-06 21:30:57 -05:00
|
|
|
Body.h \
|
2011-09-24 16:50:06 -04:00
|
|
|
Status.h \
|
|
|
|
Headers.h \
|
|
|
|
UnsupportedContentHandler.h \
|
2011-09-24 17:25:15 -04:00
|
|
|
SetCookie.h \
|
|
|
|
ClearCookies.h \
|
|
|
|
GetCookies.h \
|
2011-10-14 11:22:24 -04:00
|
|
|
CommandParser.h \
|
|
|
|
CommandFactory.h \
|
2011-09-24 17:55:18 -04:00
|
|
|
SetProxy.h \
|
2012-03-21 18:50:55 -04:00
|
|
|
NullCommand.h \
|
2012-03-23 16:34:39 -04:00
|
|
|
PageLoadingCommand.h \
|
2012-03-29 21:38:34 -04:00
|
|
|
SetSkipImageLoading.h \
|
2012-03-26 18:41:33 -04:00
|
|
|
WebPageManager.h \
|
|
|
|
WindowFocus.h \
|
2012-03-27 18:49:57 -04:00
|
|
|
GetWindowHandles.h \
|
|
|
|
GetWindowHandle.h \
|
2012-10-24 07:55:29 -04:00
|
|
|
GetTimeout.h \
|
|
|
|
SetTimeout.h \
|
|
|
|
TimeoutCommand.h \
|
2012-10-08 23:56:33 -04:00
|
|
|
SetUrlBlacklist.h \
|
|
|
|
NoOpReply.h \
|
2013-01-20 18:57:04 -05:00
|
|
|
JsonSerializer.h \
|
2013-02-02 17:32:54 -05:00
|
|
|
InvocationResult.h \
|
2013-02-18 11:08:40 -05:00
|
|
|
ErrorMessage.h \
|
2013-02-25 12:04:12 -05:00
|
|
|
Title.h \
|
2013-02-25 14:41:37 -05:00
|
|
|
FindCss.h \
|
2013-02-26 14:44:22 -05:00
|
|
|
JavascriptCommand.h \
|
2012-11-18 02:48:12 -05:00
|
|
|
FindXpath.h \
|
2013-11-10 16:52:01 -05:00
|
|
|
NetworkReplyProxy.h \
|
2014-06-29 22:53:01 -04:00
|
|
|
IgnoreDebugOutput.h \
|
|
|
|
StdinNotifier.h
|
2011-09-24 16:50:06 -04:00
|
|
|
|
|
|
|
SOURCES = \
|
2014-06-18 18:00:34 -04:00
|
|
|
GoForward.cpp \
|
|
|
|
GoBack.cpp \
|
|
|
|
WindowMaximize.cpp \
|
|
|
|
WindowSize.cpp \
|
|
|
|
WindowCommand.cpp \
|
|
|
|
WindowOpen.cpp \
|
|
|
|
WindowClose.cpp \
|
2013-02-06 13:23:39 -05:00
|
|
|
Version.cpp \
|
2012-06-29 12:14:22 -04:00
|
|
|
EnableLogging.cpp \
|
2012-05-25 10:13:17 -04:00
|
|
|
Authenticate.cpp \
|
2012-07-10 09:47:17 -04:00
|
|
|
SetConfirmAction.cpp \
|
|
|
|
SetPromptAction.cpp \
|
|
|
|
SetPromptText.cpp \
|
|
|
|
ClearPromptText.cpp \
|
|
|
|
JavascriptAlertMessages.cpp \
|
|
|
|
JavascriptConfirmMessages.cpp \
|
|
|
|
JavascriptPromptMessages.cpp \
|
2012-05-04 13:56:21 -04:00
|
|
|
IgnoreSslErrors.cpp \
|
2014-06-18 18:00:34 -04:00
|
|
|
WindowResize.cpp \
|
2012-02-05 11:43:48 -05:00
|
|
|
CurrentUrl.cpp \
|
2011-10-31 13:53:57 -04:00
|
|
|
ConsoleMessages.cpp \
|
2011-09-24 16:50:06 -04:00
|
|
|
main.cpp \
|
|
|
|
WebPage.cpp \
|
|
|
|
Server.cpp \
|
|
|
|
Connection.cpp \
|
|
|
|
Command.cpp \
|
2012-07-08 15:04:30 -04:00
|
|
|
SocketCommand.cpp \
|
2011-09-24 16:50:06 -04:00
|
|
|
Visit.cpp \
|
|
|
|
Reset.cpp \
|
|
|
|
Node.cpp \
|
|
|
|
JavascriptInvocation.cpp \
|
|
|
|
Evaluate.cpp \
|
|
|
|
Execute.cpp \
|
|
|
|
FrameFocus.cpp \
|
|
|
|
Response.cpp \
|
|
|
|
NetworkAccessManager.cpp \
|
2011-09-24 17:25:15 -04:00
|
|
|
NetworkCookieJar.cpp \
|
2011-09-24 16:50:06 -04:00
|
|
|
Header.cpp \
|
|
|
|
Render.cpp \
|
|
|
|
body.cpp \
|
|
|
|
Status.cpp \
|
|
|
|
Headers.cpp \
|
|
|
|
UnsupportedContentHandler.cpp \
|
2011-09-24 17:25:15 -04:00
|
|
|
SetCookie.cpp \
|
|
|
|
ClearCookies.cpp \
|
|
|
|
GetCookies.cpp \
|
2011-10-14 11:22:24 -04:00
|
|
|
CommandParser.cpp \
|
|
|
|
CommandFactory.cpp \
|
2011-09-24 17:55:18 -04:00
|
|
|
SetProxy.cpp \
|
2012-03-21 18:50:55 -04:00
|
|
|
NullCommand.cpp \
|
2012-03-23 16:34:39 -04:00
|
|
|
PageLoadingCommand.cpp \
|
2012-10-24 07:55:29 -04:00
|
|
|
SetTimeout.cpp \
|
|
|
|
GetTimeout.cpp \
|
2012-03-29 21:38:34 -04:00
|
|
|
SetSkipImageLoading.cpp \
|
2012-03-26 18:41:33 -04:00
|
|
|
WebPageManager.cpp \
|
|
|
|
WindowFocus.cpp \
|
2012-03-27 18:49:57 -04:00
|
|
|
GetWindowHandles.cpp \
|
|
|
|
GetWindowHandle.cpp \
|
2012-10-24 07:55:29 -04:00
|
|
|
TimeoutCommand.cpp \
|
2012-10-08 23:56:33 -04:00
|
|
|
SetUrlBlacklist.cpp \
|
|
|
|
NoOpReply.cpp \
|
2013-01-20 18:57:04 -05:00
|
|
|
JsonSerializer.cpp \
|
2013-02-02 17:32:54 -05:00
|
|
|
InvocationResult.cpp \
|
2013-02-18 11:08:40 -05:00
|
|
|
ErrorMessage.cpp \
|
2013-02-25 12:04:12 -05:00
|
|
|
Title.cpp \
|
2013-02-25 14:41:37 -05:00
|
|
|
FindCss.cpp \
|
2013-02-26 14:44:22 -05:00
|
|
|
JavascriptCommand.cpp \
|
2012-11-18 02:48:12 -05:00
|
|
|
FindXpath.cpp \
|
2013-11-10 16:52:01 -05:00
|
|
|
NetworkReplyProxy.cpp \
|
2014-06-29 22:53:01 -04:00
|
|
|
IgnoreDebugOutput.cpp \
|
|
|
|
StdinNotifier.cpp
|
2011-09-24 16:50:06 -04:00
|
|
|
|
2011-02-25 22:32:22 -05:00
|
|
|
RESOURCES = webkit_server.qrc
|
2013-02-27 15:41:52 -05:00
|
|
|
QT += network
|
2013-01-06 22:05:41 -05:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
QT += webkitwidgets
|
|
|
|
} else {
|
|
|
|
QT += webkit
|
|
|
|
}
|
2013-11-09 16:18:29 -05:00
|
|
|
lessThan(QT_MAJOR_VERSION, 5) {
|
|
|
|
lessThan(QT_MINOR_VERSION, 8) {
|
|
|
|
error(At least Qt 4.8.0 is required to run capybara-webkit.)
|
|
|
|
}
|
|
|
|
}
|
2013-02-27 15:41:52 -05:00
|
|
|
CONFIG += console precompile_header
|
2011-05-11 09:04:31 -04:00
|
|
|
CONFIG -= app_bundle
|
2013-02-27 15:41:52 -05:00
|
|
|
PRECOMPILED_HEADER = stable.h
|
2011-02-18 22:53:06 -05:00
|
|
|
|