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

SIGNAL keyword in non-qt project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 2.6.0-rc, Qt Creator 2.7.0
    • C/C++/Obj-C++ Support
    • None

      Hi,

      I have project made mostly in C (and some C++). I do not use QT in it, I just use it as existing project.

      I am having problems with SIGNAL keyword. It looks like this is special keyword in Qt, and Qt creator c++ parset treats it in special way.

      I am having problems when defining:

      union SIGNAL {
        int i;
        float b;
      }

      Qt Creator parser is always replying that I have "Wrong type specifier". I have huge amount of this declarations in the code, and no way it can be changed.

      Can this be made so that if I do not use Qt, he is not reporting "wrong type specifier" in this case.

      Regards,
      Petar

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

            kosjar Nikolai Kosjar
            pperisin Petar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes