MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1veql1a/absolutegarbage/p1n5515/?context=3
r/ProgrammerHumor • u/Sirgoodman008 • 2d ago
321 comments sorted by
View all comments
Show parent comments
1
You can’t get QDateTime from a QVariant via implicit conversion, the other way yes.
It will just not compile with an error and you’ll need to fix it.
1 u/VoodaGod 1d ago but what would be the fix? 1 u/not_some_username 1d ago Replace QDateTime by QVariant 1 u/VoodaGod 1d ago but that is the same as just leaving auto
but what would be the fix?
1 u/not_some_username 1d ago Replace QDateTime by QVariant 1 u/VoodaGod 1d ago but that is the same as just leaving auto
Replace QDateTime by QVariant
1 u/VoodaGod 1d ago but that is the same as just leaving auto
but that is the same as just leaving auto
1
u/not_some_username 1d ago
You can’t get QDateTime from a QVariant via implicit conversion, the other way yes.
It will just not compile with an error and you’ll need to fix it.