Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26006

Files are not automatically added to the CMakeLists.txt file of the CMake project

XMLWordPrintable

    • d8be2491a (master)

      When adding a new form class to a CMake project, you'll get this dialog box:

      I just talked with a beginner who had apparently checked the "always copy paths" checkbox and then forgot about it, which led to a lot of confusion for them when they started getting linker errors due to the constructor not being defined, since the .cpp file wasn't being included.

      As far as I remember this (adding files to the project file for the user) worked fine with qmake and so it should work with CMake too.

        For Gerrit Dashboard: QTCREATORBUG-26006
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes