fix conflicting Visual Studio project names for Qt examples

Loading examples.sln resulted in a cascade of error messages because
Visual Studio doesn't allow projects of the same name in a solution.
Now using QMAKE_PROJECT_NAME to give the projects distinct names.

Change-Id: Ifd3a00311253e4b234ece936092649ce0f0869d8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Joerg Bornemann 2012-09-26 19:05:33 +02:00 committed by The Qt Project
parent 82cc324762
commit 9e750d341a
15 changed files with 30 additions and 0 deletions

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = abfr_part1
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part1
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part1.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = abfr_part2
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part2
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part2.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = abfr_part3
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part3
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part3.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = abfr_part4
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part4
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part4.pro

View File

@ -4,6 +4,8 @@ SOURCES = addressbook.cpp \
HEADERS = addressbook.h \
finddialog.h
QMAKE_PROJECT_NAME = abfr_part5
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part5
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part5.pro

View File

@ -4,6 +4,8 @@ SOURCES = addressbook.cpp \
HEADERS = addressbook.h \
finddialog.h
QMAKE_PROJECT_NAME = abfr_part6
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part6
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part6.pro

View File

@ -4,6 +4,8 @@ SOURCES = addressbook.cpp \
HEADERS = addressbook.h \
finddialog.h
QMAKE_PROJECT_NAME = abfr_part7
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part7
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part7.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = ab_part1
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part1
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part1.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = ab_part2
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part2
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part2.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = ab_part3
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part3
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part3.pro

View File

@ -2,6 +2,8 @@ SOURCES = addressbook.cpp \
main.cpp
HEADERS = addressbook.h
QMAKE_PROJECT_NAME = ab_part4
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part4
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part4.pro

View File

@ -4,6 +4,8 @@ SOURCES = addressbook.cpp \
HEADERS = addressbook.h \
finddialog.h
QMAKE_PROJECT_NAME = ab_part5
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part5
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part5.pro

View File

@ -4,6 +4,8 @@ SOURCES = addressbook.cpp \
HEADERS = addressbook.h \
finddialog.h
QMAKE_PROJECT_NAME = ab_part6
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part6
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part6.pro

View File

@ -4,6 +4,8 @@ SOURCES = addressbook.cpp \
HEADERS = addressbook.h \
finddialog.h
QMAKE_PROJECT_NAME = ab_part7
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/tutorials/addressbook/part7
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS part7.pro

View File

@ -2,6 +2,8 @@ HEADERS = analogclock.h
SOURCES = analogclock.cpp \
main.cpp
QMAKE_PROJECT_NAME = widgets_analogclock
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/analogclock
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS analogclock.pro