- 
    
Bug
 - 
    Resolution: Duplicate
 - 
    
P3: Somewhat important
 - 
    None
 - 
    Qt Creator 4.4.0
 
In an open project,
- add a new file from "C++ Class" template (let's say TheClass)
 - 2 new files in project: theclass.cpp and theclass.h
 - add a new "Qt Designer Form Class" (name it TheClass)
 - Qt Creator will ask, if you want to overwrite theclass.cpp and theclass.h
 - Answer with yes for both (keep both checkboxes checked)
 - 3 new files in project: theclass.ui theclass.cpp and theclass.h
 - Result is that theclass.cpp and theclass.h are added twice
 
My expectation is that theclass.cpp and theclass.h are listed only once in the .pro file.
NOTE: This affects qmake which results in linker errors (duplicate symbols), see QTBUG-63246
- duplicates
 - 
                    
QTCREATORBUG-19546 adding .cpp and .h files that are already in the project results in double entries in the .pro file
-         
 - Closed
 
 -         
 
- relates to
 - 
                    
QTCREATORBUG-20278 "Add Existing Directory ..." causes multiple include of source files in .pro file
-         
     - Closed
 
 -         
 - 
                    
QTCREATORBUG-20885 LNK4042 generated on Qt Creator due to .pro file having repeated filenames
-         
     - Closed
 
 -