summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmimedatabase/qmimedatabase-cache/qmimedatabase-cache.pro
blob: 37bf1df79bae9d948648a7faa29b06834d9d4ecf (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
26
27
28
include(../../../../mimetypes-nolibs.pri)
LIBS += -L$$OUT_PWD/../../../../src/mimetypes -lQtMimeTypes

TEMPLATE = app

TARGET = tst_qmimedatabase-cache

QT       += testlib

QT       -= widgets gui

CONFIG   += console
CONFIG   -= app_bundle

CONFIG += depend_includepath

SOURCES = tst_qmimedatabase-cache.cpp
HEADERS = ../tst_qmimedatabase.h

DEFINES += SRCDIR='"\\"$$PWD/../\\""'

QMAKE_EXTRA_TARGETS += check
check.depends = $$TARGET
check.commands = LD_LIBRARY_PATH=$$(LD_LIBRARY_PATH):$$OUT_PWD/../../../../src/mimetypes ./$$TARGET

DEFINES += CORE_SOURCES='"\\"$$PWD/../../../../src\\""'

*-g++*:QMAKE_CXXFLAGS += -W -Wall -Wextra -Wnon-virtual-dtor