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

Remove UNICODE;_UNICODE from qt props files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 2.7.1 (rev.15)
    • General
    • None
    • Windows. Visual Studio 2019.
    • Windows
    • e9cd76dac (dev)

    Description

      UNICODE is set by default for new Qt projects, but unicode is not compatible with QApplication.

      For example:

        With unicode set:

      int __cdecl _tmain(int argc, TCHAR *argv[])
      {
       QApplication app(argc, argv);

      will not compile.  There is no unicode version of QApplication defined.

      Attachments

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

        Activity

          People

            ali.demiralp Ali Can Demiralp
            doug_rogers Doug Rogers
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes