mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 00:33:02 +03:00
Update:
- Adding an ifdef condition to discard Q_DECLARE_METATYPE(QLocale::Language) from compilation on Qt6
This commit is contained in:
parent
e34023931f
commit
c622a5a009
@ -8,18 +8,20 @@ namespace Ui {
|
|||||||
class LanguageSelectDialog;
|
class LanguageSelectDialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
class LanguageSelectDialog : public QDialog
|
class LanguageSelectDialog : public QDialog {
|
||||||
{
|
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit LanguageSelectDialog(QWidget *parent = 0);
|
explicit LanguageSelectDialog(QWidget *parent = 0);
|
||||||
~LanguageSelectDialog();
|
~LanguageSelectDialog();
|
||||||
QLocale::Language getSelectedLanguage();
|
QLocale::Language getSelectedLanguage();
|
||||||
private:
|
|
||||||
|
private:
|
||||||
Ui::LanguageSelectDialog *ui;
|
Ui::LanguageSelectDialog *ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
Q_DECLARE_METATYPE(QLocale::Language)
|
Q_DECLARE_METATYPE(QLocale::Language)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // LANGUAGESELECTDIALOG_H
|
#endif // LANGUAGESELECTDIALOG_H
|
||||||
|
Loading…
Reference in New Issue
Block a user