~verzegnassi-stefano/+junk/ubuntu-terminal-app-uitk13

« back to all changes in this revision

Viewing changes to src/plugin/qmltermwidget/qmltermwidget.pro

  • Committer: Filippo Scognamiglio
  • Date: 2014-10-25 04:42:31 UTC
  • Revision ID: flscogna@gmail.com-20141025044231-javjhusbqa171127
Initial reboot commit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
TEMPLATE = lib
 
2
TARGET = qmltermwidget
 
3
QT += qml quick widgets
 
4
CONFIG += qt plugin debug
 
5
 
 
6
include(qtermwidget.pri)
 
7
 
 
8
DESTDIR = $$OUT_PWD/QMLTermWidget
 
9
 
 
10
SOURCES += \
 
11
    qmltermwidget_plugin.cpp \
 
12
    qmltermwidget.cpp \
 
13
 
 
14
HEADERS += \
 
15
    qmltermwidget_plugin.h \
 
16
    qmltermwidget.h \
 
17
 
 
18
OTHER_FILES = qmldir
 
19
 
 
20
defineTest(copyToDestdir) {
 
21
    files = $$1
 
22
    for(FILE, files) {
 
23
        DDIR = $$DESTDIR
 
24
        # Replace slashes in paths with backslashes for Windows
 
25
        win32:FILE ~= s,/,\\,g
 
26
        win32:DDIR ~= s,/,\\,g
 
27
        QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t)
 
28
    }
 
29
    export(QMAKE_POST_LINK)
 
30
}