Bloomberg C++ API
-
Hello
I'm struggling for two days to make the Bloomberg C++ API working in my Qt application, but I literally have not found anything. I use Qt creator and Bloomberg does not provide support for this IDE (although I'm not sure it is a Qt issue).
I have downloaded all the header files and include them in my project.
I have then followed the example provided alongside the source code.When compiling I get tones of error, all of them in the source code of the API (not in my code) but mainly one relative to a ternary operand:
http://img11.hostingpics.net/pics/999198blpapiBug.png
And here is the debugger message:
http://img11.hostingpics.net/pics/175054blpapiBug2.png
Could you help me please?
Thanks
-
Hi,
This is not an IDE issue, and not a Qt issue. Your compiler is telling you that
g_blpapiFunctionEntries.FUNCNAME
is not compatible withBLPAPI_UNSUPPORTED_CALL(FUNCNAME)
. See http://stackoverflow.com/questions/9661952/why-in-conditional-operator-second-and-third-operands-must-have-the-same-t for more info.Does Bloomberg support your compiler?