Logo
Explore Help
Sign In
kolan/CMake
1
0
Fork 0
You've already forked CMake
Code Issues Pull Requests Releases Wiki Activity
CMake/Tests/QtAutoUicInterface/libwidget.h

25 lines
347 B
C
Raw Normal View History

QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. Transitively consume the property from linked dependents. Implement configuration-specific support by following the pattern set out for compile definitions and includes in cmQtAutoGenerators. Implement support for origin-tracking with CMAKE_DEBUG_TARGET_PROPERTIES. This is motivated by the needs of KDE, which provides a separate translation system based on gettext instead of the Qt linguist translation system. The Qt uic tool provides command line options for configuring the method used to translate text, and to add an include directive to the generated file to provide the method. http://thread.gmane.org/gmane.comp.kde.devel.frameworks/7930/focus=7992 Implement the interface to provide the uic options as a usage-requirement on the KI18n target, as designed for KDE.
2013-11-20 14:54:39 +01:00
#ifndef LIBWIDGET_H
#define LIBWIDGET_H
#include <QWidget>
#include <memory>
#if QT_VERSION < QT_VERSION_CHECK(5, 3, 0)
#include <klocalizedstring.h>
#endif
#include "ui_libwidget.h"
class LibWidget : public QWidget
{
Q_OBJECT
public:
explicit LibWidget(QWidget *parent = 0);
private:
const std::auto_ptr<Ui::LibWidget> ui;
};
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.4 Page: 73ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API