Skip to content

Problems with QT 6.10 and QTPrivate #423

@AdmiralPellaeon

Description

@AdmiralPellaeon

Hi,

I switched my project from QT 6.8 to 6.10 and i wanted to update the QXlsx project.
When running cmake to create a new project for VS2026 I got the following warning/error:

CMake Warning at D:/libraries/cpp/QT/6.10.1/msvc2022_64/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:335 (message):
This project is using headers of the GuiPrivate module and will therefore
be tied to this specific Qt module build version. Running this project
against other versions of the Qt modules may crash at any arbitrary point.
This is not a bug, but a result of using Qt internals. You have been
warned!

You can disable this warning by setting QT_NO_PRIVATE_MODULE_WARNING to ON.
Call Stack (most recent call first):
D:/libraries/cpp/QT/6.10.1/msvc2022_64/lib/cmake/Qt6GuiPrivate/Qt6GuiPrivateConfig.cmake:48 (_qt_internal_show_private_module_warning)
D:/libraries/cpp/QT/6.10.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:237 (find_package)
CMakeLists.txt:22 (find_package)

Seems there is a change in the QPrivate section. Is there a plan to upgrade QXlsx to QT 6.10? If so, when?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions