Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.6.0
-
None
-
Linux
-
6c03121668f0aad18178a042e5efc2666bb62303
Description
When adding new Class or file to exciting project, Qt Creator add new SOURCE and HEADER to the .pro file instead of using existing ones, here is an example of my pro file after adding 3 classes to it:
#------------------------------------------------- # # Project created by QtCreator 2012-11-24T19:28:11 # #------------------------------------------------- QT += core gui greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = deeel TEMPLATE = app SOURCES += main.cpp\ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui HEADERS += \ test.h SOURCES += \ test.cpp HEADERS += \ othertest.h SOURCES += \ othertest.cpp HEADERS += \ lasttest.h SOURCES += \ lasttest.cpp