Skip to content

Commit

Permalink
clean up qmake-generated project
Browse files Browse the repository at this point in the history
remove "header" and assignmets which are defaults or bogus

Change-Id: I1d777f5418b0f353bf276a979c6300a941927e7e
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
  • Loading branch information
ossilator authored and Qt by Nokia committed Feb 22, 2012
1 parent fcae81c commit 78c34d3
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 97 deletions.
@@ -1,9 +1,4 @@
TEMPLATE = app
TARGET = networkaccessmanagerfactory
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative quick network

# Input
SOURCES += main.cpp
RESOURCES += networkaccessmanagerfactory.qrc
@@ -1,14 +1,10 @@
TEMPLATE = app
TARGET = adding
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp
HEADERS += person.h
RESOURCES += adding.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/adding
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS adding.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/adding
Expand Down
@@ -1,16 +1,12 @@
TEMPLATE = app
TARGET = attached
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += attached.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/attached
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS attached.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/attached
Expand Down
@@ -1,17 +1,13 @@
TEMPLATE = app
TARGET = binding
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp \
happybirthdaysong.cpp
HEADERS += person.h \
birthdayparty.h \
happybirthdaysong.h

RESOURCES += binding.qrc
target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/binding
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS binding.pro
Expand Down
@@ -1,16 +1,12 @@
TEMPLATE = app
TARGET = coercion
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += coercion.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/coercion
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS coercion.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/coercion
Expand Down
@@ -1,16 +1,12 @@
TEMPLATE = app
TARGET = default
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += default.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/default
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS default.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/default
Expand Down
@@ -1,14 +1,10 @@
TEMPLATE = app
TARGET = extended
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative widgets

# Input
SOURCES += main.cpp \
lineedit.cpp
HEADERS += lineedit.h
RESOURCES += extended.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/extended
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS extended.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/extended
Expand Down
@@ -1,16 +1,12 @@
TEMPLATE = app
TARGET = grouped
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += grouped.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/grouped
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS grouped.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/grouped
Expand Down
@@ -1,10 +1,5 @@
TEMPLATE = app
TARGET = methods
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
Expand Down
@@ -1,10 +1,5 @@
TEMPLATE = app
TARGET = properties
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
Expand Down
@@ -1,16 +1,12 @@
TEMPLATE = app
TARGET = signal
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp
HEADERS += person.h \
birthdayparty.h
RESOURCES += signal.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/signal
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS signal.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/signal
Expand Down
@@ -1,10 +1,5 @@
TEMPLATE = app
TARGET = valuesource
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative

# Input
SOURCES += main.cpp \
person.cpp \
birthdayparty.cpp \
Expand All @@ -13,6 +8,7 @@ HEADERS += person.h \
birthdayparty.h \
happybirthdaysong.h
RESOURCES += valuesource.qrc

target.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/valuesource
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS valuesource.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtdeclarative/declarative/extending/valuesource
Expand Down
3 changes: 0 additions & 3 deletions examples/declarative/minehunt/minehunt.pro
@@ -1,8 +1,5 @@
TEMPLATE = app
TARGET = minehunt
QT += declarative quick

# Input
HEADERS += minehunt.h
SOURCES += main.cpp minehunt.cpp
RESOURCES = minehunt.qrc
@@ -1,13 +1,6 @@
TEMPLATE = app
TARGET = objectlistmodel
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative quick

# Input
SOURCES += main.cpp \
dataobject.cpp
HEADERS += dataobject.h
RESOURCES += objectlistmodel.qrc


@@ -1,9 +1,4 @@
TEMPLATE = app
TARGET = stringlistmodel
DEPENDPATH += .
INCLUDEPATH += .
QT += declarative quick

# Input
SOURCES += main.cpp
RESOURCES += stringlistmodel.qrc
5 changes: 0 additions & 5 deletions examples/declarative/openglunderqml/openglunderqml.pro
@@ -1,10 +1,5 @@
QT += declarative quick

TEMPLATE = app
DEPENDPATH += .
INCLUDEPATH += .

# Input
HEADERS += squircle.h
SOURCES += squircle.cpp main.cpp

Expand Down
13 changes: 2 additions & 11 deletions tests/benchmarks/declarative/painting/painting.pro
@@ -1,16 +1,7 @@
######################################################################
# Automatically generated by qmake (2.01a) fr 29. jan 13:57:52 2010
######################################################################

requires(contains(QT_CONFIG,opengl))

TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .

# Input
SOURCES += paintbenchmark.cpp
QT += opengl
CONFIG += console
macx:CONFIG -= app_bundle

SOURCES += paintbenchmark.cpp
6 changes: 0 additions & 6 deletions tools/qmleasing/qmleasing.pro
@@ -1,12 +1,6 @@
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .

QT += declarative quick widgets
CONFIG -= app_bundle

# Input
SOURCES += main.cpp

RESOURCES = $$PWD/resources.qrc

0 comments on commit 78c34d3

Please sign in to comment.