summaryrefslogtreecommitdiff
path: root/snowshoe.pro
diff options
context:
space:
mode:
authorIgor Oliveira <igor.oliveira@openbossa.org>2011-07-25 10:02:08 -0400
committerIgor Oliveira <igor.oliveira@openbossa.org>2011-08-03 15:47:19 -0400
commit147ad15d4f3d71df90195fbcc80e401dee05b046 (patch)
tree65efd02011fcc164c83403413f674c0a4f6f024f /snowshoe.pro
parentb4505dbe6ee11f598c88718b005be1aca37fa729 (diff)
downloadsnowshoe-147ad15d4f3d71df90195fbcc80e401dee05b046.tar.gz
Move files to src directory. That will facilitate the tests creation
Reviewed-by: Caio Marcelo
Diffstat (limited to 'snowshoe.pro')
-rw-r--r--snowshoe.pro74
1 files changed, 4 insertions, 70 deletions
diff --git a/snowshoe.pro b/snowshoe.pro
index 48aff3f..427e4c4 100644
--- a/snowshoe.pro
+++ b/snowshoe.pro
@@ -1,71 +1,5 @@
-TEMPLATE = app
-TARGET = snowshoe
+TEMPLATE = subdirs
+CONFIG += ordered
-QT += declarative sql
-
-SOURCES += \
- main.cpp \
- BookmarkModel.cpp \
- BrowserObject.cpp \
- BrowserWindow.cpp \
- DatabaseManager.cpp \
- MainView.cpp \
- TripleClickMonitor.cpp
-
-HEADERS += \
- BookmarkModel.h \
- BrowserObject.h \
- BrowserWindow.h \
- DatabaseManager.h \
- MainView.h \
- TripleClickMonitor.h
-
-RESOURCES += \
- snowshoe.qrc
-
-MOC_DIR = .moc/
-RCC_DIR = .rcc/
-OBJECTS_DIR = .obj/
-
-WEBKIT_SOURCE_DIR = $$(WEBKIT_SOURCE_DIR)
-isEmpty(WEBKIT_SOURCE_DIR) {
- error(Please set WEBKIT_SOURCE_DIR environment variable)
-} else {
- message(Using WebKit source from $$WEBKIT_SOURCE_DIR)
-}
-
-WEBKIT_BUILD_DIR = $$(WEBKIT_BUILD_DIR)
-isEmpty(WEBKIT_BUILD_DIR) {
- WEBKIT_BUILD_DIR = $$WEBKIT_SOURCE_DIR/WebKitBuild/Release
-}
-
-message(Using WebKit build from $$WEBKIT_BUILD_DIR)
-
-INCLUDEPATH += $$WEBKIT_SOURCE_DIR/Source/
-INCLUDEPATH += $$WEBKIT_SOURCE_DIR/Source/WebKit2/UIProcess/API/qt
-INCLUDEPATH += $$WEBKIT_SOURCE_DIR/Source/WebKit2/UIProcess/API/C
-INCLUDEPATH += $$WEBKIT_SOURCE_DIR/Source/WebKit2/UIProcess/API/cpp
-INCLUDEPATH += $$WEBKIT_SOURCE_DIR/Source/WebKit/qt/Api
-
-INCLUDEPATH += $$WEBKIT_BUILD_DIR/include/
-INCLUDEPATH += $$WEBKIT_BUILD_DIR/include/WebKit2
-
-# WebKit needs to be the first, just in case the Qt build contains already a QtWebKit.
-QMAKE_LFLAGS = -L$$WEBKIT_BUILD_DIR/lib $$QMAKE_LFLAGS
-
-macx {
- LIBS += -framework QtWebKit
-} else {
- # Make sure that again the custom WebKit is the first in the rpath otherwise it will not pick the right one.
- unix : QMAKE_RPATHDIR = $$WEBKIT_BUILD_DIR/lib $$QMAKE_RPATHDIR
- LIBS += -lQtWebKit
-}
-
-OTHER_FILES += \
- qml/main.qml \
- qml/Tab.qml \
- qml/TabWidget.qml \
- qml/TabWidget.js \
- qml/UrlEdit.qml \
- qml/UrlBar.qml \
- qml/PageWidget.qml
+SUBDIRS = \
+ src/