Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3234

qmake generates "unrecognized version" sln files for Visual Studio

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • Some future release
    • 4.4.3
    • Build tools: qmake
    • None
    • Windows, Visual Studio

    Description

      It seems the qmake generated sln file does not conform and is not recognized as a Visual Studio 9.00 (2005) solution file.

      Replace:
      msvc_vcproj.cpp,271: const char _slnHeader80[] = "Microsoft Visual
      Studio Solution File, Format Version 9.00";

      with
      const char _slnHeader80[] = "Microsoft Visual Studio Solution File,
      Format Version 9.00\n# Visual Studio 2005";

      The added line is just a comment, but important if we want the file to be recognized as a Visual 9.0 file, and opened by the appropriate Visual Studio version.

      This issue also applies to more recent Visual Studio versions.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes