QtQuickTemplates2/private/qtquicktemplates2-config_p.h: No such file or directory error while building QtQuickControls2
-
wrote on 12 Jul 2018, 16:16 last edited by Dmitriano 7 Dec 2018, 16:17
I got the following compiler error while building QtQuickControls2 v5.11.1
In file included from ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/qtquicktemplates2global_p.h:1:0, from ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickcontrol_p.h:54, from ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/qquickcontrol_p.h:1, from qquickabstractbutton_p.h:51, from qquickabstractbutton.cpp:37: ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qtquicktemplates2global_p.h:53:66: fatal error: QtQuickTemplates2/private/qtquicktemplates2-config_p.h: No such file or directory #include <QtQuickTemplates2/private/qtquicktemplates2-config_p.h>
to fix this I replaced
#include <QtQuickTemplates2/private/qtquicktemplates2-config_p.h>
with
#include <qtquicktemplates2-config_p.h>
in file qtquickcontrols2\src\quicktemplates2\qtquicktemplates2global_p.h and after I got compiler error again, I copied original unchanged qtquickcontrols2\src\quicktemplates2\qtquicktemplates2-config_p.h to qtquickcontrols2\include\QtQuickTemplates2\5.11.1\QtQuickTemplates2\private\qtquicktemplates2-config_p.h and after that I build QtQuickControls2 successfully.
so I have an impression that either the file in a wrong place or include path is incorrect.
-
Hi,
How are you compiling that module ?
Whith which compiler ? -
wrote on 13 Jul 2018, 04:30 last edited by
@SGaist Probably it was my fault, because today I recompiled QT for Android successfully, the only fix I did was to copy
qvulkanfunctions.h qvulkanfunctions_p.cpp qvulkanfunctions_p.h
from the master branch, where the BUG is fixed.
1/3