TestWebKitAPI.pri 593 B

1234567891011121314151617181920212223
  1. INCLUDEPATH += $$PWD $${ROOT_WEBKIT_DIR}/Source/ThirdParty/gtest/include
  2. WEBKIT += wtf javascriptcore webkit2
  3. DEFINES += QT_NO_CAST_FROM_ASCII
  4. QT += core core-private gui gui-private webkit quick quick-private
  5. CONFIG += compiling_thirdparty_code
  6. SOURCES += \
  7. $$PWD/JavaScriptTest.cpp \
  8. $$PWD/PlatformUtilities.cpp \
  9. $$PWD/TestsController.cpp \
  10. $$PWD/qt/main.cpp \
  11. $$PWD/qt/PlatformUtilitiesQt.cpp \
  12. $$PWD/qt/PlatformWebViewQt.cpp
  13. LIBS += -L$${ROOT_BUILD_DIR}/Source/ThirdParty/gtest/$$targetSubDir() -lgtest
  14. DEFINES += ROOT_BUILD_DIR=\\\"$${ROOT_BUILD_DIR}\\\"