Home | History | Annotate | Download | only in QtTestBrowser
      1 TEMPLATE = app
      2 
      3 SOURCES += \
      4     locationedit.cpp \
      5     launcherwindow.cpp \
      6     main.cpp \
      7     mainwindow.cpp \
      8     urlloader.cpp \
      9     utils.cpp \
     10     webpage.cpp \
     11     webview.cpp \
     12     fpstimer.cpp \
     13 
     14 HEADERS += \
     15     locationedit.h \
     16     launcherwindow.h \
     17     mainwindow.h \
     18     urlloader.h \
     19     utils.h \
     20     webinspector.h \
     21     webpage.h \
     22     webview.h \
     23     fpstimer.h \
     24 
     25 !isEqual(QT_ARCH,sh4): CONFIG += uitools
     26 
     27 isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../..
     28 include(../../Source/WebKit.pri)
     29 INCLUDEPATH += ../../Source/WebKit/qt/WebCoreSupport
     30 
     31 DESTDIR = $$OUTPUT_DIR/bin
     32 !CONFIG(standalone_package): CONFIG -= app_bundle
     33 
     34 QT += network
     35 macx:QT+=xml
     36 
     37 unix:!mac:!symbian:!embedded {
     38     CONFIG += link_pkgconfig
     39     PKGCONFIG += fontconfig
     40 }
     41 
     42 linux-* {
     43     # From Creator's src/rpath.pri:
     44     # Do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
     45     # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var.
     46     QMAKE_RPATHDIR = \$\$ORIGIN/../lib $$QMAKE_RPATHDIR
     47     MY_RPATH = $$join(QMAKE_RPATHDIR, ":")
     48 
     49     QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${MY_RPATH}\'
     50     QMAKE_RPATHDIR =
     51 } else {
     52     QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
     53 }
     54 
     55 symbian {
     56     TARGET.UID3 = 0xA000E543
     57     TARGET.CAPABILITY = ReadUserData WriteUserData NetworkServices Location
     58     MMP_RULES *= pageddata
     59 }
     60 
     61 contains(QT_CONFIG, opengl) {
     62     QT += opengl
     63     DEFINES += QT_CONFIGURED_WITH_OPENGL
     64 }
     65 
     66 DEFINES -= QT_ASCII_CAST_WARNINGS
     67 
     68 RESOURCES += \
     69     QtTestBrowser.qrc
     70