Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Bloomberg C++ API

Bloomberg C++ API

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    reezeus
    wrote on last edited by reezeus
    #1

    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

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      This is not an IDE issue, and not a Qt issue. Your compiler is telling you that g_blpapiFunctionEntries.FUNCNAME is not compatible with BLPAPI_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?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • R Offline
        R Offline
        reezeus
        wrote on last edited by
        #3

        Hi JKSH

        Thank you for clarifying the debugger message.
        I've been using MinGW so far, I haven't tried with another compiler. I will try with MSVC compiler and come back with some feedback.
        Thanks

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved