• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1TEMPLATE = app
2TARGET = QtWebProcess
3INSTALLS += target
4
5isEmpty(INSTALL_BINS) {
6    target.path = $$[QT_INSTALL_BINS]
7} else {
8    target.path = $$INSTALL_BINS
9}
10
11SOURCES += \
12    qt/MainQt.cpp
13
14isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../..
15include($$PWD/../WebKit.pri)
16
17DESTDIR = $$OUTPUT_DIR/bin
18!CONFIG(standalone_package): CONFIG -= app_bundle
19
20QT += network
21macx:QT+=xml
22
23linux-* {
24    # From Creator's src/rpath.pri:
25    # Do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
26    # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var.
27    QMAKE_RPATHDIR = \$\$ORIGIN/../lib $$QMAKE_RPATHDIR
28    MY_RPATH = $$join(QMAKE_RPATHDIR, ":")
29
30    QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${MY_RPATH}\' -Wl,--no-undefined
31    QMAKE_RPATHDIR =
32} else {
33    QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
34}
35
36symbian {
37    TARGET.UID3 = 0xA000E544
38    TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices
39}
40
41contains(QT_CONFIG, opengl) {
42    QT += opengl
43    DEFINES += QT_CONFIGURED_WITH_OPENGL
44}
45