Hi,
Today I was trying 6.10 RC for Android and I was faced with compilation errors
due to missing headers. I was not having this kind of problems with 6.8 or 6.9
One is a private header, the other apparently is not. On the CMake file I have:
find_package(Qt6 REQUIRED COMPONENTS Core)
find_package(Qt6 REQUIRED COMPONENTS Gui)
find_package(Qt6 REQUIRED COMPONENTS Quick)
find_package(Qt6 REQUIRED COMPONENTS Widgets)
find_package(Qt6 REQUIRED COMPONENTS Concurrent)
include_directories(${Qt6Gui_PRIVATE_INCLUDE_DIRS})
include_directories(${Qt6Quick_PRIVATE_INCLUDE_DIRS})
#include <QtQuick/private/qquickdroparea_p.h>
Android_Qt_6_10_0_Clang_arm64_v8a-Release/common/shared/shared_autogen/mocs_compilation.cpp
In file included from
/tmp/frms/android/build/Android_Qt_6_10_0_Clang_arm64_v8a-Release/common/shared/shared_autogen/mocs_compilation.cpp:37:
In file included from
/tmp/frms/android/build/Android_Qt_6_10_0_Clang_arm64_v8a-Release/common/shared/shared_autogen/EWIEGA46WW/moc_IDropArea.cpp:9:
/Users/nsantos/workspace/frms/android/../../../../../../../../../../Users/nsantos/workspace/shared/IDropArea.h:4:10:
fatal error: 'QtQuick/private/qquickdroparea_p.h' file not found
4 | #include <QtQuick/private/qquickdroparea_p.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
#include <QtGui/qpa/qplatformwindow.h>
CMakeFiles/shared.dir/IScreenManager.cpp.o.d -o
common/shared/CMakeFiles/shared.dir/IScreenManager.cpp.o -c
/Users/nsantos/workspace/shared/IScreenManager.cpp
/Users/nsantos/workspace/shared/IScreenManager.cpp:6:10: fatal error:
'QtGui/qpa/qplatformwindow.h' file not found
6 | #include <QtGui/qpa/qplatformwindow.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Has anyone been faced with similar problems?
Thanks in advance!
Regards,
Nuno
_______________________________________________
Interest mailing list
[email protected]
https://lists.qt-project.org/listinfo/interest