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

Class Wizard Relative Paths Don't Work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 2.1.2, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0
    • General
    • None
    • Visual studio 2017 15.3.5

      QtAddin version 2.1.2 beta
    • 5aa212ced (dev)

    Description

      The Add Class Wizard for QtGuiClass and QtClass used to accept relative paths in previous versions of Visual Studio/Qt-Add-in, however since upgrading our projects to VS2017 and QtAddin 2.1.2, it seems that new restrictions on file name has been introduced that prevents using relative paths in the filenames for the created classes as in the following example:

      Assuming the following folder structure: 

      (PROJECT)/include : include files

      (PROJECT)/src : source files

      (PROJECT)/ui : ui files

      (PROJECT)/vs : visual studio related files ( where the .vcproject file resides)

      The class wizards will put all created files (.h,.cpp and .ui) in the "vs" directory

      in previous versions this was solved by prepending the file name with the relative path (../src/(filename) ) for source files for example, but we are unable to do this now.

       

      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
            laiths Laith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes