aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
blob: 3589743f0c47867f1f570d9b2582c3229bfa522a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
TEMPLATE = app

QT = core qml testlib
CONFIG += testcase qmltypes
CONFIG -= debug_and_release_target
macos:CONFIG -= app_bundle

SOURCES += tst_qmltyperegistrar.cpp
HEADERS += \
    hppheader.hpp \
    noextheader \
    tst_qmltyperegistrar.h

QMLTYPES_FILENAME = tst_qmltyperegistrar.qmltypes
QML_FOREIGN_METATYPES += foreign/foreign_metatypes.json
QML_IMPORT_NAME = QmlTypeRegistrarTest
QML_IMPORT_VERSION = 1.0

INCLUDEPATH += foreign
debug_and_release {
    CONFIG(release, debug|release): LIBS += -Lforeign/release -lforeign
    else:  LIBS += -Lforeign/debug -lforeign
} else {
    LIBS += -Lforeign -lforeign
}