CMake/Tests/QtAutogen/uiconly.h
Stephen Kelly f7ae1d8ad6 QtAutogen: Short-circut some logic when moc is not available.
This is the case when AUTOMOC is false.  This prevents creating rules
to moc the files in the absense of moc.
2014-01-28 21:04:40 +01:00

21 lines
256 B
C++

#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