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

Variable for intermediate directory does not work in paths for moc, uic and rcc. $(IntDir) (VS 2010)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 2.2.0
    • 1.1.10
    • General
    • None
    • Visual Studio 2010
    • 12c06b7262a191f8f1349dce3ff914e5232b166e

    Description

      I'm using an external build directory to avoid conflicts with shared libraries and keep my source directory clean from temporary files. Therefore my definition of the intermediate directory looks like this:

      $(EDUBUILD)\$(SolutionName)\$(ProjectName)\$(Configuration)_$(PlatformName)\
      

      Where EDUBUILD is an environment variable which is pointing to the external build directory, this can be at a different location on various systems. Obviously I would like to create the temporary results of the UIC, RCC and MOC in the same intermediate directory.

      $(IntDir)\uic
      $(IntDir)\moc
      $(intDir)\rcc
      

      But this is not possible, for unknown reasons the user interface blocks adding this valiables - even the $(IntDir) is the best variable for creating intermediate files.

      By the way, because the $(IntDir) usually contains variables for Debug/Release and x86/x64 - this would remove the need for this mess:

      And reduce it to one simple moc_*step per header file.

      Attachments

        Issue Links

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

          Activity

            People

              heimrich Karsten Heimrich
              drzoom Tobias Erbsland
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes