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
-
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.