Use full include path to Qt headers

master
Jos van den Oever 2018-09-28 22:36:56 +02:00
parent cbf66a128c
commit baaa8f230c
8 changed files with 16 additions and 16 deletions

View File

@ -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
)?; )?;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;