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

Add option to put Qt headers location in "VC++ Directories" instead of "C/C++->General"

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 1.2.2
    • General
    • None

      There are two places in Visual Studio project settings where include directories can be specified:
      [Configuration Properties] > [VC++ Directories] > [Include Directories]
      [Configuration Properties] > [C/C++] > [General] > [Additional Include Directories]

      When Qt modules are selected the add-in currently uses second location.
      It would be useful to be able to select which location is used.

      Background for this suggestion:
      Recently a popular VS plugin Visual Assist X added a support for Qt5 headers in their feature that inserts include statement for unknown symbols.
      The feature is very useful, but with the current Qt add-in behavior it adds eg. "QByteArray" instead of <QByteArray>.
      The selection of "" or <> is based on the mentioned location of headers.
      The first setting is generally considered "system wide" location, so it uses <> syntax.
      The second one is considered "project local" location and uses "".
      Qt is usually installed separately, so it should rather use first location or give user a choice.

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

            mecfc Miguel Costa
            chrisaverage Krzysztof Kawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes