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