aeb036ed87
it's confusing for the users if the examples' project files contain code to install their own sources. also, this constitutes an enormous code duplication, and lots of mistakes. consequently, automate it. more or less as a side effect, this also removes the entirely meaningless target installs in subdirs projects. Task-number: QTBUG-28184 Change-Id: I9fc1367a06db9e2c46aeb67d68729a4f67163ef9 Reviewed-by: hjk <qthjk@ovi.com>
25 lines
521 B
Prolog
25 lines
521 B
Prolog
TARGET = bearermonitor
|
|
QT = core gui network widgets
|
|
|
|
HEADERS = sessionwidget.h \
|
|
bearermonitor.h
|
|
|
|
SOURCES = main.cpp \
|
|
bearermonitor.cpp \
|
|
sessionwidget.cpp
|
|
|
|
FORMS = bearermonitor_240_320.ui \
|
|
bearermonitor_640_480.ui \
|
|
sessionwidget.ui
|
|
|
|
EXAMPLE_FILES = bearermonitor_maemo.ui sessionwidget_maemo.ui # not used
|
|
|
|
win32:!wince*:LIBS += -lws2_32
|
|
wince*:LIBS += -lws2
|
|
|
|
CONFIG += console
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/network/bearermonitor
|
|
INSTALLS += target
|