diff options
author | Katja Marttila <katja.marttila@theqtcompany.com> | 2016-01-07 15:21:11 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@theqtcompany.com> | 2016-01-14 10:12:49 +0000 |
commit | 5b999a1817e7829c87977b5d99f75a179ec36fda (patch) | |
tree | eca5bf6c8777755ea6828d0c45d0caad1cd094db /src/src.pro | |
parent | 2e18b419a7084b1e39bf8749855768a1002e34de (diff) |
Use qml extension plugin
Placing c++ code to plugins we can use the same codebase
for qtwebbrowser in b2qtlauncher
Change-Id: I7a8c29e2dfb98e2645dccfc5fcb145f6cbd60102
Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r-- | src/src.pro | 49 |
1 files changed, 8 insertions, 41 deletions
diff --git a/src/src.pro b/src/src.pro index e30748a..b5ae676 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,41 +1,8 @@ -TARGET = qtwebbrowser - -DESTDIR = ../ -CONFIG += c++11 -CONFIG -= app_bundle - -SOURCES = main.cpp \ - touchmockingapplication.cpp \ - browserwindow.cpp \ - touchtracker.cpp \ - engine.cpp \ - navigationhistoryproxymodel.cpp - -HEADERS = \ - touchmockingapplication.h \ - browserwindow.h \ - touchtracker.h \ - engine.h \ - navigationhistoryproxymodel.h - -OTHER_FILES = \ - qml/assets/UIButton.qml \ - qml/assets/UIToolBar.qml \ - qml/ApplicationRoot.qml \ - qml/BrowserWindow.qml \ - qml/FeaturePermissionBar.qml \ - qml/MockTouchPoint.qml \ - qml/PageView.qml \ - qml/NavigationBar.qml \ - qml/HomeScreen.qml \ - qml/SettingsView.qml \ - -QT += qml quick webengine -QT_PRIVATE += quick-private gui-private core-private - -RESOURCES += resources.qrc - -!cross_compile: DEFINES += HOST_BUILD - -target.path = /data/user/qt/qtwebbrowser -INSTALLS += target +TEMPLATE = subdirs +SUBDIRS += \ + app + +cross_compile { + SUBDIRS += \ + imports +} |