Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 77 lines (69 sloc) 2.08 kb
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 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
TEMPLATE = app
SOURCES += iteratorconfigdialog.cpp \
           aboutdialog.cpp \
           hunterconfigdialog.cpp \
           lineedit.cpp \
           urlloader.cpp \
           mainwindow.cpp \
           webview.cpp \
           webpage.cpp \
           fielddialog.cpp \
           viwiedialog.cpp \
           main.cpp
HEADERS += iterator.h \
           iteratorconfigdialog.h \
           aboutdialog.h \
           hunterconfigdialog.h \
           version.h \
           lineedit.h \
           urlloader.h \
           mainwindow.h \
           webview.h \
           webpage.h \
           fielddialog.h \
           viwiedialog.h

CONFIG -= app_bundle
CONFIG += qt warn_on uitools
DESTDIR = $$PWD
LIBS += -lQJson

BASE_DIR = $$PWD
QT+=xml network webkit
QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR

isEmpty(OUTPUT_DIR) {
    CONFIG(release):OUTPUT_DIR=$$PWD
    CONFIG(debug):OUTPUT_DIR=$$PWD
}

DEFINES += USE_SYSTEM_MALLOC
CONFIG(release) {
    DEFINES += NDEBUG
}
DEFINES += BUILDING_QT__=1

isEmpty(QJSON_DIR) {
} else {
    INCLUDEPATH = $$QJSON_DIR/include $$INCLUDEPATH
    QMAKE_LIBDIR_FLAGS += -L$$QJSON_DIR/lib
    QMAKE_RPATHDIR += $$QJSON_DIR/lib
}

INCLUDEPATH += $$QTDIR/include/QtWebKit

CONFIG += $$(QT_WEBKIT)
webkit_trunk {
    WEBKITDIR = $$(WEBKITDIR)
    WEBKITBRANCH = $$(WEBKITBRANCH)
    isEmpty(WEBKITBRANCH) {
        CONFIG(release):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/Release/lib
        CONFIG(debug):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/Debug/lib
    } else {
        CONFIG(release):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/$$WEBKITBRANCH/Release/lib
        CONFIG(debug):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/$$WEBKITBRANCH/Debug/lib
    }
    message(Using WebKit Trunk at $$WEBKITDIR)
    message(Using WebKit Build at $$WEBKITBUILD)
    QT -= webkit
    DEFINES += WEBKIT_TRUNK
    QMAKE_LIBDIR_FLAGS += -L$$WEBKITBUILD
    LIBS += -L$$WEBKITBUILD -lQtWebKit
    INCLUDEPATH = $$WEBKITDIR/WebKit/qt/Api $$INCLUDEPATH
    QMAKE_RPATHDIR = $$WEBKITBUILD $$QMAKE_RPATHDIR
}

target.path = $$OUTPUT_DIR/bin
INSTALLS += target
Something went wrong with that request. Please try again.