Skip to content

Unable to build cargo_without_cmake example #847

Answered by LeonMatthesKDAB
dphaldes asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mystchonky ,
thanks for taking the time to report this issue.

This was a bit of a headscracher 😅
I suspect you're using a Beta version of Qt 6.7?

As that seems to have added the overload to QDateTime (see: https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/time/qdatetime.h )
For now, if you can, try to build with Qt 6.6 or 6.5 LTS, that should resolve the issue.

We'll have to sort this out to keep compatibility with 6.7 though.
@Montel any idea how to approach this? 🤔
I think the easiest way to go about this is to introduce a qdatetime_settimezone method on the C++ side that just calls datetime.setTimeZone() as that should behave correctly with the default-argument in both 6.6 and…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by LeonMatthesKDAB
Comment options

You must be logged in to vote
1 reply
@LeonMatthesKDAB
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants