Hi Robert, simply including <QtConcurrent> does not work, indeed. But I managed to make it work by including specific headers, i.e. <QtConcurrent/qtconcurrentrun.h>:
https://godbolt.org/z/WWe8r1xGW Hope this helps! ---- Ivan ________________________________________ From: Interest <interest-boun...@qt-project.org> on behalf of Schimkowitsch Robert <robert.schimkowit...@andritz.com> Sent: Friday, February 7, 2025 11:14 AM To: Qt Interest Subject: [Interest] Using QtConcurrent on Compiler Explorer Can anyone give me a hint on how to bring a Qt code example using QtConcurrent to compiler explorer? I seem to lack a way to configure which Qt modules are available. I even tried to import a little cmake project that specifies the Qt modules, but they seem to be ignored. Kind regards Robert ________________________________ This message and any attachments are solely for the use of the intended recipients. They may contain privileged and/or confidential information or other information protected from disclosure. If you are not an intended recipient, you are hereby notified that you received this email in error and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system. ANDRITZ HYDRO GmbH Rechtsform/ Legal form: Gesellschaft mit beschränkter Haftung / Corporation Firmensitz/ Registered seat: Wien Firmenbuchgericht/ Court of registry: Handelsgericht Wien Firmenbuchnummer/ Company registration: FN 61833 g DVR: 0605077 UID-Nr.: ATU14756806 Thank You ________________________________ _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest