Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.13.0-beta1
-
Windows 10 1909 64 bit
cmake 3.14.0
-
-
ca430f2a8b2ee7ea106d87bf517f1d4271d29b4b (qt-creator/tqtc-qt-creator/4.15)
Description
- Create a new Qt Widgets Application project for CMake using Creator's wizard.
- In Projects-view, right-click on the project's name next to the hammer icon.
- Select "Add New..." from the context menu.
- Use the wizard that opens for creating a new Qt Designer Form Class in the project.
This will add three files: a .cpp, a .h and a .ui file.
After you clicked "Finish", a dialog will pop up asking whether Creator should add the path to the source files to the clipboard. - Click "Yes".
Only the name of the .cpp file will be added to the clipboard.
While this is correct for the narrower sense of "source file", I think it would be good if there was an option to copy all files names because all of them should be added to CMakeLists.txt
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-25212 QtCreator in CMake project copies to clipboard only .cpp file of the new class created
-
- Closed
-
- relates to
-
QTCREATORBUG-26006 Files are not automatically added to the CMakeLists.txt file of the CMake project
-
- Closed
-
For Gerrit Dashboard: QTCREATORBUG-24301 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
341383,3 | CMakePM: Copy the header file name to clipboard after adding class | 4.15 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |