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

qmake .vcproj generator does not create 'AdditionalIncludeDirectories' entry in 'VCResourceCompilerTool'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.0.0 RC 2
    • 4.6.2
    • Build tools: qmake
    • None
    • cd4eaa9c8274559aa2b0ceaeed1644966b9a2d94

    Description

      Try to compile linked application using:
      > qmake -tp vc -r

      Try to compile project using visual : it fails when trying to compile resource

      Try to comment include file in resource : it works.

      Root cause:
      <Tool
      Name="VCResourceCompilerTool"
      PreprocessorDefinitions="_WINDOWS,UNICODE,WIN32,QT_LARGEFILE_SUPPORT,QT_DLL,QT_GUI_LIB,QT_CORE_LIB,QT_THREAD_SUPPORT,_DEBUG"/>

      If I add the same AdditionalIncludeDirectories as we got for source files, it works:
      <Tool
      Name="VCResourceCompilerTool"
      AdditionalIncludeDirectories=""c:\ExternalLibs\Qt\4.6.2\include\QtCore","c:\ExternalLibs\Qt\4.6.2\include\QtGui","c:\ExternalLibs\Qt\4.6.2\include","..",".","c:\ExternalLibs\Qt\4.6.2\include\ActiveQt","debug",c:\ExternalLibs\Qt\4.6.2\mkspecs\default"
      PreprocessorDefinitions="_WINDOWS,UNICODE,WIN32,QT_LARGEFILE_SUPPORT,QT_DLL,QT_GUI_LIB,QT_CORE_LIB,QT_THREAD_SUPPORT,_DEBUG"/>

      This bug was already reported as http://bugreports.qt.nokia.com/browse/QTBUG-2436 and closed, so reopening it

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            revelut Florent Revelut
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes