[Interest] Using QtConcurrent on Compiler Explorer
Ivan Solovev
ivan.solovev at qt.io
Fri Feb 7 11:53:55 CET 2025
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-bounces at qt-project.org> on behalf of Schimkowitsch Robert <Robert.Schimkowitsch at 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
________________________________
More information about the Interest
mailing list