Use full include path to Qt headers
parent
cbf66a128c
commit
baaa8f230c
|
@ -1390,8 +1390,8 @@ pub fn write_header(conf: &Config) -> Result<()> {
|
||||||
#ifndef {0}
|
#ifndef {0}
|
||||||
#define {0}
|
#define {0}
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
",
|
",
|
||||||
guard
|
guard
|
||||||
)?;
|
)?;
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_FUNCTIONS_RUST_H
|
#ifndef TEST_FUNCTIONS_RUST_H
|
||||||
#define TEST_FUNCTIONS_RUST_H
|
#define TEST_FUNCTIONS_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class Person;
|
class Person;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_LIST_RUST_H
|
#ifndef TEST_LIST_RUST_H
|
||||||
#define TEST_LIST_RUST_H
|
#define TEST_LIST_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class NoRole;
|
class NoRole;
|
||||||
class Persons;
|
class Persons;
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_LIST_TYPES_RUST_H
|
#ifndef TEST_LIST_TYPES_RUST_H
|
||||||
#define TEST_LIST_TYPES_RUST_H
|
#define TEST_LIST_TYPES_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class List;
|
class List;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_OBJECT_RUST_H
|
#ifndef TEST_OBJECT_RUST_H
|
||||||
#define TEST_OBJECT_RUST_H
|
#define TEST_OBJECT_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class Person;
|
class Person;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_OBJECT_TYPES_RUST_H
|
#ifndef TEST_OBJECT_TYPES_RUST_H
|
||||||
#define TEST_OBJECT_TYPES_RUST_H
|
#define TEST_OBJECT_TYPES_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class Object;
|
class Object;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_OBJECTS_RUST_H
|
#ifndef TEST_OBJECTS_RUST_H
|
||||||
#define TEST_OBJECTS_RUST_H
|
#define TEST_OBJECTS_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class Group;
|
class Group;
|
||||||
class InnerObject;
|
class InnerObject;
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
#ifndef TEST_TREE_RUST_H
|
#ifndef TEST_TREE_RUST_H
|
||||||
#define TEST_TREE_RUST_H
|
#define TEST_TREE_RUST_H
|
||||||
|
|
||||||
#include <QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QAbstractItemModel>
|
#include <QtCore/QAbstractItemModel>
|
||||||
|
|
||||||
class Persons;
|
class Persons;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue