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

Add Definition inserts the definition at the end of the cpp file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.8.0
    • Qt Creator 2.6.0-rc, Qt Creator 2.8.0-beta
    • C/C++/Obj-C++ Support
    • None
    • Windows XP, Linux

    Description

      It still inserts at the correct position with simple classes, but fails with e.g. serialport.cpp/h from this project:

      https://codereview.qt-project.org/#q,status:merged+project:playground/qtserialport,n,z

      Creator 2.5 works fine with this file.

      Maybe this is caused by the QT_BEGIN_NAMESPACE_xxx macros used in this project.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes