Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. BoundsChecker and Qt Plugin issues in VC++ on Windows
QtWS25 Last Chance

BoundsChecker and Qt Plugin issues in VC++ on Windows

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 3.6k Views
  • 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.
  • S Offline
    S Offline
    scumpyt
    wrote on last edited by
    #1

    I have the MicroFocus BoundsChecker for VC++ installed, and it crashes every time I try to do Performance Analysis on a -QT- Qt Plugin library we have built.

    A search of the internet (see snippet below) suggests that there are configuration settings and/or CFLAGS settings I can do, but I have had no luck playing with them.

    Does anybody else have any suggestions on how I configure -QT- Qt and/or VC++ and/or BoundsChecker to play nice together for plugins??? The MicroFocus support has been AWFUL!!!

    // This is a snippet from http://qt.gitorious.org/qt/qt/blobs/4.7/mkspecs/features/qt.prf showing a possible clue...

    // This option is added for plugins when Qt is configured for Boundschecker,
    // since we want Boundschecker to not instrument the qt_plugin_query_verification_data
    // function, as we call that function without the plugin's dependent DLLs, thus
    // Boundscheckers instrumentation will fail. The function only returns a const char *,
    // so no instrumentation is really needed on that function anyways.

    QMAKE_CFLAGS += /nmignore::qt_plugin_query_verification_data
    QMAKE_CXXFLAGS += /nmignore:
    :qt_plugin_query_verification_data

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on last edited by
      #2

      Are you using qmake?
      In that case you can just try to use
      @
      CONFIG+=boundchecker
      @
      as mentioned in the file you linked. If you don't just pass "/nmignore:*:qt_plugin_query_verification_data" to the compiler.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        scumpyt
        wrote on last edited by
        #3

        No, I'm not using QMake. I am compiling/linking directly through the QT-for-VC++ Add-in, and I see no where in the options to alter the config settings.

        Surely I don't have to re-install the QT Add-in with new configuration settings!

        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