summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/uiconly.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-02 12:19:27 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-04 18:21:43 (GMT)
commit6053ce22f69f58c9dc4db66dbfe62cdd8fbe2774 (patch)
tree8b1edb7c8940d5e7981a17df0fa6fdfc8cf7b875 /Tests/QtAutogen/uiconly.h
parent1fc9ecfae63447f9109475c1b1ffb6a2974458d9 (diff)
downloadCMake-6053ce22f69f58c9dc4db66dbfe62cdd8fbe2774.zip
CMake-6053ce22f69f58c9dc4db66dbfe62cdd8fbe2774.tar.gz
CMake-6053ce22f69f58c9dc4db66dbfe62cdd8fbe2774.tar.bz2
QtAutogen: Make uic work even when the source is in a subdir.
Modify the includedUis to store the path to the file which includes the ui file. Reuse that path to generate the output file from the uic process.
Diffstat (limited to 'Tests/QtAutogen/uiconly.h')
-rw-r--r--Tests/QtAutogen/uiconly.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/Tests/QtAutogen/uiconly.h b/Tests/QtAutogen/uiconly.h
deleted file mode 100644
index 9e21f82..0000000
--- a/Tests/QtAutogen/uiconly.h
+++ /dev/null
@@ -1,20 +0,0 @@
-
-#ifndef UIC_ONLY_H
-#define UIC_ONLY_H
-
-#include <QWidget>
-#include <memory>
-
-#include "ui_uiconly.h"
-
-class UicOnly : public QWidget
-{
- Q_OBJECT
-public:
- explicit UicOnly(QWidget *parent = 0);
-
-private:
- const std::auto_ptr<Ui::UicOnly> ui;
-};
-
-#endif