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>
21 lines
476 B
Prolog
21 lines
476 B
Prolog
QT = core network
|
|
CONFIG += console
|
|
CONFIG -= app_bundle
|
|
|
|
HEADERS += downloadmanager.h textprogressbar.h
|
|
SOURCES += downloadmanager.cpp main.cpp textprogressbar.cpp
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/network/downloadmanager
|
|
INSTALLS += target
|
|
|
|
OTHER_FILES += \
|
|
debian/changelog \
|
|
debian/compat \
|
|
debian/control \
|
|
debian/copyright \
|
|
debian/README \
|
|
debian/rules
|
|
|
|
simulator: warning(This example might not fully work on Simulator platform)
|