[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [rust-qt-binding-generator] /: Use full include path to Qt headers
From: Jos van den Oever <null () kde ! org>
Date: 2018-09-28 21:38:53
Message-ID: E1g60TN-0001Gp-J8 () code ! kde ! org
[Download RAW message or body]
Git commit baaa8f230cf376bd5cb638116621cef7b6255d9d by Jos van den Oever.
Committed on 28/09/2018 at 20:36.
Pushed by vandenoever into branch 'master'.
Use full include path to Qt headers
M +2 -2 src/cpp.rs
M +2 -2 tests/test_functions_rust.h
M +2 -2 tests/test_list_rust.h
M +2 -2 tests/test_list_types_rust.h
M +2 -2 tests/test_object_rust.h
M +2 -2 tests/test_object_types_rust.h
M +2 -2 tests/test_objects_rust.h
M +2 -2 tests/test_tree_rust.h
https://commits.kde.org/rust-qt-binding-generator/baaa8f230cf376bd5cb638116=
621cef7b6255d9d
diff --git a/src/cpp.rs b/src/cpp.rs
index 68d4e41..01ece0d 100644
--- a/src/cpp.rs
+++ b/src/cpp.rs
@@ -1390,8 +1390,8 @@ pub fn write_header(conf: &Config) -> Result<()> {
#ifndef {0}
#define {0}
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
",
guard
)?;
diff --git a/tests/test_functions_rust.h b/tests/test_functions_rust.h
index 927910b..8f6bc4f 100644
--- a/tests/test_functions_rust.h
+++ b/tests/test_functions_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_FUNCTIONS_RUST_H
#define TEST_FUNCTIONS_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class Person;
=
diff --git a/tests/test_list_rust.h b/tests/test_list_rust.h
index 12f3711..c3bef40 100644
--- a/tests/test_list_rust.h
+++ b/tests/test_list_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_LIST_RUST_H
#define TEST_LIST_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class NoRole;
class Persons;
diff --git a/tests/test_list_types_rust.h b/tests/test_list_types_rust.h
index 7232f4b..296c880 100644
--- a/tests/test_list_types_rust.h
+++ b/tests/test_list_types_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_LIST_TYPES_RUST_H
#define TEST_LIST_TYPES_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class List;
=
diff --git a/tests/test_object_rust.h b/tests/test_object_rust.h
index 4b62d90..21e363b 100644
--- a/tests/test_object_rust.h
+++ b/tests/test_object_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_OBJECT_RUST_H
#define TEST_OBJECT_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class Person;
=
diff --git a/tests/test_object_types_rust.h b/tests/test_object_types_rust.h
index d8fa651..c692df9 100644
--- a/tests/test_object_types_rust.h
+++ b/tests/test_object_types_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_OBJECT_TYPES_RUST_H
#define TEST_OBJECT_TYPES_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class Object;
=
diff --git a/tests/test_objects_rust.h b/tests/test_objects_rust.h
index c8d6a96..018b974 100644
--- a/tests/test_objects_rust.h
+++ b/tests/test_objects_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_OBJECTS_RUST_H
#define TEST_OBJECTS_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class Group;
class InnerObject;
diff --git a/tests/test_tree_rust.h b/tests/test_tree_rust.h
index ff02484..04ecd00 100644
--- a/tests/test_tree_rust.h
+++ b/tests/test_tree_rust.h
@@ -2,8 +2,8 @@
#ifndef TEST_TREE_RUST_H
#define TEST_TREE_RUST_H
=
-#include <QObject>
-#include <QAbstractItemModel>
+#include <QtCore/QObject>
+#include <QtCore/QAbstractItemModel>
=
class Persons;
=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic