mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 21:28:40 -06:00
Autogen: Extend AUTOUIC search paths test
This commit is contained in:
24
Tests/QtAutogen/uicInclude/PageC2.ui
Normal file
24
Tests/QtAutogen/uicInclude/PageC2.ui
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>PageC2</class>
|
||||
<widget class="QWidget" name="PageC2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QTreeView" name="treeView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
24
Tests/QtAutogen/uicInclude/dirB/PageB2.ui
Normal file
24
Tests/QtAutogen/uicInclude/dirB/PageB2.ui
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>PageB2</class>
|
||||
<widget class="QWidget" name="PageB2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QTreeView" name="treeView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
24
Tests/QtAutogen/uicInclude/dirB/subB/PageBsub.ui
Normal file
24
Tests/QtAutogen/uicInclude/dirB/subB/PageBsub.ui
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>PageBsub</class>
|
||||
<widget class="QWidget" name="PageBsub">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QTreeView" name="treeView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
@@ -6,5 +6,13 @@ int main(int argv, char** args)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#include "sub/ui_PageB.h"
|
||||
// .ui files in CMAKE_AUTOUIC_SEARCH_PATHS
|
||||
#include "ui_PageA.h"
|
||||
// .ui files in AUTOUIC_SEARCH_PATHS
|
||||
#include "sub/gen/deep/ui_PageB2.h"
|
||||
#include "subB/ui_PageBsub.h"
|
||||
#include "ui_PageB.h"
|
||||
// .ui files in source's vicinity
|
||||
#include "sub/gen/deep/ui_PageC2.h"
|
||||
#include "subC/ui_PageCsub.h"
|
||||
#include "ui_PageC.h"
|
||||
|
||||
24
Tests/QtAutogen/uicInclude/subC/PageCsub.ui
Normal file
24
Tests/QtAutogen/uicInclude/subC/PageCsub.ui
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>PageCsub</class>
|
||||
<widget class="QWidget" name="PageCsub">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>400</width>
|
||||
<height>300</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QTreeView" name="treeView"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
||||
Reference in New Issue
Block a user