Compare commits
1 Commits
petRUShka/
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
f7384d684c |
@ -1,4 +1,4 @@
|
||||
_I am looking for a new maintainer for this project. Please contact me via GitHub if you're interested._
|
||||
_This project is dead. You should use [Karma](http://karma-runner.github.io/) instead. I do._
|
||||
|
||||
# Jasmine Headless WebKit runner
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include <QtGui>
|
||||
#include <QtWebKit>
|
||||
#include <iostream>
|
||||
|
||||
#include "Page.h"
|
||||
|
||||
Page::Page() : QWebPage() {}
|
||||
|
@ -2,11 +2,7 @@
|
||||
#define JHW_PAGE
|
||||
|
||||
#include <QtGui>
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||
#include <QtWebKitWidgets>
|
||||
#else
|
||||
#include <QtWebKit>
|
||||
#endif
|
||||
|
||||
class Page: public QWebPage {
|
||||
Q_OBJECT
|
||||
|
@ -1,3 +1,11 @@
|
||||
#include <QtGui>
|
||||
#include <QtWebKit>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <QQueue>
|
||||
|
||||
#include "Runner.h"
|
||||
#include "Page.h"
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef JHW_RUNNER
|
||||
#define JHW_RUNNER
|
||||
|
||||
#include <QtGui>
|
||||
#include <QtWebKit>
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
#include <iostream>
|
||||
|
@ -1,12 +1,7 @@
|
||||
TEMPLATE = app
|
||||
CONFIG -= app_bundle
|
||||
QMAKE_INFO_PLIST = Info.plist
|
||||
QT += network
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT += webkitwidgets
|
||||
} else {
|
||||
QT += webkit
|
||||
}
|
||||
QT += network webkit
|
||||
|
||||
SOURCES = Page.cpp Runner.cpp
|
||||
HEADERS = Page.h Runner.h
|
||||
|
Loading…
Reference in New Issue
Block a user