Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-475

Visual Studio Crash when i add an header with Q_OBJECT macro

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 2.1.1
    • General
    • None

      Step to reproduce:

      1. Create a new QApplication project with the default settings
      2. Right Click on mainwindow.h -> exclude from project
      3. Check the Show All Files button in the project explorer
      4. Right Click on mainwindow.h -> include in project

      This is a minimal example, but in all my projects if I try to include an header with the Q_OBJECT macro visual studio crashes

       I've attached a debugger, and the crash is due to an Access violation reading location 0x0000000014 from VCProject.dll

      I've attached the dump saved at the crash moment.

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

            mecfc Miguel Costa
            pscamodio-87 Amodio Pesce
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes