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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes