Qt 6.11 is out! See what's new in the release
blog
error: cannot use 'throw' with exceptions disabled throw error_t (); ^
-
Hi,
I try to use zeromq with my qt project. linked like:
LIBS +=-L/usr/local/lib/ -lzmq
INCLUDEPATH +=/usr/local/includeBut it gives error :
/usr/local/include/zmq.hpp:152:13: error: cannot use 'throw' with exceptions disabled throw error_t (); ^I added to the pro file :
CONFIG-=exceptionsStill same problem.
Any idea _
-
Hi,
I try to use zeromq with my qt project. linked like:
LIBS +=-L/usr/local/lib/ -lzmq
INCLUDEPATH +=/usr/local/includeBut it gives error :
/usr/local/include/zmq.hpp:152:13: error: cannot use 'throw' with exceptions disabled throw error_t (); ^I added to the pro file :
CONFIG-=exceptionsStill same problem.
Any idea _
@RahibeMeryem said in error: cannot use 'throw' with exceptions disabled throw error_t (); ^:
CONFIG-=exceptions
Apparently it has to be
CONFIG+=exceptionsif you want to use exceptions...