summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/uic.pro
blob: 34c3f2a33df8e2d41f7dda2cda544ebb39c7aee0 (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
option(host_build)
TEMPLATE = app
TARGET = uic
QT = bootstrap-private

DESTDIR = ../../../bin
DEFINES += QT_UIC QT_NO_CAST_FROM_ASCII

include(uic.pri)
include(cpp/cpp.pri)

HEADERS += uic.h

SOURCES += main.cpp \
           uic.cpp

*-maemo* {
    # UIC will crash when running inside QEMU if built with -O2
    QMAKE_CFLAGS_RELEASE -= -O2
    QMAKE_CXXFLAGS_RELEASE -= -O2
}

target.path = $$[QT_HOST_BINS]
INSTALLS += target
load(qt_targets)